guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 64a95b6555a1994a3c5280630006506e06c58fbe
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jul 11 22:48:25 2025 +0100
gnu: python-pypa-build: Update to 0.9.0
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.9.0.
[build-system]: Use pyproject.
[arguments] <phases>: Remove 'use-toml-instead-of-tomli.
[native-inputs]: Add python-setuptools.
Change-Id: Id1f9fea2b4d933fdf5ade8d8d5888345a1ae7b40
---
gnu/packages/python-build.scm | 35 +++++++++++++++--------------------
1 file changed, 15 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 447138f7bd..49b3da0db5 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -500,27 +500,22 @@ information.")
(define-public python-pypa-build
(package
(name "python-pypa-build")
- (version "0.7.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "build" version))
- (sha256
- (base32
- "17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ;to tests in the PyPI release
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'use-toml-instead-of-tomli
- ;; Using toml instead of tomli eases bootstrapping.
- (lambda _
- (substitute* "setup.cfg"
- (("tomli>=.*")
- "toml\n")))))))
+ ;; Newer version needs more inputs, consider to move to python-xyz.
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "build" version))
+ (sha256
+ (base32 "0g5w28ban6k9qywqwdqiqms3crg75rsvfphl4f4qkg8wi57741qs"))))
+ (build-system pyproject-build-system)
+ (arguments `(#:tests? #f)) ;disabled to avoid extra dependencies
+ (native-inputs
+ (list python-setuptools))
(propagated-inputs
- `(("python-packaging" ,python-packaging-bootstrap)
- ("python-pep517", python-pep517-bootstrap)
- ("python-toml" ,python-toml)))
+ (list python-packaging-bootstrap
+ python-pep517-bootstrap
+ python-toml))
(home-page "https://pypa-build.readthedocs.io/en/latest/")
(synopsis "Simple Python PEP 517 package builder")
(description "The @command{build} command invokes the PEP 517 hooks to