diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-02 22:55:24 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-02 22:57:47 +0300 |
commit | 98df46a8756c33918b7d25c8ada8c13326d8ae1e (patch) | |
tree | 13320ac30324d9196561541d1397f9eef700ca78 /dev-python/imageio/imageio-2.9.0.ebuild | |
parent | media-libs/libvpx: remove svc USE flag (diff) | |
download | gentoo-98df46a8756c33918b7d25c8ada8c13326d8ae1e.tar.gz gentoo-98df46a8756c33918b7d25c8ada8c13326d8ae1e.tar.bz2 gentoo-98df46a8756c33918b7d25c8ada8c13326d8ae1e.zip |
dev-python/imageio: add 2.9.0, enable py3.10, enable tests
Closes: https://bugs.gentoo.org/798075
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/imageio/imageio-2.9.0.ebuild')
-rw-r--r-- | dev-python/imageio/imageio-2.9.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/imageio/imageio-2.9.0.ebuild b/dev-python/imageio/imageio-2.9.0.ebuild new file mode 100644 index 000000000000..a90dd3325383 --- /dev/null +++ b/dev-python/imageio/imageio-2.9.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 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" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/freeimage +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +PROPERTIES="test_network" +RESTRICT="test" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Needs unpackaged imageio_ffmpeg + tests/test_ffmpeg.py + tests/test_ffmpeg_info.py +) |