Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/imageio/
Date: Mon, 02 May 2022 08:27:09
Message-Id: 1651480018.9c108e450a3e4f2a674c7836bd4b466b6948f52a.mgorny@gentoo
1 commit: 9c108e450a3e4f2a674c7836bd4b466b6948f52a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 07:51:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 08:26:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c108e45
7
8 dev-python/imageio: Bump to 2.19.0
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.19.0.ebuild | 52 ++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest
17 index 56bf377db341..45d6ed742db2 100644
18 --- a/dev-python/imageio/Manifest
19 +++ b/dev-python/imageio/Manifest
20 @@ -1 +1,2 @@
21 DIST imageio-2.18.0.gh.tar.gz 384312 BLAKE2B 5683ec01db358d9074c5e02c0006bf89e5978418d86b13ce93b1c0fb0800fb650b76d53bd4fdea94c69c185af3341e1e2e80c91815d0f74ebadcaa01ee497e5a SHA512 ddd7606f4b72e3a768b2f7f71d058d11df2bd6e48455240d17b2d93394808158c4f52289ea6f47b5c5655ec45e514aa4413248de0aff1806d28922723540aa50
22 +DIST imageio-2.19.0.gh.tar.gz 387467 BLAKE2B bd37ed1d8c147159a6e3dc951c512ddd1bdcc5c664ea1cae80d7eed4544b9329e92f711452442a459e776ec151db751d1d1c62a7d9e1165c18dcc5f0d05ec9c2 SHA512 effa3865259a1dab901a1ef2acf2cdbd57db96308b9edd8d489ff7421e51da0b2b8b8b93a7e3003bac43dd010c4f30aa683fd22236ea5d82af9d8d48b7b60db7
23
24 diff --git a/dev-python/imageio/imageio-2.19.0.ebuild b/dev-python/imageio/imageio-2.19.0.ebuild
25 new file mode 100644
26 index 000000000000..6770d9759db9
27 --- /dev/null
28 +++ b/dev-python/imageio/imageio-2.19.0.ebuild
29 @@ -0,0 +1,52 @@
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="
42 + https://imageio.readthedocs.io/en/stable/
43 + https://github.com/imageio/imageio/
44 + https://pypi.org/project/imageio/
45 +"
46 +SRC_URI="
47 + https://github.com/imageio/imageio/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +# over 50% of tests rely on Internet
55 +PROPERTIES="test_network"
56 +RESTRICT="test"
57 +
58 +RDEPEND="
59 + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}]
60 + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}]
61 + media-libs/freeimage
62 +"
63 +# requests for fsspec[github]
64 +BDEPEND="
65 + test? (
66 + dev-python/fsspec[${PYTHON_USEDEP}]
67 + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
68 + dev-python/psutil[${PYTHON_USEDEP}]
69 + dev-python/requests[${PYTHON_USEDEP}]
70 + dev-python/tifffile[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +EPYTEST_DESELECT=(
77 + # Fails because of system installed freeimage
78 + tests/test_core.py::test_findlib2
79 + # Tries to download ffmpeg binary ?!
80 + tests/test_ffmpeg.py::test_get_exe_installed
81 +)