gnu: Remove python2-numpydoc.

* gnu/packages/python-xyz.scm (python2-numpydoc): Delete variable.
(python-numpy)[properties]: Delete field.
This commit is contained in:
Maxim Cournoyer 2022-04-29 23:41:12 -04:00
parent 30413f1180
commit d2d222ddc2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6170,25 +6170,7 @@ (define-public python-numpydoc
(home-page "https://pypi.org/project/numpydoc/")
(synopsis "Numpy's Sphinx extensions")
(description "Sphinx extension to support docstrings in Numpy format.")
(license license:bsd-2)
(properties `((python2-variant . ,(delay python2-numpydoc))))))
(define-public python2-numpydoc
(let ((base (package-with-python2
(strip-python2-variant python-numpydoc))))
(package/inherit base
;; This is the last version to support Python 2
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "numpydoc" version))
(sha256
(base32
"09x6l1a4dcvj7001bvcmcayg1nwqwhaxlwbp6kzj9qrk57lqx3z0"))))
(propagated-inputs
`(("python2-jinja2" ,python2-jinja2)
,@(package-propagated-inputs base))))))
(license license:bsd-2)))
(define-public python-numexpr
(package