From 9649492959dceb0d585a41ba74fe17261d41ca12 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 9 Oct 2025 12:23:16 +0100 Subject: [PATCH] gnu: python-version: Switch to pyproject. * gnu/packages/python-xyz.scm (python-version)[buld-system]: Switch to pyproject-build-system. [arguments] : No tests. [native-inputs]: Add python-setuptools. Change-Id: Ie344161711288799835488c628ab0a810a4b3c17 --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c00cf5452cfdb6f65e67c2cca9d93b012a0bdd80..9e39782483d435929c0fb05f66a8acafb83fd710 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34433,6 +34433,8 @@ EDU SDK. This library has the following features: (home-page "https://github.com/FriedrichFroebel/python-djvulibre") (license license:gpl2))) +;; XXX: No updates since 2018, consider to remove when fails to build, it's a +;; leaf package. (define-public python-version ;; No version tags available in the git repo; just using bare commit instead. (let ((commit "5232eea250ab72cc5cb72b0b75efb35d2192b906") @@ -34440,16 +34442,20 @@ EDU SDK. This library has the following features: (package (name "python-version") (version (git-version "0.0.2" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/halfak/python_version") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0w210559ypdynlj9yn40m9awzkaknwrf682i99hswl7h66sdgh0h")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/halfak/python_version") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w210559ypdynlj9yn40m9awzkaknwrf682i99hswl7h66sdgh0h")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;no tests + (native-inputs + (list python-setuptools)) (home-page "https://gitlab.com/halfak/python_version") (synopsis "Python version checking utility") (description