summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-08 23:13:27 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-09 11:34:28 +0100
commitbac66f39f92094686a1cb2777ee32cdbc123e210 (patch)
treec420427148b459372da8b7b36e08838a150ab15f /gnu/packages/python-xyz.scm
parentbec863a902e2f5026d916a79a2beeddadce2ffe1 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm35
1 files 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