From 0ea6bda82f2002d86a7d3ff63cc9bc3198d60840 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 25 Aug 2025 23:54:41 +0200 Subject: [PATCH] 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 --- gnu/packages/python-check.scm | 21 +++++++++++---------- 1 file 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: . - (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")