gnu: python-sphinx: Update to 4.2.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 4.2.0.
This commit is contained in:
parent
a768c3ecab
commit
08247055a6
1 changed files with 11 additions and 9 deletions
|
@ -17,6 +17,7 @@
|
||||||
;;; Copyright © 2021 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2021 Eric Bavier <bavier@posteo.net>
|
||||||
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
|
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
|
||||||
|
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -56,26 +57,27 @@
|
||||||
(define-public python-sphinx
|
(define-public python-sphinx
|
||||||
(package
|
(package
|
||||||
(name "python-sphinx")
|
(name "python-sphinx")
|
||||||
(version "4.0.3")
|
(version "4.2.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
|
||||||
"1f7vnk3g135b2zs9yq3kgrczxa91mhrlfw8243dpxsq8lbk5gwyz"))))
|
"19jq21py7m061v8142y2dbqrbv0adqcdjmharrdy34a432wqs1wl"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
;; Requires Internet access.
|
(when tests?
|
||||||
(delete-file "tests/test_build_linkcheck.py")
|
;; Requires Internet access.
|
||||||
(substitute* "tests/test_build_latex.py"
|
(delete-file "tests/test_build_linkcheck.py")
|
||||||
(("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
|
(substitute* "tests/test_build_latex.py"
|
||||||
"@pytest.mark.skip()"))
|
(("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
|
||||||
(invoke "make" "test"))))))
|
"@pytest.mark.skip()"))
|
||||||
|
(invoke "make" "test")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-babel" ,python-babel)
|
`(("python-babel" ,python-babel)
|
||||||
("python-docutils" ,python-docutils)
|
("python-docutils" ,python-docutils)
|
||||||
|
|
Reference in a new issue