diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-01 02:53:43 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-31 14:53:52 -0400 |
commit | 46933e2b7e222f12313237e2601054036f7c8641 (patch) | |
tree | 21ef5d8adeb16d9104081b5bb1028f850397af62 /gnu/packages/python-xyz.scm | |
parent | 677ed5345309e64b5f7c3425b67cc8cd97dabc87 (diff) | |
download | guix-46933e2b7e222f12313237e2601054036f7c8641.tar.gz guix-46933e2b7e222f12313237e2601054036f7c8641.zip |
gnu: Remove python2-importlib-metadata.
* gnu/packages/python-xyz.scm (python2-importlib-metadata): Delete variable.
(python2-importlib-metadata-bootstrap): Likewise.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 875ef1753c..577f6d3ce2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8012,52 +8012,8 @@ its top-level name. This functionality intends to replace most uses of @code{pkg_resources} entry point API and metadata API. Along with @code{importlib.resources} in Python 3.7 and newer, this can eliminate the need to use the older and less efficient @code{pkg_resources} package.") - (properties `((python2-variant . ,(delay python2-importlib-metadata)))) (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") - (version "1.5.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "importlib_metadata" version)) - (sha256 - (base32 - "00ikdj4gjhankdljnz7g5ggak4k9lql2926x0x117ir9j2lv7x86")))) - (arguments (substitute-keyword-arguments (package-arguments base) - ((#:phases phases) ;reset standard phases - #~%standard-phases))) - (native-inputs - `(("python-setuptools-scm" ,python2-setuptools-scm) - ("python-pyfakefs" ,python2-pyfakefs-bootstrap) - ("python-packaging" ,python2-packaging-bootstrap))) - (propagated-inputs - `(("python-configparser" ,python2-configparser) - ("python-contextlib2" ,python2-contextlib2) - ("python-importlib-resources" ,python2-importlib-resources) - ("python-pathlib2" ,python2-pathlib2) - ,@(package-propagated-inputs base)))))) - -;; This package is used by python2-pytest, and thus must not depend on it. -(define-public python2-importlib-metadata-bootstrap - (hidden-package - (package/inherit - python2-importlib-metadata - (name "python2-importlib-metadata-bootstrap") - (arguments - `(#:tests? #f - ,@(package-arguments python2-importlib-metadata))) - (propagated-inputs - `(("python-zipp" ,python2-zipp-bootstrap) - ("python-pathlib2" ,python2-pathlib2-bootstrap) - ("python-configparser" ,python2-configparser) - ("python-contextlib2" ,python2-contextlib2-bootstrap) - ("python-importlib-resources" ,python2-importlib-resources-bootstrap)))))) - (define-public python-importmagic (package (name "python-importmagic") |