guix_mirror_bot pushed a commit to branch master
in repository guix.

commit bac66f39f92094686a1cb2777ee32cdbc123e210
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Oct 8 23:13:27 2025 +0200

    gnu: python-restructuredtext-lint: Update to 1.4.0.
    
    * gnu/packages/python-xyz.scm (python-restructuredtext-lint): Update to 
1.4.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Replace <#:phases> by <#:test-backend>.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: I689c555213e02b5732b0d17b9401ac26aa5a3f35
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++----------------------
 1 file changed, 13 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2d0c3b1ad8..cb842a79a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9120,33 +9120,24 @@ decorator for retrying on exceptions.")
 (define-public python-restructuredtext-lint
   (package
     (name "python-restructuredtext-lint")
-    (version "1.3.0")
+    (version "1.4.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "restructuredtext-lint" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/twolfson/restructuredtext-lint";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "026rdy5h82ng4vqxk8fnprii9d6qxf7hkygiv0a8afjvdlsxmcwp"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'check)
-         (add-after 'install 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "nosetests" "-v"))
-             #t)))))
-    (propagated-inputs
-     (list python-docutils))
-    (native-inputs
-     (list python-nose))
+        (base32 "19ncbmnq2rnkqxhc9wf0q9whji34iyfv1pz6z61vnv4qhhdrn33v"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:test-backend #~'nose))
+    (propagated-inputs (list python-docutils))
+    (native-inputs (list python-nose python-setuptools))
     (home-page "https://github.com/twolfson/restructuredtext-lint";)
     (synopsis "Linter")
-    (description "This package provides a linter for the reStructuredText
-format.")
+    (description
+     "This package provides a linter for the reStructuredText format.")
     (license license:unlicense)))
 
 (define-public python-click-repl

Reply via email to