summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-22 14:29:27 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 12:46:08 -0400
commitc2a77beb1ab43fb549cb0f8524e8a1efc7924e2b (patch)
tree61edf9ad5dc5a6ad8bcc16145caa84e75f861cdf
parentbb7b6ac13ed5bd6d8432563839253ca651bdeef6 (diff)
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
-rw-r--r--gnu/packages/sphinx.scm33
1 files changed, 19 insertions, 14 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index ac8aa39420..497b301bc8 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1077,29 +1077,34 @@ Sphinx documentation.")
(define-public python-pydata-sphinx-theme
(package
(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
(origin
(method url-fetch)
(uri (pypi-uri "pydata-sphinx-theme" version))
(sha256
(base32
- "055bh3hyh72pafiylvgpsjlk18wm15gg4azc5rjlsww5z475iq1j"))))
+ "0ph69bnnw9w8vksc7rk45q5yknsrsgk9a19xsbxym46jrmgz67b7"))))
(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
- (list python-beautifulsoup4))
- (native-inputs
(list python-beautifulsoup4
- python-docutils-0.15
- python-jupyter-sphinx
- python-numpy
- python-numpydoc
- python-pandas
- python-pytest
- python-pytest-regressions
- python-recommonmark
- python-sphinx
- python-xarray))
+ python-docutils
+ python-jinja2
+ python-sphinx))
+ (native-inputs (list python-pytest python-pytest-regressions))
(home-page "https://github.com/pydata/pydata-sphinx-theme")
(synopsis "Bootstrap-based Sphinx theme")
(description