mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: python-pypa-build: Fix build.
The build was failing following the addition of the sanity-check phase to the Python buidl system. * gnu/packages/python-build.scm (python-pypa-build) [phases]{relax-requirements}: Add phase.
This commit is contained in:
parent
05e7bdf7ec
commit
4b47c60828
1 changed files with 9 additions and 1 deletions
|
@ -127,7 +127,15 @@ (define-public python-pypa-build
|
||||||
"1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
|
"1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
|
||||||
(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
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
;; Drop the requirement on python-packaging, which is
|
||||||
|
;; not required.
|
||||||
|
((".*packaging.*")
|
||||||
|
"")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pep517", python-pep517-bootstrap)
|
`(("python-pep517", python-pep517-bootstrap)
|
||||||
("python-toml" ,python-toml)))
|
("python-toml" ,python-toml)))
|
||||||
|
|
Loading…
Reference in a new issue