gnu: Add python2-importlib-metadata.

* gnu/packages/python-xyz.scm (python2-importlib-metadata): New public variable.
This commit is contained in:
Marius Bakke 2020-01-15 20:14:02 +01:00
parent f15bdfebc6
commit 5efa04dd93
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -5010,6 +5010,19 @@ (define-public python-importlib-metadata
need to use the older and less efficient @code{pkg_resources} package.")
(license license:asl2.0)))
(define-public python2-importlib-metadata
(let ((base (package-with-python2 (strip-python2-variant
python-importlib-metadata))))
(package/inherit
base
(name "python2-importlib-metadata")
(propagated-inputs
`(("python-configparser" ,python2-configparser)
("python-contextlib2" ,python2-contextlib2)
("python-importlib-resources" ,python2-importlib-resources)
("python-pathlib2" ,python2-pathlib2)
,@(package-propagated-inputs base))))))
(define-public python-jaraco-packaging
(package
(name "python-jaraco-packaging")