guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 614f5413918b961946271dc592d39da89808bea8
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 19:13:04 2025 +0200

    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 <[email protected]>
---
 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 0c5fd7746f..55fa9d5fbf 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)))

Reply via email to