mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
a222df7fe7
commit
e166764a73
1 changed files with 15 additions and 20 deletions
|
@ -500,27 +500,22 @@ information.")
|
|||
(define-public python-pypa-build
|
||||
(package
|
||||
(name "python-pypa-build")
|
||||
(version "0.7.0")
|
||||
(source (origin
|
||||
;; 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
|
||||
"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")))))))
|
||||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue