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
|
(define-public python-pypa-build
|
||||||
(package
|
(package
|
||||||
(name "python-pypa-build")
|
(name "python-pypa-build")
|
||||||
(version "0.7.0")
|
;; Newer version needs more inputs, consider to move to python-xyz.
|
||||||
(source (origin
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "build" version))
|
(uri (pypi-uri "build" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0g5w28ban6k9qywqwdqiqms3crg75rsvfphl4f4qkg8wi57741qs"))))
|
||||||
"17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(arguments `(#:tests? #f)) ;disabled to avoid extra dependencies
|
||||||
(arguments
|
(native-inputs
|
||||||
`(#:tests? #f ;to tests in the PyPI release
|
(list python-setuptools))
|
||||||
#: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")))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-packaging" ,python-packaging-bootstrap)
|
(list python-packaging-bootstrap
|
||||||
("python-pep517", python-pep517-bootstrap)
|
python-pep517-bootstrap
|
||||||
("python-toml" ,python-toml)))
|
python-toml))
|
||||||
(home-page "https://pypa-build.readthedocs.io/en/latest/")
|
(home-page "https://pypa-build.readthedocs.io/en/latest/")
|
||||||
(synopsis "Simple Python PEP 517 package builder")
|
(synopsis "Simple Python PEP 517 package builder")
|
||||||
(description "The @command{build} command invokes the PEP 517 hooks to
|
(description "The @command{build} command invokes the PEP 517 hooks to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue