guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 74da72f4914a737ba1ef227f5d93dbf16d91bc29
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 9 20:30:41 2025 +0100

    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 <[email protected]>
---
 gnu/packages/python-crypto.scm | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e6fa910fd3..1a7664a7fb 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -883,33 +883,26 @@ Cyclic Redundancy Check.")
 (define-public python-blurhash
   (package
     (name "python-blurhash")
-    (version "1.1.4")
+    (version "1.1.5")
     (source
       (origin
-        ;; Tests not included in pypi release and releases not tagged in git 
repo.
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/halcy/blurhash-python";)
-               (commit "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8")))
+               (commit (string-append "v" version))))
         (file-name (git-file-name name version))
         (sha256
-         (base32
-          "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"))))
-    (build-system python-build-system)
+         (base32 "16xcjxiya773fp7bxs9i6y1wsjx88pdvlwj6bqyy9vf3ckcffcwm"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (delete-file "setup.cfg")
-             (invoke "pytest"))))))
+     (list #:test-flags #~(list "-c" "/dev/null")))
     (native-inputs
-     (list python-numpy python-pillow python-pytest))
+     (list python-numpy python-pillow python-pytest python-setuptools))
     (home-page "https://github.com/halcy/blurhash-python";)
-    (synopsis
-     "Pure-Python implementation of the blurhash algorithm")
+    (synopsis "Pure-Python implementation of the blurhash algorithm")
     (description
-     "Pure-Python implementation of the blurhash algorithm.")
+     "This package provides a pure Python implementation of the blurhash
+algorithm.")
     (license license:expat)))
 
 (define-public python-ecpy

Reply via email to