gnu: python2-importlib-metadata: Fix circular dependency.

Commit 0684a2f907 introduced a circular
dependency in the Python 2 variant of python-importlib-metadata.

* gnu/packages/python-xyz.scm (python-importlib-metadata)[native-inputs]:
Remove PYTHON-SIX and PYTHON-PACKAGING-BOOTSTRAP.  Add PYTHON-PACKAGING.
(python2-importlib-metadata)[native-inputs]: New field.
This commit is contained in:
Marius Bakke 2020-02-03 11:45:00 +01:00
parent 0684a2f907
commit 5d8c7f2f59
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -5029,8 +5029,7 @@ (define-public python-importlib-metadata
`(("python-zipp" ,python-zipp)))
(native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm)
("python-six" ,python-six)
("python-packaging" ,python-packaging-bootstrap)))
("python-packaging" ,python-packaging)))
(home-page "https://importlib-metadata.readthedocs.io/")
(synopsis "Read metadata from Python packages")
(description
@ -5049,6 +5048,9 @@ (define-public python2-importlib-metadata
(package/inherit
base
(name "python2-importlib-metadata")
(native-inputs
`(("python-packaging" ,python2-packaging-bootstrap)
,@(alist-delete "python-packaging" (package-native-inputs base))))
(propagated-inputs
`(("python-configparser" ,python2-configparser)
("python-contextlib2" ,python2-contextlib2)