guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 37759ed45482af333efe9b6f124209317034447c
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 19:51:10 2025 +0200

    gnu: python-progressbar33: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-progressbar33):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Run custom tests.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I513b8fb678b6c0e7a676d6d2404f007efd2ffbbf
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1223e453a6..7d9a8f6dde 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20385,12 +20385,19 @@ visual (yet text based) progress to long running 
operations.")
     (version "2.4")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "progressbar33" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/germangh/python-progressbar";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1zvf6zs5hzrc03p9nfs4p16vhilqikycvv1yk0pxn8s07fdhvzji"))))
-    (build-system python-build-system)
+        (base32 "0vyn2l6i7fgqskqfx3nfs1dibc5v1cxydg3v3422xf41pkba282c"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "examples.py")))
+    (native-inputs (list python-setuptools))
     (home-page "https://github.com/germangh/python-progressbar";)
     (synopsis "Text progress bar library for Python")
     (description

Reply via email to