GNU bug report logs -
#39916
[PATCH] gnu: Add python-blurhash.
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Wed, 4 Mar 2020 19:47:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#39916: [PATCH] gnu: Add python-blurhash.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 39916 <at> debbugs.gnu.org.
--
39916: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39916
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Patch pushed
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
* gnu/packages/python-crypto.scm (python-blurhash): New variable.
---
gnu/packages/python-crypto.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 834ab5d97d..8d413eda8d 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -784,6 +784,40 @@ key), SSH public key, ASC-encoded OpenPGP key, APK Android application, LDIFF
file, and more.")
(license license:gpl3)))
+(define-public python-blurhash
+ (package
+ (name "python-blurhash")
+ (version "1.1.4")
+ (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")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (delete-file "setup.cfg")
+ (invoke "pytest"))))))
+ (native-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pillow" ,python-pillow)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/halcy/blurhash-python")
+ (synopsis
+ "Pure-Python implementation of the blurhash algorithm")
+ (description
+ "Pure-Python implementation of the blurhash algorithm.")
+ (license license:expat)))
+
(define-public python-ecpy
(package
(name "python-ecpy")
--
2.25.1
This bug report was last modified 5 years and 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.