mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: python-pypa-build: Update to 0.7.0.
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.7.0. [phases]{relax-requirements}: Rename to... {use-toml-instead-of-tomli}: ... this. Replace tomli by toml.
This commit is contained in:
parent
05e3638bb9
commit
b734ce06e1
1 changed files with 8 additions and 8 deletions
|
@ -250,26 +250,26 @@ (define-public python2-packaging-bootstrap
|
||||||
(define-public python-pypa-build
|
(define-public python-pypa-build
|
||||||
(package
|
(package
|
||||||
(name "python-pypa-build")
|
(name "python-pypa-build")
|
||||||
(version "0.1.0")
|
(version "0.7.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "build" version))
|
(uri (pypi-uri "build" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
|
"17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;to tests in the PyPI release
|
`(#:tests? #f ;to tests in the PyPI release
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'relax-requirements
|
(add-after 'unpack 'use-toml-instead-of-tomli
|
||||||
|
;; Using toml instead of tomli eases bootstrapping.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.cfg"
|
(substitute* "setup.cfg"
|
||||||
;; Drop the requirement on python-packaging, which is
|
(("tomli>=.*")
|
||||||
;; not required.
|
"toml\n")))))))
|
||||||
((".*packaging.*")
|
|
||||||
"")))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pep517", python-pep517-bootstrap)
|
`(("python-packaging" ,python-packaging-bootstrap)
|
||||||
|
("python-pep517", python-pep517-bootstrap)
|
||||||
("python-toml" ,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")
|
||||||
|
|
Loading…
Reference in a new issue