From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yOy2G5x5MGDDeQAA0tVLHw (envelope-from ) for ; Sat, 20 Feb 2021 02:53:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2MpyF5x5MGDqJQAAB5/wlQ (envelope-from ) for ; Sat, 20 Feb 2021 02:53:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB48115BE1 for ; Sat, 20 Feb 2021 03:53:15 +0100 (CET) Received: from localhost ([::1]:41660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDIOQ-0007P9-Jg for larch@yhetil.org; Fri, 19 Feb 2021 21:53:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDIOF-0007Oz-Jw for guix-patches@gnu.org; Fri, 19 Feb 2021 21:53:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDIOE-0001nr-0a for guix-patches@gnu.org; Fri, 19 Feb 2021 21:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDIOD-0006Ab-Ud for guix-patches@gnu.org; Fri, 19 Feb 2021 21:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46652] [PATCH 1/2] gnu: Add python-pillow-simd. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Feb 2021 02:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46652@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161378956523686 (code B ref -1); Sat, 20 Feb 2021 02:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 02:52:45 +0000 Received: from localhost ([127.0.0.1]:50722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINs-00069r-Uf for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINo-00069g-TY for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINo-0007Om-Bo for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINm-0001cc-19 for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id EB0FE16005C for ; Sat, 20 Feb 2021 03:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613789549; bh=pDZ6iuLkxpm50wpWem6SIOnsYz0qs4IYhMaKwhWb5dA=; h=From:To:Cc:Subject:Date:From; b=hA9bO1sAqHOlS/SX0JUAwkpRsok+ycPNhNOGdVm5jBpuJfI4uH8AGkM42FQyvmF8y 6aw7MyyuMCgKph/XHxUcfdgtPMphkaTGM0O6KBDpGV8r8KojcqoD1SFAOuDrcEs1Ca x34pkE964vpolVQX6aErT/Cy3AAKt6VbKIpsHvUKZIsilJJM+1Qb77DwPDeurL3JeH TjgPRcLUfaqvWAFY1QGvluI9jFj6n6HsAj+Jzk7j+812CUs087OqCAqx9c286/8Yyc Fq4wBRCg1232X7kPIFdxop+ZGIoRv2k7GvIwhVMXBVPOxd9EcB1rE143fr8EBbbhZ0 VWrVn4jtH4yxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjCfM1d6mz6tm8; Sat, 20 Feb 2021 03:52:26 +0100 (CET) From: Vinicius Monego Date: Fri, 19 Feb 2021 23:51:49 -0300 Message-Id: <20210220025149.31960-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hA9bO1sA; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BB48115BE1 X-Spam-Score: -0.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: DUBF8AqMTbHL * 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 ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020 Michael Rohleder -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga ;;; Copyright © 2020 Malte Frank Gerdes @@ -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