diff options
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 24 |
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 |
