From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDQXAadVg2IYIQAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 09:58:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEI0AadVg2LyMwAA9RJhRA (envelope-from ) for ; Tue, 17 May 2022 09:58:31 +0200 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 705B319660 for ; Tue, 17 May 2022 09:58:30 +0200 (CEST) Received: from localhost ([::1]:43876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqs68-0002qB-IL for larch@yhetil.org; Tue, 17 May 2022 03:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs4k-00027v-UC for guix-patches@gnu.org; Tue, 17 May 2022 03:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqs4k-0004m0-Jr for guix-patches@gnu.org; Tue, 17 May 2022 03:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqs4k-0003oG-JW for guix-patches@gnu.org; Tue, 17 May 2022 03:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH 07/18] gnu: Add python-willow. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165277416814466 (code B ref -1); Tue, 17 May 2022 07:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2022 07:56:08 +0000 Received: from localhost ([127.0.0.1]:55740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3r-0003l9-Ru for submit@debbugs.gnu.org; Tue, 17 May 2022 03:56:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:42088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3Z-0003i1-I9 for submit@debbugs.gnu.org; Tue, 17 May 2022 03:55:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3Z-0001Jt-9E for guix-patches@gnu.org; Tue, 17 May 2022 03:55:49 -0400 Received: from 11.mo581.mail-out.ovh.net ([87.98.173.157]:60703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3V-0004Ik-Ne for guix-patches@gnu.org; Tue, 17 May 2022 03:55:48 -0400 Received: from player773.ha.ovh.net (unknown [10.108.1.162]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id B9C9D243E4 for ; Tue, 17 May 2022 07:55:40 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player773.ha.ovh.net (Postfix) with ESMTPSA id 655992AA33EB0; Tue, 17 May 2022 07:55:38 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 17 May 2022 09:54:37 +0200 Message-Id: <20220517075448.32638-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220517075448.32638-1-ngraves@ngraves.fr> References: <20220517075448.32638-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6123769593996567266 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrheeigdduvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejjeefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg Received-SPF: pass client-ip=87.98.173.157; envelope-from=ngraves@ngraves.fr; helo=11.mo581.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652774310; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=k1LKJ7pYHxWqc+BwNjHPRSC+zo872NULbGWQzFvnzlE=; b=l+823TZCJ/5SjlSSNcob34AneEJqSda4oAjvdHW2cyhKPGfC4Bna0JoieDwMetsxXK1jKm TudBaeVzdtC+HYf9p+NQwrcV0YDOQC8rNy+pqbuEeR5DZlmEuIyEGKFAakbpFsZMF2f9E7 OYKWeH/yNzaijG9fNJb/KlltOQiX5d8CYrPdKKSoXNnyHMnbVcyU6EMiGEN5bX3ChnGVc8 Yw2IBpIqkW9oQ6fqhU8srTLw8AImYowhJW2T0C+B08K8VsNqhHLLeFLL41gaeiERdYxeKK bJ7dW0Sce5l07pToXNEybuiafVYE+AkThoNSoqBYI8Td+oPBct6nHvdFTRsdBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652774310; a=rsa-sha256; cv=none; b=R4NXp9OQEz6Joiv4hRrCHVbKVDeJoh1L8p6vqm8Cswjzy9MUcWL8YNthjcjlCC+rnb580F sP7en1zwGJCi/K6kEsy1xLjOBVp/12XT6f6OwyWO3W0aC+cxgPwE/v1kqvt+iIMMg5eSoT DelAe/nRmMT+LsGNRl3RGo786sr8n38cPixgGGKSXUo3/+IO5ChVO1GHn9dttSvqdCghZ5 ZrWnz6qO4irlVxoVne815mib8vsDGIvXyiYybPIu442qGwOWaqFHrWrUUShEtw77J9Zb3w cQnTGj/O573Q47STBMSHfJCrg1z2lM9nCZO2K4xRH/Ulq/CmVYTW9Ow3Iwc9Ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 705B319660 X-Spam-Score: -4.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: aExtr7ezpBQf * gnu/packages/python-xyz.scm (python-willow): New variable. --- gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++---------- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7f67a93f4b..308ea79075 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7550,25 +7550,50 @@ (define-public python-pillow-simd (description "This package is a fork of Pillow which adds support for SIMD parallelism."))) -(define-public python-imagecodecs +(define-public python-willow (package - (name "python-imagecodecs") - (version "2021.3.31") + (name "python-willow") + (version "1.4.1") (source (origin (method url-fetch) - (uri (pypi-uri "imagecodecs" version)) + (uri (pypi-uri "Willow" version)) (sha256 - (base32 - "0q7pslb6wd56vbcq2mdxwsiha32mxjr7mgqqfbq5w42q601p9pi0")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Unbundle 3rd party modules. - (delete-file-recursively "3rdparty") - ;; Delete pre-generated Cython files. - (for-each delete-file (find-files "imagecodecs" "_.*\\.c$")) - #t)))) + (base32 "03ccxy5j3w5gsjz5nbnlya1drhga3gc2xxqbsi40pq1ihm9gzy0d")))) + (build-system python-build-system) + (inputs + (list freetype lcms libjpeg-turbo libtiff libwebp openjpeg zlib)) + (home-page "https://github.com/wagtail/Willow") + (synopsis + "A wrapper that combines the functionality of multiple Python image +libraries into one API") + (description + "Willow is a simple image library that combines the APIs of Pillow, Wand +and OpenCV. It converts the image between the libraries when necessary. Willow +currently has basic resize and crop operations, face and feature detection and +animated GIF support. New operations and library integrations can also be +easily implemented.") + (license license:bsd-3))) + +(define-public python-imagecodecs + (package + (name "python-imagecodecs") + (version "2021.3.31") + (source + (origin + (method url-fetch) + (uri (pypi-uri "imagecodecs" version)) + (sha256 + (base32 + "0q7pslb6wd56vbcq2mdxwsiha32mxjr7mgqqfbq5w42q601p9pi0")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unbundle 3rd party modules. + (delete-file-recursively "3rdparty") + ;; Delete pre-generated Cython files. + (for-each delete-file (find-files "imagecodecs" "_.*\\.c$")) + #t)))) (build-system python-build-system) (arguments `(#:tests? #f ; Tests are disabled, because dependencies are missing. -- 2.36.0