diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 23:45:41 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:13 +0100 |
commit | 5476a33c76de84b57894a1845afa0a81481c8c46 (patch) | |
tree | 8b6db40ed5b876d2a0cfff0960c459c57bc092e1 /gnu/packages/python-xyz.scm | |
parent | 142d81b1aea9f5c3c8bcdb32ef541b0652876db2 (diff) |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files 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.") |