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.
This commit is contained in:
Nicolas Graves 2025-08-13 18:23:25 +02:00 committed by Sharlatan Hellseher
parent a5d400490e
commit af40cc9daa
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1970,18 +1970,21 @@ of the project to ensure it renders properly.")
(version "1.0.2") (version "1.0.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (uri (git-reference
(pypi-uri "pytest_click" version)) (url "https://github.com/Stranger6667/pytest-click")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1rcv4m850rl7djzdgzz2zhjd8g5ih8w6l0sj2f9hsynymlsq82xl")))) (base32 "197nvlqlyfrqpy5lrkmfh1ywpr6j9zipxl9d7syg2a2n7jz3a8rj"))))
(build-system python-build-system) (build-system pyproject-build-system)
(propagated-inputs (native-inputs (list python-setuptools python-wheel))
(list python-click python-pytest)) (propagated-inputs (list python-click python-pytest))
(home-page "https://github.com/Stranger6667/pytest-click") (home-page "https://github.com/Stranger6667/pytest-click")
(synopsis "Py.test plugin for Click") (synopsis "Pytest plugin for Click")
(description "This package provides a plugin to test Python click (description
interfaces with pytest.") "This package provides a plugin to test Python click interfaces with
pytest.")
(license license:expat))) (license license:expat)))
(define-public python-pytest-console-scripts (define-public python-pytest-console-scripts