gnu: python-pydata-sphinx-theme: Update to 0.7.2.

* gnu/packages/sphinx.scm (python-pydata-sphinx-theme): Update to 0.7.2.
Add TODO comment.
[arguments]: New field.
[native-inputs]: Delete python-jupyter-sphinx, python-numpy, python-numpydoc,
python-pandas, python-recommonmark and python-xarray.  Move python-docutils
and python-sphinx to...
[propagated-inputs]: ... here.  Add python-jinja2
This commit is contained in:
Maxim Cournoyer 2022-04-22 14:29:27 -04:00
parent bb7b6ac13e
commit c2a77beb1a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1077,29 +1077,34 @@ (define-public python-sphinx-sitemap
(define-public python-pydata-sphinx-theme (define-public python-pydata-sphinx-theme
(package (package
(name "python-pydata-sphinx-theme") (name "python-pydata-sphinx-theme")
(version "0.6.3") ;; TODO: This is not the latest release, but the 0.8.x series introduced a
;; new Sphinx theme build system that complicate things (see:
;; https://github.com/pydata/pydata-sphinx-theme/issues/628 and
;; https://src.fedoraproject.org/rpms/python-pydata-sphinx-theme
;; /blob/rawhide/f/prepare_vendor.sh).
(version "0.7.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pydata-sphinx-theme" version)) (uri (pypi-uri "pydata-sphinx-theme" version))
(sha256 (sha256
(base32 (base32
"055bh3hyh72pafiylvgpsjlk18wm15gg4azc5rjlsww5z475iq1j")))) "0ph69bnnw9w8vksc7rk45q5yknsrsgk9a19xsbxym46jrmgz67b7"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(propagated-inputs (propagated-inputs
(list python-beautifulsoup4))
(native-inputs
(list python-beautifulsoup4 (list python-beautifulsoup4
python-docutils-0.15 python-docutils
python-jupyter-sphinx python-jinja2
python-numpy python-sphinx))
python-numpydoc (native-inputs (list python-pytest python-pytest-regressions))
python-pandas
python-pytest
python-pytest-regressions
python-recommonmark
python-sphinx
python-xarray))
(home-page "https://github.com/pydata/pydata-sphinx-theme") (home-page "https://github.com/pydata/pydata-sphinx-theme")
(synopsis "Bootstrap-based Sphinx theme") (synopsis "Bootstrap-based Sphinx theme")
(description (description