gnu: python-robber: Switch to pyproject.

* gnu/packages/python-check.scm (python-robber):
[source]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I52825bbefe3d4c02681e76ce0dfcc7a490d5f11d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-25 23:54:41 +02:00 committed by Sharlatan Hellseher
parent 580d1f52e5
commit 0ea6bda82f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3546,19 +3546,20 @@ simpler.")
(package
(name "python-robber")
(version "1.1.5")
(source (origin
(method url-fetch)
(uri (pypi-uri "robber" version))
(sha256
(base32
"0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
(build-system python-build-system)
(source
(origin
(method url-fetch)
(uri (pypi-uri "robber" version))
(sha256
(base32 "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
(build-system pyproject-build-system)
;; There are no tests in the tarball downloaded from PyPI.
;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
(arguments '(#:tests? #f))
(propagated-inputs
(list python-mock python-termcolor))
(arguments
'(#:tests? #f))
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (list python-mock python-termcolor))
;; URL of the fork used to generate the package available on PyPI.
(home-page "https://github.com/EastAgile/robber.py")
(synopsis "Test-driven development (TDD) assertion library for Python")