From 0b0e6e48c86dc5c9b64ffdead768e94ae91e4ef1 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 21 Nov 2025 19:05:54 +0100 Subject: [PATCH] gnu: python-helper: Switch to pyproject. * gnu/packages/python-xyz.scm (python-helper): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: I1464f39be1794795b8e94744bb2060cff7242cec Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index edfd975ebfd..7c68705e6bc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31741,17 +31741,19 @@ older versions of Python and so are packaged here.") (package (name "python-helper") (version "2.5.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "helper" version)) - (sha256 - (base32 - "1d2j64wgbggzv5rhvil10zndp2w78wa5np5w0psj122ws9qr9wsa")))) - (build-system python-build-system) - (native-inputs - (list python-mock)) - (propagated-inputs - (list python-logutils python-pyyaml)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gmr/helper") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-mock python-setuptools)) + (propagated-inputs (list python-logutils python-pyyaml)) (home-page "https://github.com/gmr/helper") (synopsis "Library for writing configurable applications and daemons") (description