summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-13 18:23:25 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 13:15:26 +0100
commitaf40cc9daa7d270d6e0324c67095fa2b0ce51ad3 (patch)
tree74330896dd1533a33392033d12a1f760ee144aee
parenta5d400490e5376829573b72c60db4e235723ec40 (diff)
gnu: python-pytest-click: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-click): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. [synopsis, description, propagated-inputs]: Improve style.
-rw-r--r--gnu/packages/python-check.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f6a255599c..f43b49163d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1970,18 +1970,21 @@ of the project to ensure it renders properly.")
(version "1.0.2")
(source
(origin
- (method url-fetch)
- (uri
- (pypi-uri "pytest_click" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Stranger6667/pytest-click")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1rcv4m850rl7djzdgzz2zhjd8g5ih8w6l0sj2f9hsynymlsq82xl"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-click python-pytest))
+ (base32 "197nvlqlyfrqpy5lrkmfh1ywpr6j9zipxl9d7syg2a2n7jz3a8rj"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-wheel))
+ (propagated-inputs (list python-click python-pytest))
(home-page "https://github.com/Stranger6667/pytest-click")
- (synopsis "Py.test plugin for Click")
- (description "This package provides a plugin to test Python click
-interfaces with pytest.")
+ (synopsis "Pytest plugin for Click")
+ (description
+ "This package provides a plugin to test Python click interfaces with
+pytest.")
(license license:expat)))
(define-public python-pytest-console-scripts