From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oNHXOPRqaGdPgAEAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 19:39:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oNHXOPRqaGdPgAEAe85BDQ (envelope-from ) for ; Sun, 22 Dec 2024 20:39:33 +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=M7TG6S8L; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CNExRYsp; 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=1734896372; 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=08WDWj3RbOPOVvbmtVWrD3Q9EhvqlBM93BqNy1vtu4I=; b=uPwRfxSYqNJqRsyohQaSRfuyB6JPcKnDSk2T05S9XgixdcJwBq4KDLEveTAuye9OZZ83Ap z5dGS4b7Hqi2sdeye9bybLU0s65l8FoBZVw/D49iDHdhLdpKDWWQpJniUZbaj7YMdc/AIa DGMNe+tGqLg09Xqh0rcRXPdX6SDsrvfba7PKK+H8ZrUR6dJ1RfJIpiC4QtzJbyqw+7c2dO 7ELw6WSsT7SXAFPGi0HBUTiEyuNoiFPlUKrhjb7eEzEgxlWtqGnoyT1LYHTQEPL8NDsDjm mQPbOL1vubiZv6TK5vXFZcpssyjYHhISV2kzDWB03y5tfgDVbjVAvXxiEiOAsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M7TG6S8L; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CNExRYsp; 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=1734896372; a=rsa-sha256; cv=none; b=Z5hQFu/k7PcYpWAFe+Wo1CG99oQHk8PolY0MpOCJr5Wmj8r4A3uOzQLI/zR+vyqBIdjv/0 fg+YnufhZBkKQJ82HP69QKiTl0lyxVU4bscIzZXcTtSQeK9svWej9hDQj08XoPW3TcR+M+ xZHWHqzmV0ULNqKLafpN/wdrCfk9Mu6uQ3Kq1IZdPMbXGHaVXHxBF28G8C4hKsr+bUcK28 qs/aQIK9xhFV1//sdft3vwJLWJ6T18nuWTNsXmKVF+NJfWS1X05rueYiHnJgHnbs3xJjwA dN2oJbIZxhEmyviVVUGVPI97enqSufhj/8HiPVLHgP+fJuWLf7Jm6DkwxpL7+w== 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 89AD678B52 for ; Sun, 22 Dec 2024 20:39:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPRnD-00078X-7Y; Sun, 22 Dec 2024 14:39:11 -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 1tPRnC-00078L-7R for guix-patches@gnu.org; Sun, 22 Dec 2024 14:39:10 -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 1tPRnB-0004TX-Pb; Sun, 22 Dec 2024 14:39:09 -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=08WDWj3RbOPOVvbmtVWrD3Q9EhvqlBM93BqNy1vtu4I=; b=M7TG6S8LkRqwVCkAxErcvaSSRhejDfA9BNX3v1DJpi2gs6C6fsU7naG1boZBplRIH7KJoS3xWaylE+CYpISK4KjmnQU76u9BuGguvIAWLxcOfiD2Plokx+/Zzrmy3TrgJEkg+5xxP/DjH7STAhfeblaHsyClltItk+SID8dfIgAGQtBEQ8mtx/t3AGzQzHJrZrsAv2RB7hGlHTQ7Ij4gvsQK9FEUJm8/fN8ikKpLK5TyOM+2j+48lD6BlSLyV2Ik87EPyEt/N5bncL461s+qe0jodbqjsHm71F8Ja8Bhbuzo7KbSk69GadADEjfiD3JJVk7rKI9KiASB9Sf3qnZy7Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPRn5-0005ju-EP; Sun, 22 Dec 2024 14:39:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74702] [PATCH v2 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: Sun, 22 Dec 2024 19:39: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@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de X-Debbugs-Original-Xcc: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de Received: via spool by 74702-submit@debbugs.gnu.org id=B74702.173489634022040 (code B ref 74702); Sun, 22 Dec 2024 19:39:03 +0000 Received: (at 74702) by debbugs.gnu.org; 22 Dec 2024 19:39:00 +0000 Received: from localhost ([127.0.0.1]:51968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPRn1-0005jO-2N for submit@debbugs.gnu.org; Sun, 22 Dec 2024 14:39:00 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:51511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPRmx-0005jC-8i for 74702@debbugs.gnu.org; Sun, 22 Dec 2024 14:38:57 -0500 Received: by mail-wm1-f66.google.com with SMTP id 5b1f17b1804b1-436249df846so24074635e9.3 for <74702@debbugs.gnu.org>; Sun, 22 Dec 2024 11:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734896274; x=1735501074; 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=08WDWj3RbOPOVvbmtVWrD3Q9EhvqlBM93BqNy1vtu4I=; b=CNExRYspzdv4FEnd6NNeHC7vhbd5lgJ98Yu/wcN9CKbmz2RBM8fG498/k2u4QNnml9 EYeZn08vuHAKVcuZJTCrav1LEjJtaj0JhowTwzL6NHwEusdoixT5tXIyBId+1Up3oG78 N0HXhS2UeWFUqjogdwrh0y2GlS1dw/ZaEw0A6Xdn8kZyDcEW161Riyx//9RbEPxTkQ23 wzZsAjLZo+YjWRBGzEQPAWk7wBzksISUY+V1Bnl++a3txHcSeuSllF6X6fIhviplGAOB ufMhFCs0atHTWv/UnZv1Utj0SjWpWeU0a7ZrWaellDqdtBe7be1qkZDTXERwKT51slKD 3Bgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734896274; x=1735501074; 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=08WDWj3RbOPOVvbmtVWrD3Q9EhvqlBM93BqNy1vtu4I=; b=qMXHieL2Mh5v6imSfM5O+ewNHblevWgSew7Ba6qRLH4h/eru0XmpVVqbpLSgF/crH/ xs14RJNdvzhKvYTMN9vt7X1CV77Ia6Z4WTaRcvES/vpWQx7QOdhlo9UFpBmDL6KqZGox 7nced+gGM6EQUZgz8BYq8piUGkAInruwoaScWLhh9CcR/cZRAfiEfzNqJRFeln7kitut vty8gD/cVG4msSb8/p9RE5IOvv3hxqMWRUy0pkgOi5Lb2ic9F7sixN65KDj3ackCatzL dGQHNtIbu8/s3oRtzMy4tB7dZNZAg3w6rU0xShlqPP7+92lkOMX+RuiJAtB/iILUgGu/ SpCg== X-Gm-Message-State: AOJu0YxAIwBwTemqvHdtPiCUyHr5Vl3sSYonHQ3eEvFujqu5JYvO2x+z ED7eDSrtB/CV9xc9kgVeHBFYFUyO+QwhbdCtBR4Vitkjjg/PSXzMJFuFVHzi X-Gm-Gg: ASbGnct3dd3vcCyZD5WHjkHXEwJommUDUHtB9EcfZQ2fJ3Af1znHlV8evFD8K9bTvFp ObY+Zx5rZzuleDBvNOF5CxgCEgNUTUmFgJ0+KWy4LjRKB1ag2v9SXzZRP+ZCdqhM4BmHBDAbrCG bkaGU8IMiWvDfOrbvzRG9xGI1hKBgRo/znuQzgg6ookenKz8BpI3e+KBiSX3BGy+j0aRccsTBYM CCKNlEeHZ0GQ7zt2IkGLIbmQq3vSgo1U4L+9inn7IBhCMuo4Mg20fJpVr3GphQZ5dhb0D1LQNoP B9DdTkHue6ZYZqdrnyEAuPhhTU8lVzwR X-Google-Smtp-Source: AGHT+IH1PoAOg22fA59y6uR/kh2udcnmjGhKsrHU0FJolKC15yP51fQJcC2RXMbTWp4fiYdPjrnRhQ== X-Received: by 2002:a05:600c:468f:b0:434:f335:855 with SMTP id 5b1f17b1804b1-43668b78324mr69228775e9.28.1734896273993; Sun, 22 Dec 2024 11:37:53 -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-43656b1143dsm145470005e9.18.2024.12.22.11.37.52 for <74702@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 11:37:52 -0800 (PST) Message-ID: <2054c6dc5e8f84ef626f7e251b271eaa012df1f2.1734896282.git.liliana.prikler@gmail.com> In-Reply-To: <873e5573b3675d600dc340b59dd32b25984da6a1.1734896282.git.liliana.prikler@gmail.com> References: <873e5573b3675d600dc340b59dd32b25984da6a1.1734896282.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Thu, 5 Dec 2024 14:03:48 +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-Queue-Id: 89AD678B52 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.60 X-Spam-Score: -0.60 X-TUID: 6mPKzqnzWyNl * gnu/packages/python-xyz.scm (python-pillow-heif): New variable. --- Change since v1: Added missing native inputs. gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d29941f4f7..591b0706b5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10893,6 +10893,50 @@ (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-setuptools + python-pytest + python-wheel)) + (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