diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-09 20:30:41 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 12:06:19 +0000 |
| commit | 74da72f4914a737ba1ef227f5d93dbf16d91bc29 (patch) | |
| tree | f750519928ee2457cc1184a6a403e6c7ce0f5b38 /gnu/packages/python-crypto.scm | |
| parent | 8c1b7044091a760215a7b72c03fd053a68b6205c (diff) | |
gnu: python-blurhash: Update to 1.1.5.
* gnu/packages/python-crypto.scm (python-blurhash): Update to 1.1.5.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-flags>.
[native-inputs]: Add python-setuptools.
[synopsis, description]: Improve style.
Change-Id: Iea785b586d908b3b519e3ba930d0d5f8bb43e3e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index e6fa910fd33..1a7664a7fbb 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -883,33 +883,26 @@ Cyclic Redundancy Check.") | |||
| 883 | (define-public python-blurhash | 883 | (define-public python-blurhash |
| 884 | (package | 884 | (package |
| 885 | (name "python-blurhash") | 885 | (name "python-blurhash") |
| 886 | (version "1.1.4") | 886 | (version "1.1.5") |
| 887 | (source | 887 | (source |
| 888 | (origin | 888 | (origin |
| 889 | ;; Tests not included in pypi release and releases not tagged in git repo. | ||
| 890 | (method git-fetch) | 889 | (method git-fetch) |
| 891 | (uri (git-reference | 890 | (uri (git-reference |
| 892 | (url "https://github.com/halcy/blurhash-python") | 891 | (url "https://github.com/halcy/blurhash-python") |
| 893 | (commit "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8"))) | 892 | (commit (string-append "v" version)))) |
| 894 | (file-name (git-file-name name version)) | 893 | (file-name (git-file-name name version)) |
| 895 | (sha256 | 894 | (sha256 |
| 896 | (base32 | 895 | (base32 "16xcjxiya773fp7bxs9i6y1wsjx88pdvlwj6bqyy9vf3ckcffcwm")))) |
| 897 | "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf")))) | 896 | (build-system pyproject-build-system) |
| 898 | (build-system python-build-system) | ||
| 899 | (arguments | 897 | (arguments |
| 900 | '(#:phases | 898 | (list #:test-flags #~(list "-c" "/dev/null"))) |
| 901 | (modify-phases %standard-phases | ||
| 902 | (replace 'check | ||
| 903 | (lambda _ | ||
| 904 | (delete-file "setup.cfg") | ||
| 905 | (invoke "pytest")))))) | ||
| 906 | (native-inputs | 899 | (native-inputs |
| 907 | (list python-numpy python-pillow python-pytest)) | 900 | (list python-numpy python-pillow python-pytest python-setuptools)) |
| 908 | (home-page "https://github.com/halcy/blurhash-python") | 901 | (home-page "https://github.com/halcy/blurhash-python") |
| 909 | (synopsis | 902 | (synopsis "Pure-Python implementation of the blurhash algorithm") |
| 910 | "Pure-Python implementation of the blurhash algorithm") | ||
| 911 | (description | 903 | (description |
| 912 | "Pure-Python implementation of the blurhash algorithm.") | 904 | "This package provides a pure Python implementation of the blurhash |
| 905 | algorithm.") | ||
| 913 | (license license:expat))) | 906 | (license license:expat))) |
| 914 | 907 | ||
| 915 | (define-public python-ecpy | 908 | (define-public python-ecpy |
