diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-22 10:09:29 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-22 10:23:02 +0100 |
commit | 97176b4d9c4a44bd36daff1f387d87cc26a1d9dc (patch) | |
tree | b662b21449ff2203565c1337b820eae988418f9f /gnu/packages/sphinx.scm | |
parent | 43c11056d2b09829a3b5080c125651a184858c57 (diff) | |
download | guix-97176b4d9c4a44bd36daff1f387d87cc26a1d9dc.tar guix-97176b4d9c4a44bd36daff1f387d87cc26a1d9dc.tar.gz |
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.
Diffstat (limited to 'gnu/packages/sphinx.scm')
-rw-r--r-- | gnu/packages/sphinx.scm | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 6ee0325628..dfbc3194ea 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -805,39 +805,24 @@ translate and to apply translation to Sphinx generated document.") (define-public python-sphinx-autobuild (package (name "python-sphinx-autobuild") - (version "0.7.1") + (version "2021.3.14") (source (origin (method url-fetch) (uri (pypi-uri "sphinx-autobuild" version)) (sha256 (base32 - "0kn753dyh3b1s0h77lbk704niyqc7bamvq6v3s1f6rj6i20qyf36")))) + "019z8kvnaw11r41b6pfdy9iz4iwyr0s51hs0a5djn797dsva676y")))) (build-system python-build-system) (arguments - `(#:phases + '(#:phases (modify-phases %standard-phases - ;; See https://github.com/GaretJax/sphinx-autobuild/pull/72 - (add-after 'unpack 'use-later-port-for - (lambda _ - (substitute* "requirements.txt" - (("port_for==.*") "port_for\n")) - #t)) - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v")) - #t))))) + (invoke "pytest" "-vv"))))))) (propagated-inputs - (list python-argh - python-livereload - python-pathtools - python-port-for - python-pyyaml - python-tornado - python-watchdog)) + (list python-colorama python-livereload python-sphinx)) (native-inputs (list python-pytest)) (home-page "https://github.com/GaretJax/sphinx-autobuild") |