summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-12 19:31:42 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-13 12:00:50 +0100
commit5edc770f65754bf98b4d4f00c4461e8f68c45f36 (patch)
tree56d010a6315f9c1d3636db03579ce251e6ad96d2 /gnu/packages/python-xyz.scm
parent53201779c5ca4199e1d16b0621f18c78943ddf6f (diff)
gnu: python-node-semver: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-node-semver): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I58833dfe34194e227ef265927b4f346171136bd8 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b0abe2bb0a4..78555ed5f70 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11167,18 +11167,20 @@ systems in Python.")
(version "0.8.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "node-semver" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/podhmo/python-node-semver")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "000ypfns5x72b41w5f9pk6k3jnr35scliqfbvmilyvv0178005i8"))))
- (build-system python-build-system)
- (native-inputs
- (list python-pytest))
+ (base32 "0az6v4y8awl3dhgrfyikgz2vc8p1k15qwsq6yb8azp54m1fbh5hs"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/podhmo/python-node-semver")
(synopsis "Python port of node-semver")
- (description "This module provides a Python version of node-semver, a
-semantic version parser for Node.js.")
+ (description
+ "This module provides a Python version of node-semver, a semantic version
+parser for Node.js.")
(license license:expat)))
(define-public python-norns