From 3c9917080a1ce9698b82daddf2f8ac16e763a8aa Mon Sep 17 00:00:00 2001 From: Daichi Yamamoto Date: Mon, 22 Jun 2026 09:05:25 +0900 Subject: [PATCH] dev-python/pillow-heif: add 1.4.0 Signed-off-by: Daichi Yamamoto --- dev-python/pillow-heif/Manifest | 1 + .../pillow-heif/pillow-heif-1.4.0.ebuild | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/pillow-heif/pillow-heif-1.4.0.ebuild diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest index bf0b7776e9..5506687c93 100644 --- a/dev-python/pillow-heif/Manifest +++ b/dev-python/pillow-heif/Manifest @@ -1 +1,2 @@ DIST pillow_heif-1.3.0.tar.gz 17133211 BLAKE2B d0f4d63a7d5f1b4ef8b1e11e1c9a1b597bff1fa97466e8a6f1b8c51b5a83d24f7e044f604574ff40b463a71ca28f4953e04e19a0e76f89dda6aa92d883adeb25 SHA512 1e82f99b44da4f1f17161050882df1ddd6953c49c6f3e236c09c972c20a3b378cbca7e3152eba7a96538a66069ce860fdde28d3fe61f81763560e45072cfdafc +DIST pillow_heif-1.4.0.tar.gz 17127538 BLAKE2B 6821dbae63906d783dfcd903641a7c85d83923fbe7c7895997784a6e56be2689cb831f801bd229eeccee908effbe4550f45f6db132ea0fc80b05d774e16863fb SHA512 1fce1e4ae596908e671ae6e7b58822a6bd99572be21752a416d4088ff29217e2ef465b65322a277a2280dbfea03aa8a4272302fdcf093d36d40134d32a01e884 diff --git a/dev-python/pillow-heif/pillow-heif-1.4.0.ebuild b/dev-python/pillow-heif/pillow-heif-1.4.0.ebuild new file mode 100644 index 0000000000..f67efe6c35 --- /dev/null +++ b/dev-python/pillow-heif/pillow-heif-1.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python interface for libheif library" +HOMEPAGE=" + https://github.com/bigcat88/pillow_heif + https://pypi.org/project/pillow-heif/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + >=media-libs/libheif-1.19.0:= +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[jpeg,lcms,webp,zlib,${PYTHON_USEDEP}] + >=media-libs/libheif-1.19.0:=[x265] + media-libs/opencv[png,python,${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.21.0-respect-cflags.patch" ) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest