[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58587] [PATCH 01/14] gnu: python-setuptools: Move to python-build.
From: |
Marius Bakke |
Subject: |
[bug#58587] [PATCH 01/14] gnu: python-setuptools: Move to python-build. |
Date: |
Thu, 27 Oct 2022 16:08:12 +0200 |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skriver:
>> +(define-public python-setuptools
>> + (package
>> + (name "python-setuptools")
>> + (version "64.0.3")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (pypi-uri "setuptools" version))
>> + (sha256
>> + (base32
>> + "1sllqf0bhsl2yilf1w0xnlz0r4yaksmwaj0ap91zdc6kgbigdjiv"))
>> + (modules '((guix build utils)))
>> + (snippet
>> + ;; Remove included binaries which are used to build self-extracting
>> + ;; installers for Windows.
>> + ;; TODO: Find some way to build them ourself so we can include them.
>
> I don't think we need a TODO to fix installers for Windows.
I concur.
>> + '(for-each delete-file (find-files "setuptools"
>> + "^(cli|gui).*\\.exe$")))))
>> + (build-system python-build-system)
>> + ;; FIXME: Tests require pytest, which itself relies on setuptools.
>> + ;; One could bootstrap with an internal untested setuptools.
>> + (arguments (list #:tests? #f))
>> + (home-page "https://pypi.org/project/setuptools/")
>> + (synopsis "Library designed to facilitate packaging Python projects")
>> + (description "Setuptools is a fully-featured, stable library designed to
>> +facilitate packaging Python projects, where packaging includes:
>> +@itemize
>> +@item Python package and module definitions
>> +@item distribution package metadata
>> +@item test hooks
>> +@item project installation
>> +@item platform-specific details.
>> +@end itemize")
>> + ;; TODO: setuptools now bundles the following libraries:
>> + ;; packaging, pyparsing, six and appdirs. How to unbundle?
>
> A better place for this TODO would be next to the snippet in the origin,
> perhaps?
The comments were taken verbatim from the current package definition.
I'll submit a follow-up commit with these changes.
signature.asc
Description: PGP signature
- [bug#58587] [PATCH 05/14] gnu: python-autopage: Use pyproject-build-system., (continued)
- [bug#58587] [PATCH 05/14] gnu: python-autopage: Use pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 06/14] gnu: flair: Switch to pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 12/14] gnu: python-mypy-protobuf: Switch to pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 08/14] gnu: weasyprint: Use pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 10/14] gnu: python-statmake: Use pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 13/14] gnu: python-tempora: Switch to pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 09/14] gnu: python-glyphslib: Use pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 11/14] gnu: python-ufolib2: Use pyproject-build-system., Marius Bakke, 2022/10/17
- [bug#58587] [PATCH 01/14] gnu: python-setuptools: Move to python-build., Maxim Cournoyer, 2022/10/27
[bug#58587] [PATCH 00/14] Introducing pyproject-build-system., zimoun, 2022/10/18
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., Marius Bakke, 2022/10/18
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., zimoun, 2022/10/19
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., Marius Bakke, 2022/10/19
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., Marius Bakke, 2022/10/19
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., zimoun, 2022/10/20
- [bug#58587] [PATCH 00/14] Introducing pyproject-build-system., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v2 01/22] gnu: python-setuptools: Move to python-build., Marius Bakke, 2022/10/22
- [bug#58587] [PATCH v2 02/22] gnu: pypy: Move to separate module., Marius Bakke, 2022/10/22