guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 947f2bf78233d4f8fb374099004b8cb819a06725
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 19:38:43 2025 +0200
gnu: python-progress: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-progress):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Set them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Ic1b2d829c77a60a90eb399160c144b515d047164
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 25e9e22ad9..1223e453a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20319,17 +20319,27 @@ in Python.")
(version "1.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "progress" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/verigak/progress/")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1k9lpb7lqr6mywpnqcz71y6qny54xlgprdp327za2gy0nnc6xj69"))))
- (build-system python-build-system)
- (home-page "http://github.com/verigak/progress/")
+ (base32 "0qz5b9d3cvfdy2f1gb4r20f1qgcsihhmbc2bm2jgbvryxylp0f5k"))
+ (snippet #~(delete-file "demo.gif"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-backend #~'custom
+ #:test-flags #~(list "test_progress.py")))
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/verigak/progress/")
(synopsis "Progress reporting bars for Python")
- (description "This Python package provides progress reporting for visual
-of progress of long running operations. There are multiple choices of
-progress bars and spinners, with customizable options, such as width, fill
-character, and suffix.")
+ (description
+ "This Python package provides progress reporting for visual of progress
+of long running operations. There are multiple choices of progress bars and
+spinners, with customizable options, such as width, fill character, and
+suffix.")
(license license:isc)))
(define-public python-progressbar2