gnu: python2-numpydoc: Add missing input.

* gnu/packages/python-xyz.scm (python2-numpydoc)[propagated-inputs]: Add
python2-jinja2.
(python-numpydoc)[properties]: Record python2-variant.
This commit is contained in:
Ricardo Wurmus 2021-02-05 23:29:45 +01:00
parent 8cc13fcff5
commit c85f44431a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4995,10 +4995,17 @@ (define-public python-numpydoc
"Numpy's Sphinx extensions")
(description
"Sphinx extension to support docstrings in Numpy format.")
(license license:bsd-2)))
(license license:bsd-2)
(properties `((python2-variant . ,(delay python2-numpydoc))))))
(define-public python2-numpydoc
(package-with-python2 python-numpydoc))
(let ((base (package-with-python2
(strip-python2-variant python-numpydoc))))
(package
(inherit base)
(propagated-inputs
`(("python2-jinja2" ,python2-jinja2)
,@(package-propagated-inputs base))))))
(define-public python-numexpr
(package