diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest index 23bec0d69d..192a27965b 100644 --- a/dev-python/pillow-heif/Manifest +++ b/dev-python/pillow-heif/Manifest @@ -1 +1,2 @@ DIST pillow_heif-0.15.0.tar.gz 14896461 BLAKE2B 0a92a31542fbd49ef87fe81208f66d9b725ae0c5c4d4194fa737dcf9fbd76898b9132e81cc843da583898d406bbc451c3cd991e6141c6c327f86d4305432fe49 SHA512 1025a987148d1785da02c9ffc19b3ab0ec9e44cafb10ff3cb3231ecb7c3f22c968e5b3583ed0c386a7747333562bf86fdfe4caf21599bc1c2942da6a27363fbb +DIST pillow_heif-0.18.0.tar.gz 16172675 BLAKE2B 16f52c6dc1d6b63606a9457ab2d2c4990c1b81524d14d4135f571dde7bd72b9dc8624919270ff76b8e52efbeb1420a96be8108015330648852cbc73bd8790cf6 SHA512 dfaccf4f86bcb26bd8b953c5e99835e9a422a7282b659c2bb999396af959c4b439d588b76ba1bcbf4b384580908a8ae6d7c17d8203ffac8b70ff2d4781bb2322 diff --git a/dev-python/pillow-heif/pillow-heif-0.18.0.ebuild b/dev-python/pillow-heif/pillow-heif-0.18.0.ebuild new file mode 100644 index 0000000000..66db57dab3 --- /dev/null +++ b/dev-python/pillow-heif/pillow-heif-0.18.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2024 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_{10..12} ) +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=" + !test? ( + dev-python/pillow[${PYTHON_USEDEP}] + >=media-libs/libheif-1.17.6:= + ) + test? ( + dev-python/pillow[jpeg,lcms,webp,zlib,${PYTHON_USEDEP}] + media-libs/libheif:=[x265] + ) +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/opencv[png,python,${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.15.0-respect-cflags.patch" ) + +distutils_enable_tests pytest