gnu: python-sphinx-autobuild: Update to 2021.3.14.
* gnu/packages/sphinx.scm (python-sphinx-autobuild): Update to 2021.3.14. [arguments]: Remove obsolete phase. Simplify check override. [propagated-inputs]: Remove PYTHON-ARGH, PYTHON-PATHTOOLS, PYTHON-PORT-FOR, PYTHON-PYYAML, PYTHON-TORNADO and PYTHON-WATCHDOG. Add PYTHON-COLORAMA and PYTHON-SPHINX.
parent
43c11056d2
commit
97176b4d9c
|
@ -805,39 +805,24 @@ translate and to apply translation to Sphinx generated document.")
|
||||||
(define-public python-sphinx-autobuild
|
(define-public python-sphinx-autobuild
|
||||||
(package
|
(package
|
||||||
(name "python-sphinx-autobuild")
|
(name "python-sphinx-autobuild")
|
||||||
(version "0.7.1")
|
(version "2021.3.14")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "sphinx-autobuild" version))
|
(uri (pypi-uri "sphinx-autobuild" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kn753dyh3b1s0h77lbk704niyqc7bamvq6v3s1f6rj6i20qyf36"))))
|
"019z8kvnaw11r41b6pfdy9iz4iwyr0s51hs0a5djn797dsva676y"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; See https://github.com/GaretJax/sphinx-autobuild/pull/72
|
(replace 'check
|
||||||
(add-after 'unpack 'use-later-port-for
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(lambda _
|
|
||||||
(substitute* "requirements.txt"
|
|
||||||
(("port_for==.*") "port_for\n"))
|
|
||||||
#t))
|
|
||||||
(delete 'check)
|
|
||||||
(add-after 'install 'check
|
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
(invoke "pytest" "-vv")))))))
|
||||||
(invoke "pytest" "-v"))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-argh
|
(list python-colorama python-livereload python-sphinx))
|
||||||
python-livereload
|
|
||||||
python-pathtools
|
|
||||||
python-port-for
|
|
||||||
python-pyyaml
|
|
||||||
python-tornado
|
|
||||||
python-watchdog))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest))
|
||||||
(home-page "https://github.com/GaretJax/sphinx-autobuild")
|
(home-page "https://github.com/GaretJax/sphinx-autobuild")
|
||||||
|
|
Reference in New Issue