guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5476a33c76de84b57894a1845afa0a81481c8c46
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 24 23:45:41 2025 +0200
gnu: python-sortedcollections: Switch to git-fetch and enable tests.
* gnu/packages/python-xyz.scm (python-sortedcollections):
[source]: Switch to git-fetch.
[arguments]: Remove them.
[native-inputs]: Add python-pytest, python-pytest-cov.
Change-Id: I153530f691f33645a57af338840cb6bd3b1d4b24
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a2a067f4d..7f9956779d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30241,15 +30241,19 @@ that is accessible to other projects developed in
Cython.")
(version "2.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "sortedcollections" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/grantjenks/python-sortedcollections")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1kfabpnjyjm5ml2zspry9jy3xq49aybchgaa4ahic2jqdjfn1sfq"))))
+ (base32 "1y2xsbh31jp9fsjy53g5ma974z7a9vcds6ij1vlh00nllzqlwihs"))))
(build-system pyproject-build-system)
- (arguments '(#:tests? #f)) ; Tests not included in release tarball.
- (native-inputs (list python-setuptools python-wheel))
- (propagated-inputs
- (list python-sortedcontainers))
+ (native-inputs (list python-setuptools
+ python-pytest
+ python-pytest-cov
+ python-wheel))
+ (propagated-inputs (list python-sortedcontainers))
(home-page "https://www.grantjenks.com/docs/sortedcollections/")
(synopsis "Python Sorted Collections")
(description "Sorted Collections is a Python sorted collections library.")