guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5edc770f65754bf98b4d4f00c4461e8f68c45f36
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 12 19:31:42 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b0abe2bb0a..78555ed5f7 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

Reply via email to