summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-27 22:17:27 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 20:27:24 +0000
commit95d586a03cfc661fbb33eff399b5a879584b71a0 (patch)
tree34278b40925551bdfd783806211a6b92838ee5e5
parent71a59b21c6ff244fc1fd4d2493945ece3d552ccd (diff)
gnu: python-asciitree: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-asciitree): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: I2d5dc738d2438bd502d08602e44d2d55ece40be6 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 522df1e073b..75178b42dd0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27927,12 +27927,15 @@ codecs for use in data storage and communication applications.")
(version "0.3.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "asciitree" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mbr/asciitree")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0vhgri2m2xlnibhz4xwn4hpbc7xacisxjqrk6k5kyppq96vbk92a"))))
- (build-system python-build-system)
+ (base32 "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/mbr/asciitree")
(synopsis "Draws ASCII trees")
(description "This package draws tree structures using characters.")