unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39916] [PATCH] gnu: Add python-blurhash.
@ 2020-03-04 19:45 Efraim Flashner
       [not found] ` <handler.39916.B.158335116824284.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2020-03-04 19:45 UTC (permalink / raw)
  To: 39916; +Cc: Efraim Flashner

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#39916: Acknowledgement ([PATCH] gnu: Add python-blurhash.)
       [not found] ` <handler.39916.B.158335116824284.ack@debbugs.gnu.org>
@ 2020-03-15  6:54   ` Efraim Flashner
  2020-03-15  6:56   ` [bug#39916] " Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2020-03-15  6:54 UTC (permalink / raw)
  To: 39916-done

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

Patch pushed

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#39916] Acknowledgement ([PATCH] gnu: Add python-blurhash.)
       [not found] ` <handler.39916.B.158335116824284.ack@debbugs.gnu.org>
  2020-03-15  6:54   ` bug#39916: Acknowledgement ([PATCH] gnu: Add python-blurhash.) Efraim Flashner
@ 2020-03-15  6:56   ` Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2020-03-15  6:56 UTC (permalink / raw)
  To: 39916-done

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

Patch pushed.

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-15  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-04 19:45 [bug#39916] [PATCH] gnu: Add python-blurhash Efraim Flashner
     [not found] ` <handler.39916.B.158335116824284.ack@debbugs.gnu.org>
2020-03-15  6:54   ` bug#39916: Acknowledgement ([PATCH] gnu: Add python-blurhash.) Efraim Flashner
2020-03-15  6:56   ` [bug#39916] " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).