guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/28: gnu: python-sphinx-autobuild: Update to 2021.3.14.


From: guix-commits
Subject: 28/28: gnu: python-sphinx-autobuild: Update to 2021.3.14.
Date: Sat, 22 Jan 2022 04:23:50 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 97176b4d9c4a44bd36daff1f387d87cc26a1d9dc
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jan 22 10:09:29 2022 +0100

    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.
---
 gnu/packages/sphinx.scm | 29 +++++++----------------------
 1 file 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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]