emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46652: closed ([PATCH 1/2] gnu: Add python-pillow-simd.)


From: GNU bug Tracking System
Subject: bug#46652: closed ([PATCH 1/2] gnu: Add python-pillow-simd.)
Date: Sun, 21 Feb 2021 00:17:02 +0000

Your message dated Sun, 21 Feb 2021 01:16:49 +0100
with message-id <878s7iz34e.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#46652] [PATCH 2/2] gnu: Add imgp.
has caused the debbugs.gnu.org bug report #46652,
regarding [PATCH 1/2] gnu: Add python-pillow-simd.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
46652: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46652
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/2] gnu: Add python-pillow-simd. Date: Fri, 19 Feb 2021 23:51:49 -0300
* gnu/packages/python-xyz.scm (python-pillow-simd): New variable.
---
 gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a504bb521b..ac8fce8cf7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -82,7 +82,7 @@
 ;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
 ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
-;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
 ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
 ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
@@ -5894,6 +5894,39 @@ a general image processing tool.")
        ((#:tests? _ #f) #f)))
     (properties '((hidden? #t)))))
 
+(define-public python-pillow-simd
+  (package
+    (inherit python-pillow)
+    (name "python-pillow-simd")
+    (version "7.1.2")
+    ;; The PyPI tarball does not include test files.
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uploadcare/pillow-simd";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0w11np4cybamry3jsg70x747c79zwjzfq0xiprfp6c186rd6nzp9"))))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments python-pillow)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'make-tests-writable
+             (lambda _
+               (for-each make-file-writable (find-files "Tests"))
+               #t))))))
+    (inputs
+     `(("libraqm" ,libraqm)
+       ("libimagequant" ,libimagequant)
+       ,@(package-inputs python-pillow)))
+    (home-page "https://github.com/uploadcare/pillow-simd";)
+    (synopsis "Fork of the Python Imaging Library (Pillow)")
+    (description "This package is a fork of Pillow which adds support for SIMD
+parallelism.")))
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.30.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#46652] [PATCH 2/2] gnu: Add imgp. Date: Sun, 21 Feb 2021 01:16:49 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hello,

Vinicius Monego <monego@posteo.net> writes:

> * gnu/packages/image.scm (imgp): New variable.

Applied both patches. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]