From a2ffe81583f1744c31196d366132bdd85e8c038b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 17 Oct 2025 15:34:43 +0200 Subject: [PATCH] gnu: python-simplegeneric: Switch to pyproject. * gnu/packages/python-xyz.scm (python-simplegeneric): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend, #:test-flags>: Run tests. [native-inputs]: Add python-setuptools. Change-Id: I1bc03460a5a69ea42af4b0d4c8bb693a4c8cb2bd Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f4eff89d392d7f0fa52bf8cd0d149deb3bda9c14..f834920d4a70e2ce0a76cc5b603fc3f8c8ba2034 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14387,9 +14387,13 @@ features, with CPython fallbacks.") (uri (pypi-uri "simplegeneric" version ".zip")) (sha256 (base32 "0wwi1c6md4vkbcsfsf8dklf3vr4mcdj4mpxkanwgb6jb1432x5yw")))) - (build-system python-build-system) + (build-system pyproject-build-system) + (arguments + (list + #:test-backend #~'custom + #:test-flags #~(list "-m" "simplegeneric"))) (native-inputs - (list unzip)) + (list unzip python-setuptools)) (home-page "https://cheeseshop.python.org/pypi/simplegeneric") (synopsis "Python module for simple generic functions") (description