From 614f5413918b961946271dc592d39da89808bea8 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 19 Oct 2025 19:13:04 +0200 Subject: [PATCH] gnu: python-click-threading: Switch to pyproject. * gnu/packages/python-xyz.scm (python-click-threading): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. [description]: Improve style. Change-Id: I5d8bc8a10eb0a2580f7930c4cac72f34272235b0 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0c5fd7746fde41108bf96f4b1afcd426c1f57e58..55fa9d5fbf60ce406ac2c6146489e11a4ef2808a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19896,17 +19896,21 @@ the construction of PyQt/PySide stylesheets.") (package (name "python-click-threading") (version "0.5.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "click-threading" version)) - (sha256 - (base32 - "0f9lmxwcq0y9lb8w0whbni7gwy12gbv74h1igh85qn9aq0iydkxd")))) - (build-system python-build-system) - (propagated-inputs - (list python-click)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/click-contrib/click-threading") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "185pzw12ap7wrjpyxhsyrkhh7i1l5qclaa3zlpn8qvm39fz0kjni")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) + (propagated-inputs (list python-click)) (synopsis "Utilities for multithreading in Click") - (description "This package provides utilities for multithreading in Click + (description + "This package provides utilities for multithreading in Click applications.") (home-page "https://github.com/click-contrib/click-threading") (license license:expat)))