mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 18:38:57 -05:00
gnu: Remove python2-importlib-metadata.
* gnu/packages/python-xyz.scm (python2-importlib-metadata): Delete variable. (python2-importlib-metadata-bootstrap): Likewise.
This commit is contained in:
parent
677ed53453
commit
46933e2b7e
1 changed files with 0 additions and 44 deletions
|
@ -8012,52 +8012,8 @@ (define-public python-importlib-metadata
|
||||||
@code{pkg_resources} entry point API and metadata API. Along with
|
@code{pkg_resources} entry point API and metadata API. Along with
|
||||||
@code{importlib.resources} in Python 3.7 and newer, this can eliminate the
|
@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.")
|
need to use the older and less efficient @code{pkg_resources} package.")
|
||||||
(properties `((python2-variant . ,(delay python2-importlib-metadata))))
|
|
||||||
(license license:asl2.0)))
|
(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
|
(define-public python-importmagic
|
||||||
(package
|
(package
|
||||||
(name "python-importmagic")
|
(name "python-importmagic")
|
||||||
|
|
Loading…
Reference in a new issue