commit:     501c378841f57de2d50a97358eccb4344ed4e2f6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 19 01:48:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 19 01:48:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501c3788

dev-python/imageio: add 2.19.5

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/imageio/Manifest              |  1 +
 dev-python/imageio/imageio-2.19.5.ebuild | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest
index 379ec86c8682..fa1c92018317 100644
--- a/dev-python/imageio/Manifest
+++ b/dev-python/imageio/Manifest
@@ -1 +1,2 @@
 DIST imageio-2.19.3.gh.tar.gz 388949 BLAKE2B 
bf7f7b2cc036d6bc808cedeefe624dfe43b232518f78974fffe9c664f23c8e89da73e5b777ee6049aa0ec363400fe8d9df1388a91a4b0a01089609d7ce12eaf3
 SHA512 
5ad9f332ea723facd5d9295e463b12d2cc17dfef8a7349ce194a8d32fcc5d07a29550834c66dc6e5837f8440347387b46624243fa267750f986042910ff6cb90
+DIST imageio-2.19.5.gh.tar.gz 389832 BLAKE2B 
a4455f97d2607d215ba4797e076487f4648ae6b21bf7b5207df8f337b52319ba4dd415d6e351289b588a049c800e8c541fcdaefe064cb4c83de12e63c492cf83
 SHA512 
481f14116961927946a71a7448ecf38f9781172969ab4e35c05360d758f7273be22262d4cd774a76b2089be3b7f0af6cf0a67d40814504e7a65db7075428966c

diff --git a/dev-python/imageio/imageio-2.19.5.ebuild 
b/dev-python/imageio/imageio-2.19.5.ebuild
new file mode 100644
index 000000000000..6770d9759db9
--- /dev/null
+++ b/dev-python/imageio/imageio-2.19.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for reading and writing image data"
+HOMEPAGE="
+       https://imageio.readthedocs.io/en/stable/
+       https://github.com/imageio/imageio/
+       https://pypi.org/project/imageio/
+"
+SRC_URI="
+       https://github.com/imageio/imageio/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# over 50% of tests rely on Internet
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="
+       >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}]
+       >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}]
+       media-libs/freeimage
+"
+# requests for fsspec[github]
+BDEPEND="
+       test? (
+               dev-python/fsspec[${PYTHON_USEDEP}]
+               dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
+               dev-python/psutil[${PYTHON_USEDEP}]
+               dev-python/requests[${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
+       # Tries to download ffmpeg binary ?!
+       tests/test_ffmpeg.py::test_get_exe_installed
+)

Reply via email to