commit:     cd85e02a218a3330a6d3fcdb29650271b1b67ebf
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 19 14:23:32 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Nov 19 14:23:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd85e02a

dev-python/pillow-heif: add 0.20.0

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-python/pillow-heif/Manifest                  |  1 +
 dev-python/pillow-heif/pillow-heif-0.20.0.ebuild | 41 ++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest
index 117a75d04..a4dd54a91 100644
--- a/dev-python/pillow-heif/Manifest
+++ b/dev-python/pillow-heif/Manifest
@@ -1 +1,2 @@
 DIST pillow_heif-0.18.0.tar.gz 16172675 BLAKE2B 
16f52c6dc1d6b63606a9457ab2d2c4990c1b81524d14d4135f571dde7bd72b9dc8624919270ff76b8e52efbeb1420a96be8108015330648852cbc73bd8790cf6
 SHA512 
dfaccf4f86bcb26bd8b953c5e99835e9a422a7282b659c2bb999396af959c4b439d588b76ba1bcbf4b384580908a8ae6d7c17d8203ffac8b70ff2d4781bb2322
+DIST pillow_heif-0.20.0.tar.gz 16173556 BLAKE2B 
aa549d4344e2e7f04e85d287e5b800068823dd9c9af22cbc24d6891c7e7c23d2e875979a83aa3cd2fbaf1fe60488a885257d644f2b3528f5029c0900101689ea
 SHA512 
2c11cc0d93b0b684a80c1b2b6c076928417f021cda1aa46f1806c39ed24a5283d7878a679bf7e6293b9e6f90d3c60c10c7ce1597c528c269cd8892dd18a8aa9b

diff --git a/dev-python/pillow-heif/pillow-heif-0.20.0.ebuild 
b/dev-python/pillow-heif/pillow-heif-0.20.0.ebuild
new file mode 100644
index 000000000..81cd1d3be
--- /dev/null
+++ b/dev-python/pillow-heif/pillow-heif-0.20.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..13} )
+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-1.17.6:=[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

Reply via email to