From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0Kl+JdfmUWcfCAEAe85BDQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 17:45:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0Kl+JdfmUWcfCAEAe85BDQ (envelope-from ) for ; Thu, 05 Dec 2024 18:45:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Frq5AZa5; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GdsAMcEG; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733420759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: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:dkim-signature; bh=dqkj7TiYYRmUyC755Mo0rxVEqBowp9OiZ0oicwgKJ8g=; b=c5KIJTbCOJ8bpMWlciTIasNiqCrtjtCalXH0jh3bVA6fFteEEkaHfDPESkZrDHqAQ0jgbc iVUiO4nFgjHDJFyIQw2O/wz27fRjEADc0xp5BWrGx8bp+Vy+1St/tnf4maOkj3qF0hRxrw Scp9mhUdckZ7UJsMmSVwlPRgxuseBbXfvTmzEso8OhSGgbf4W+ak3XQbAqEVhptONXNDYW /AdwyBVIj9bmF+efp1jeTmQyB41w1BW7TjgieqdQUmDfO+PungnBHxIOO1zagAmemxYzes 6ij4Qt2XGi8UCAzah75vrcJpOLU1+k5lCmKYsOOjUXiUGht+GPQ4vDHwvv4k9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Frq5AZa5; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GdsAMcEG; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733420759; a=rsa-sha256; cv=none; b=qJ0rGm1eP7Qhbb+tEd3FXW7pxODMbstbyFAbn48h1kJRqq0TifxlPPVVkeiKLStsxHYZP4 R1pA1i/6hra/LgFQmwweZ4mdoN0U6NsKf+sZMBu594fke00UhkzKtx7QbOhGo4Q1L2nVQG sQPSJnEyiej8bTIJQBv7BfVA2D6O4a4+XWZKhHi+QMQQjqSrhWgSehkqxgIj6Gh+huNkRc 0NkDBRLCktXCEuqJCXP543B1GKnvbS3JwN+5DWvPLv+PR+2VshfCFziuJmi6JsdM1sWly0 mFDThGNGTBQLKUPl/TLK+7/jB20dwXsol6GiUaUfj94xv2HXaI6BR9mlR2iwZQ== 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 F186B86E9C for ; Thu, 05 Dec 2024 18:45:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJFut-00018e-SX; Thu, 05 Dec 2024 12:45:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJFuZ-000173-VA for guix-patches@gnu.org; Thu, 05 Dec 2024 12:45:19 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJFuU-0000Ar-0O; Thu, 05 Dec 2024 12:45:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:References:In-Reply-To:To:Subject; bh=dqkj7TiYYRmUyC755Mo0rxVEqBowp9OiZ0oicwgKJ8g=; b=Frq5AZa5mXHTRoKwJtjWx5yg4G+JRhDVx6nPBCRHu+Ng7l/4oLC5tdzm4OESMf1UN3TrOB7baL7fd7aZ9z2ypJXUFt/mu25z4LBxd7yRMW6J7ObgCtw3vXNkf7yBlcJjv0qJKWNCjdn5NLltp9pMu+baSLTqio5rrEZMpTIECU23krr+7eI2BkybEZr8mFMwoA93WraKeqHeZiUgc1Dkpc3twDn+YxlQTPpLxRZegZYYYiTsPEsLSpu1JZ6qgvvwTZWoZaB6GIk1IeCGsnoEhAvK3D7CDCZHvSEqqD1LrNhWQSaMmiQIzugkHQKbR8mFSWTwWidsoCaxwbTcxnWMsw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJFuR-0001PN-2p; Thu, 05 Dec 2024 12:45:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74702] [PATCH 2/4] gnu: Add python-pillow-heif. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 05 Dec 2024 17:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74702@debbugs.gnu.org Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 74702-submit@debbugs.gnu.org id=B74702.17334206545289 (code B ref 74702); Thu, 05 Dec 2024 17:45:03 +0000 Received: (at 74702) by debbugs.gnu.org; 5 Dec 2024 17:44:14 +0000 Received: from localhost ([127.0.0.1]:40568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJFtc-0001NA-Rd for submit@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:14 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:45418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJFtY-0001ML-PE for 74702@debbugs.gnu.org; Thu, 05 Dec 2024 12:44:10 -0500 Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-434aabd688fso8396005e9.3 for <74702@debbugs.gnu.org>; Thu, 05 Dec 2024 09:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733420583; x=1734025383; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dqkj7TiYYRmUyC755Mo0rxVEqBowp9OiZ0oicwgKJ8g=; b=GdsAMcEGF1ck1u1y5+Qt6GMtsycfTb/8TFIBIoar+3P/kd60rg+GFpPr0F8zt4Szi3 PybETLM8KkguXrUAxufQveEugQ6lUquOAK5w4EbSUmjYi4fyWd+dYxO2EVPmNXKxUlzq HLc+KUklo/L3XRLK4DQNfzj0Q/4SlhAGyqDKOelT3DC632utKiQOOsqlnQMiLzwn3sWV 76J/F/CeV+rMfTH+AuEZpWetDvKtDWGkK1b75MYJkewAw6HmzOOoLZI2A6fDEvFA1Ytv 2xg0IHzGjVNZDKKW3oUaFXDXDYr2JKRK81cOhw/vCOftJEm+TapA1jo0B2PkELYnz6ri fFCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733420583; x=1734025383; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dqkj7TiYYRmUyC755Mo0rxVEqBowp9OiZ0oicwgKJ8g=; b=GMdE4qlUaFN7mV6b8jkeyqKpE4qfuFLe/aJ2XMc5ic+tn7lGHg0OQhoLoGguAPVbhk 5FgjAatFoSRkvvUglIRVUnCSsFT+U67jHDzdtDQPIZERTW8hkFKno4+aBXQQULnUizgb 2fTmUb03aX2xO6FtkBY3n2NU/mkGkYgOkrHUICvdDnr9pVIabYYUODXrhxh5jahN62yi cxyps1IpqdHgAqc8yaRz0Zen8PEMdVwwcPzFqzYK81NuWpfi03H5ov+RoPZg8eljEv8j gVCafAGgqI43MBjYQGsTnh6cY3aHpw1EQNMhT4roQgM/OW9t+peBO3bysMQDxvv9KEUU GiOg== X-Gm-Message-State: AOJu0Yw1OOa43UtTCe/AcrLWm9KvBHWUCnFmFSugJgXGOIh7SRAyjlvP V/DHi/YzloMeMmhgZMLOZ0LbqooQVwmAnlUqxNca/9nlJM+gSAqS00kVhdt5 X-Gm-Gg: ASbGnct0KUd/qiLCced/b9pxGY16vuNfuNvsZ1iQ4xvjQepFPHQ0gLr6PxrUQMmtdOJ fUM0LQO79HUlVCur1FRQlU3+fo0UR2ZOkKGY7UAuKKK4zuEPvPeJogu6owt50Iqh26FT/6oz1CM lAOCw8rwqPlsyKSSwI5Uk0k8PseQfVZWadTL4L4jsc7cjseBvmkzIc5G7Nh31syFTaxHbS4CopN EUVlnOi7H4HitaU426UPOFQflRdTg707DBiA/ILCLePsT+46y7i5WA6H6bsT6aSBRP7h+YKxsct ktF8hM6XXwY+KD+JhpE5V5NLGA== X-Google-Smtp-Source: AGHT+IF0A58/N2GfWe/Dnqpo0xxpK0TlA5WecfDr+umvqHfW8I0gbC1VCSxYH/9zXCsjfyKUwBkkeg== X-Received: by 2002:a5d:64aa:0:b0:385:f271:a22c with SMTP id ffacd0b85a97d-38607c36b0amr8018892f8f.59.1733420583038; Thu, 05 Dec 2024 09:43:03 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52c0bfasm69103205e9.32.2024.12.05.09.43.01 for <74702@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 09:43:02 -0800 (PST) Message-ID: <161b712b2ed05098704c168b0dd29c95fab9f976.1733413402.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 5 Dec 2024 17:50:00 +0100 MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.74 X-Spam-Score: -0.74 X-Migadu-Queue-Id: F186B86E9C X-TUID: Wtx6zlY/FK2O * gnu/packages/python-xyz.scm (python-pillow-heif): New variable. --- gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e77c5f6b65..03852d2151 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10445,6 +10445,48 @@ (define-public python-pillow "http://www.pythonware.com/products/pil/license.htm" "The PIL Software License")))) +(define-public python-pillow-heif + (package + (name "python-pillow-heif") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pillow_heif" version)) + (sha256 + (base32 "16xl2a51z4rjfy7y8vnn3w0ngcr1mr2sgsl9p7z62payy2zy3bh7")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" ; XXX: 10/12 bit tests fail + (string-append + "not test_save_bgr_16bit_to_10_12_bit" + " and not test_save_bgra_16bit_to_10_12_bit" + " and not test_open_heif_compare_non_standard_modes_data" + " and not test_open_save_disable_16bit" + " and not test_heif_read_images[image_path16]" + " and not test_heif_read_images[image_path43]" + " and not test_premultiplied_alpha" + " and not test_hdr_save" + " and not test_I_color_modes_to_10_12_bit")))) + (inputs (list libheif)) + (propagated-inputs (list python-pillow)) + (native-inputs (list opencv ; for opencv-python + python-coverage + python-defusedxml + python-numpy + python-packaging + python-pre-commit + python-pylint + python-pympler + python-pytest)) + (home-page "https://github.com/bigcat88/pillow_heif") + (synopsis "Python interface for libheif library") + (description "This package provides Python bindings for the libheif library +and a plugin for Pillow.") + (license license:bsd-3))) + (define-public python-pillow-2.9 (package (inherit python-pillow) -- 2.46.0