summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-03 13:05:41 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-03 15:13:34 +0100
commitddda3007e9638b50cdc990f561bb9c1c13028397 (patch)
treed33495c039694a6a68229c9a2ae5f5b659f992f3 /gnu/packages
parent2f2db0b4bd286d1dde05bbcaea4a1a318d920fc7 (diff)
gnu: python-python-snappy: Update to 0.7.3.
* gnu/packages/python-compression.scm (python-python-snappy): Update to 0.7.3. [source] <pypi-uri>: Adjust name according to PyPI archive. [arguments] <test-backend>: Use 'unittest. <phases>: Use default 'check. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-pytest; add python-cramjam and python-setuptools. Change-Id: Ie6c9605ce8a335a21eecb3136282ba85b3cc654b
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-compression.scm24
1 files changed, 10 insertions, 14 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 8884876248f..66691cac7ca 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -713,25 +713,21 @@ the LZ4 frame format.")
713 ;; packages. To avoid a name collision in Guix, we use the variable name 713 ;; packages. To avoid a name collision in Guix, we use the variable name
714 ;; `python-python-snappy' for the package called `python-snappy' on PyPI. 714 ;; `python-python-snappy' for the package called `python-snappy' on PyPI.
715 (name "python-python-snappy") 715 (name "python-python-snappy")
716 (version "0.6.1") 716 (version "0.7.3")
717 (source 717 (source
718 (origin 718 (origin
719 (method url-fetch) 719 (method url-fetch)
720 (uri (pypi-uri "python-snappy" version)) 720 (uri (pypi-uri "python_snappy" version))
721 (sha256 721 (sha256
722 (base32 "0amv12w0ybn6n1lk36x70a3l8bdjv4mn7iflb59wqsi00smhg8dn")))) 722 (base32 "1qyfhsaagpzgrw5n2zklx670zi0f3lm1djqyg2n3hbgvmldnq8a0"))))
723 (build-system python-build-system) 723 (build-system pyproject-build-system)
724 (arguments 724 (arguments
725 '(#:phases (modify-phases %standard-phases 725 (list #:test-backend #~'unittest))
726 (replace 'check 726 (native-inputs
727 (lambda* (#:key tests? #:allow-other-keys) 727 (list python-cramjam
728 (when tests? 728 python-setuptools))
729 (invoke "pytest" "-vv" "-k" 729 (inputs
730 ;; CFFI is only supported for PyPy builds. 730 (list snappy))
731 (string-append "not test_snappy_cffi_enum "
732 "and not test_snappy_all_cffi"))))))))
733 (inputs (list snappy))
734 (native-inputs (list python-pytest))
735 (home-page "https://github.com/andrix/python-snappy") 731 (home-page "https://github.com/andrix/python-snappy")
736 (synopsis "Python bindings for the Snappy compression library") 732 (synopsis "Python bindings for the Snappy compression library")
737 (description 733 (description