mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 14:26:13 +01:00
gnu: python2-importlib-resources: Drop 'wheel' dependency.
* gnu/packages/python-xyz.scm (python2-importlib-resources)[native-inputs]: Remove. [arguments]: Add #:phases.
This commit is contained in:
parent
94fa51e17d
commit
5e7202bbdf
1 changed files with 11 additions and 3 deletions
|
@ -4983,9 +4983,17 @@ older Python versions.")
|
||||||
"0y3hg12iby1qyaspnbisz4s4vxax7syikk3skznwqizqyv89y9yk"))))
|
"0y3hg12iby1qyaspnbisz4s4vxax7syikk3skznwqizqyv89y9yk"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2))
|
`(#:python ,python-2
|
||||||
(native-inputs
|
#:phases (modify-phases %standard-phases
|
||||||
`(("python-wheel" ,python2-wheel)))
|
;; The build system tests for python-wheel, but it is
|
||||||
|
;; not required for Guix nor the test suite. Just drop
|
||||||
|
;; it to make bootstrapping pytest easier.
|
||||||
|
(add-after 'unpack 'drop-wheel-dependency
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
(("^[[:blank:]]+wheel")
|
||||||
|
""))
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pathlib2" ,python2-pathlib2)
|
`(("python-pathlib2" ,python2-pathlib2)
|
||||||
("python-typing" ,python2-typing)))
|
("python-typing" ,python2-typing)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue