summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-25 23:54:41 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-02 21:13:19 +0100
commit0ea6bda82f2002d86a7d3ff63cc9bc3198d60840 (patch)
tree8e4db6c729d46664a8ab21d31647b1dbdcc4b925
parent580d1f52e580c87b80c4ebd45808b3ff88558199 (diff)
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>
-rw-r--r--gnu/packages/python-check.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c40255c612c..03542a5f8dc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -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")