summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-27 22:16:59 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 20:27:24 +0000
commit71a59b21c6ff244fc1fd4d2493945ece3d552ccd (patch)
treed8c178908cc11841d0874446ce1897e61959f434
parent5ae2a57955bbf7e6627adca162a9cddb1abf53ad (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 521623b50bf..522df1e073b 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