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.
This commit is contained in:
Maxim Cournoyer 2022-04-21 16:10:00 -04:00
parent a7e5a116fd
commit bb7b6ac13e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -60,14 +60,14 @@
(define-public python-sphinx (define-public python-sphinx
(package (package
(name "python-sphinx") (name "python-sphinx")
(version "4.2.0") (version "4.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Sphinx" version)) (uri (pypi-uri "Sphinx" version))
(sha256 (sha256
(base32 (base32
"19jq21py7m061v8142y2dbqrbv0adqcdjmharrdy34a432wqs1wl")))) "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -80,12 +80,14 @@
(substitute* "tests/test_build_latex.py" (substitute* "tests/test_build_latex.py"
(("@pytest.mark.sphinx\\('latex', testroot='images'\\)") (("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
"@pytest.mark.skip()")) "@pytest.mark.skip()"))
(setenv "HOME" "/tmp") ;for test_cython
(invoke "make" "test"))))))) (invoke "make" "test")))))))
(propagated-inputs (propagated-inputs
(list python-babel (list python-babel
python-docutils python-docutils
python-jinja2 python-jinja2
python-imagesize python-imagesize
python-importlib-metadata
python-packaging python-packaging
python-pygments python-pygments
python-requests python-requests
@ -134,6 +136,7 @@
texlive-xcolor)) texlive-xcolor))
(native-inputs (native-inputs
(list imagemagick ;for "convert" (list imagemagick ;for "convert"
python-cython
python-html5lib python-html5lib
python-pytest)) python-pytest))
(home-page "https://www.sphinx-doc.org") (home-page "https://www.sphinx-doc.org")