1 |
commit: 5b7e3cfcc170439092ac9349c896a635e714caa4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 07:23:14 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 08:28:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b7e3cfc |
7 |
|
8 |
dev-python/imageio: Bump to 2.16.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/imageio/Manifest | 1 + |
13 |
dev-python/imageio/imageio-2.16.1.ebuild | 51 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest |
17 |
index f13cae32333c..c5d58cdb787e 100644 |
18 |
--- a/dev-python/imageio/Manifest |
19 |
+++ b/dev-python/imageio/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST imageio-2.16.0.gh.tar.gz 360333 BLAKE2B fbfea25b9a6dfb945bcaced141649bcc3a7c578115fe2be3151d7a90bab6a51fc20e4806085a2afc934b7ec9de95b5df9fedba9af9722242dac44e2f86009e2b SHA512 18f6e3f0b5c09ac546640ef88a0fe6c157e20ecbaa2de5a2199eab6caac3ca9fd294cf66a2eea79b954271c27390816392af62a27d0e2e11817776efec3a0cd3 |
22 |
+DIST imageio-2.16.1.gh.tar.gz 361506 BLAKE2B df7df1cdf414fa762a37c509f2452f7ef20b811695b71acd391d6f565161ae4b5d1caa9dc2f9278ddb87ad518087ed2c729b93806cf1f01a7402e7a77af9383f SHA512 8cd5ce184f67be9cd5edbd5bf51f59c271a71e8fe68c22d284ddabe24cdec6bcf5e590c9c95664b0205509c133e9cd959d11605226a1d4d99f14e95c6d7527c3 |
23 |
|
24 |
diff --git a/dev-python/imageio/imageio-2.16.1.ebuild b/dev-python/imageio/imageio-2.16.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4a1ac91da053 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/imageio/imageio-2.16.1.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python library for reading and writing image data" |
41 |
+HOMEPAGE="https://imageio.github.io/" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/imageio/imageio/archive/v${PV}.tar.gz |
44 |
+ -> ${P}.gh.tar.gz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+# over 50% of tests rely on Internet |
51 |
+PROPERTIES="test_network" |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] |
57 |
+ media-libs/freeimage |
58 |
+" |
59 |
+# requests for fsspec[github] |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/fsspec[${PYTHON_USEDEP}] |
63 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
64 |
+ dev-python/requests[${PYTHON_USEDEP}] |
65 |
+ dev-python/tifffile[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+EPYTEST_DESELECT=( |
72 |
+ # Fails because of system installed freeimage |
73 |
+ tests/test_core.py::test_findlib2 |
74 |
+) |
75 |
+ |
76 |
+EPYTEST_IGNORE=( |
77 |
+ # Needs unpackaged imageio_ffmpeg |
78 |
+ tests/test_ffmpeg.py |
79 |
+ tests/test_ffmpeg_info.py |
80 |
+) |