gnu: Remove python2-pluggy.

* gnu/packages/python-xyz.scm (python2-pluggy): Delete variable.
(python2-pluggy-bootstrap): Likewise.
(python-pluggy)[properties]: Delete field.
This commit is contained in:
Maxim Cournoyer 2022-04-30 00:11:11 -04:00
parent 4e7d6a2dbe
commit cdbfe93f16
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -14565,31 +14565,8 @@ library as well as on the command line.")
(description "Pluggy is an extraction of the plugin manager as used by (description "Pluggy is an extraction of the plugin manager as used by
Pytest but stripped of Pytest specific details.") Pytest but stripped of Pytest specific details.")
(home-page "https://pypi.org/project/pluggy/") (home-page "https://pypi.org/project/pluggy/")
(properties `((python2-variant . ,(delay python2-pluggy))))
(license license:expat))) (license license:expat)))
(define-public python2-pluggy
(let ((base (package-with-python2 (strip-python2-variant
python-pluggy))))
(package/inherit
base
(propagated-inputs
`(("python-importlib-metadata" ,python2-importlib-metadata))))))
;; This package requires python2-importlib-metadata, but that package
;; ends up needing python2-pluggy via python2-pytest, so we need this
;; variant to solve the circular dependency.
(define-public python2-pluggy-bootstrap
(hidden-package
(package/inherit
python2-pluggy
(name "python2-pluggy-bootstrap")
(arguments
`(#:tests? #f
,@(package-arguments python2-pluggy)))
(propagated-inputs
`(("python-importlib-metadata" ,python2-importlib-metadata-bootstrap))))))
(define-public python-plumbum (define-public python-plumbum
(package (package
(name "python-plumbum") (name "python-plumbum")