From 5edc770f65754bf98b4d4f00c4461e8f68c45f36 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 12 Oct 2025 19:31:42 +0200 Subject: [PATCH] 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 --- 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 b0abe2bb0a44c5352046e5c82770c55f8b75247a..78555ed5f70f7fc2270878bff24465234281aeff 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