From 71a59b21c6ff244fc1fd4d2493945ece3d552ccd Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 27 Oct 2025 22:16:59 +0100 Subject: [PATCH] gnu: python-commandlines: Switch to pyproject. * gnu/packages/python-xyz.scm (python-commandlines): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: Ic392ad79243d22f63fe22316887f8f45656b1b8c Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 521623b50bf7b3c4ae585f484853326cf2b8aa64..522df1e073beaf2a981f9eaa843f313d5f765789 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27719,12 +27719,15 @@ readable error messages.") (version "0.4.1") (source (origin - (method url-fetch) - (uri (pypi-uri "commandlines" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/chrissimpkins/commandlines") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0r7xcr0knv02p4mswa2bng61nn8nbhhrs6kvdnb9bb3hhjvm1dl6")))) - (build-system python-build-system) + (base32 "03mxsknqbiwdl4cydnmr3dbid5rh1y1pwfcnbf6k4sf0wiw98y67")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/chrissimpkins/commandlines") (synopsis "Command line argument to object parsing library") (description