summary refs log tree commit diff
path: root/gnu/packages/sphinx.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-21 16:10:00 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 12:46:08 -0400
commitbb7b6ac13ed5bd6d8432563839253ca651bdeef6 (patch)
treed9fa7ccec0a54b7b6aced87a7b3a4729fbc23c63 /gnu/packages/sphinx.scm
parenta7e5a116fd9088bbcac0af71546966d8352491b1 (diff)
downloadguix-bb7b6ac13ed5bd6d8432563839253ca651bdeef6.tar.gz
gnu: python-sphinx: Update to 4.5.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 4.5.0.
[phases]{check}: Set HOME to /tmp.
[propagated-inputs]: Add python-importlib-metadata.
[native-inputs]: Add python-cython.
Diffstat (limited to 'gnu/packages/sphinx.scm')
-rw-r--r--gnu/packages/sphinx.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index cb1897041b..ac8aa39420 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -60,14 +60,14 @@
 (define-public python-sphinx
   (package
     (name "python-sphinx")
-    (version "4.2.0")
+    (version "4.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Sphinx" version))
        (sha256
         (base32
-         "19jq21py7m061v8142y2dbqrbv0adqcdjmharrdy34a432wqs1wl"))))
+         "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -80,12 +80,14 @@
                (substitute* "tests/test_build_latex.py"
                  (("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
                   "@pytest.mark.skip()"))
+               (setenv "HOME" "/tmp")   ;for test_cython
                (invoke "make" "test")))))))
     (propagated-inputs
      (list python-babel
            python-docutils
            python-jinja2
            python-imagesize
+           python-importlib-metadata
            python-packaging
            python-pygments
            python-requests
@@ -134,6 +136,7 @@
            texlive-xcolor))
     (native-inputs
      (list imagemagick                  ;for "convert"
+           python-cython
            python-html5lib
            python-pytest))
     (home-page "https://www.sphinx-doc.org")