From b31de4d4d7ec5199c4f5923a96a3e9cced8c2507 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 22 Jul 2025 01:21:52 +0200 Subject: [PATCH] gnu: python-args: Switch to pyproject. * gnu/packages/python-xyz.scm (python-args): [arguments]<#:phases>: Remove 'check phase replacement. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Ia25eae40725adadce182cbdb5e874dd7352e4d35 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 03ffbea491b3ff9daf25a6962dd0f1f6a63c5cc9..6bf0095fcc2b8249cedddb856336b04db96cec00 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20136,18 +20136,14 @@ minimal and fast API targeting the following uses: (sha256 (base32 "1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-args.py (lambda _ (substitute* "args.py" - (("basestring") "str")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "nosetests" "-v"))))))) - (native-inputs (list python-nose)) + (("basestring") "str"))))))) + (native-inputs (list python-nose python-setuptools python-wheel)) (synopsis "Command-line argument parser") (description "This library provides a Python module to parse command-line arguments.")