summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-01-20 21:13:50 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-01-20 21:23:34 +0200
commit0f79bc19878178c39f91a447e8d4656bba977395 (patch)
tree8c54b780a3549dd2de56c19b0852a52abf83f3e8 /dev-python
parentdev-python/sentry-sdk: add 1.5.3 (diff)
downloadgentoo-0f79bc19878178c39f91a447e8d4656bba977395.tar.gz
gentoo-0f79bc19878178c39f91a447e8d4656bba977395.tar.bz2
gentoo-0f79bc19878178c39f91a447e8d4656bba977395.zip
dev-python/imageio: add 2.14.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/imageio/Manifest1
-rw-r--r--dev-python/imageio/imageio-2.14.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest
index f8b5662463f3..216166d5a1ff 100644
--- a/dev-python/imageio/Manifest
+++ b/dev-python/imageio/Manifest
@@ -1,2 +1,3 @@
DIST imageio-2.13.4.gh.tar.gz 340913 BLAKE2B 332d819633a52069265dd0c02163698085b8d0891ee84def78d99f6fb9888752d8f6384c9666dc66d99bc48673648f736eb6f545b67583cae7252caef6f9e499 SHA512 0329a1bfb6906d7f759fec8d5a500cae9a8edaa125d3e4cab7f0e87b2e5eef24655520aecab309de823f9bd8357a1461f772801bac437ed3489804e3c4b40855
DIST imageio-2.13.5.gh.tar.gz 341447 BLAKE2B 8fd719533325647980355c0a5180a949d1f282ed11fcdb92a0c580f6aa76f799a60f8a3642c72424e557c84c5f1d5a0610cf679d37dcd8d157865c5d19ef94bf SHA512 52b431c3f41ea598d48f1d9c36cd9a5cdaa13365ce5391b832a3ef5dbdb6803435456bd653b509b75ee00452d07b47e43d87ac0c80598bb99f817ee8abe2e74c
+DIST imageio-2.14.0.gh.tar.gz 344226 BLAKE2B 88848591909ef247b7f13b033f545901f850fbc7218558781f1da6077f447d8afab5d9d290558e22bc1e94056049100e26d3a471faf1398dad2b8756747d6670 SHA512 51b005af2eac0988a2c2b2c629be5aff989a9251d60acc01bccbd9109fa7fe3101185dc657d24c8f1ede56cedf39d8815931385c50816f2a5e453fecfc02f967
diff --git a/dev-python/imageio/imageio-2.14.0.ebuild b/dev-python/imageio/imageio-2.14.0.ebuild
new file mode 100644
index 000000000000..b25825711c00
--- /dev/null
+++ b/dev-python/imageio/imageio-2.14.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python library for reading and writing image data"
+HOMEPAGE="https://imageio.github.io/"
+SRC_URI="
+ https://github.com/imageio/imageio/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ media-libs/freeimage
+"
+BDEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/tifffile[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Fails because of system installed freeimage
+ tests/test_core.py::test_findlib2
+)
+
+EPYTEST_IGNORE=(
+ # Needs unpackaged imageio_ffmpeg
+ tests/test_ffmpeg.py
+ tests/test_ffmpeg_info.py
+)