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, 01 Aug 2022 11:07:17
Message-Id: 1659352017.900d9cf10cf0633546e6d33541199b0434d59302.mgorny@gentoo
1 commit: 900d9cf10cf0633546e6d33541199b0434d59302
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:32:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 11:06:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900d9cf1
7
8 dev-python/imageio: Bump to 2.21.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.21.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 0a7aef176983..1fd70e722c29 100644
18 --- a/dev-python/imageio/Manifest
19 +++ b/dev-python/imageio/Manifest
20 @@ -1,3 +1,4 @@
21 DIST imageio-2.19.3.gh.tar.gz 388949 BLAKE2B bf7f7b2cc036d6bc808cedeefe624dfe43b232518f78974fffe9c664f23c8e89da73e5b777ee6049aa0ec363400fe8d9df1388a91a4b0a01089609d7ce12eaf3 SHA512 5ad9f332ea723facd5d9295e463b12d2cc17dfef8a7349ce194a8d32fcc5d07a29550834c66dc6e5837f8440347387b46624243fa267750f986042910ff6cb90
22 DIST imageio-2.19.5.gh.tar.gz 389832 BLAKE2B a4455f97d2607d215ba4797e076487f4648ae6b21bf7b5207df8f337b52319ba4dd415d6e351289b588a049c800e8c541fcdaefe064cb4c83de12e63c492cf83 SHA512 481f14116961927946a71a7448ecf38f9781172969ab4e35c05360d758f7273be22262d4cd774a76b2089be3b7f0af6cf0a67d40814504e7a65db7075428966c
23 DIST imageio-2.20.0.gh.tar.gz 390281 BLAKE2B 745364f98e3835c428e89abbfbeeb657d10cd730cd61283e5859b10a6e48b63a5b9771860fce75aa8dd770ab77671979847b34bbffe17d215fac5ceb8eb2c7d1 SHA512 fc1c41559cc15b76bfacbf4866717c200889661787de4baa49d69fab189ff7d00e376afdeeaaf74b5581e1ffc96da2f02566dfa9c0953518b98a4c4b695ddf02
24 +DIST imageio-2.21.0.gh.tar.gz 391056 BLAKE2B 90fbacf7b396ab2b422d8694274ddc3642c92cfd325bce2861100f5bd28d82120cef6819b53b8ed82ba474d5e287765b63da9a7edfbfab5a026790a39d4edc1e SHA512 5bb070da560ba3a2e10bdb288ad539274ee14f8cf0543847859f0bae052b3d1782777d823435b74120bcfdff0b6cb15a6c80b2a9bf729439bbb3802f15cf5684
25
26 diff --git a/dev-python/imageio/imageio-2.21.0.ebuild b/dev-python/imageio/imageio-2.21.0.ebuild
27 new file mode 100644
28 index 000000000000..6770d9759db9
29 --- /dev/null
30 +++ b/dev-python/imageio/imageio-2.21.0.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Python library for reading and writing image data"
43 +HOMEPAGE="
44 + https://imageio.readthedocs.io/en/stable/
45 + https://github.com/imageio/imageio/
46 + https://pypi.org/project/imageio/
47 +"
48 +SRC_URI="
49 + https://github.com/imageio/imageio/archive/v${PV}.tar.gz
50 + -> ${P}.gh.tar.gz
51 +"
52 +
53 +LICENSE="MIT"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86"
56 +# over 50% of tests rely on Internet
57 +PROPERTIES="test_network"
58 +RESTRICT="test"
59 +
60 +RDEPEND="
61 + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}]
62 + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}]
63 + media-libs/freeimage
64 +"
65 +# requests for fsspec[github]
66 +BDEPEND="
67 + test? (
68 + dev-python/fsspec[${PYTHON_USEDEP}]
69 + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
70 + dev-python/psutil[${PYTHON_USEDEP}]
71 + dev-python/requests[${PYTHON_USEDEP}]
72 + dev-python/tifffile[${PYTHON_USEDEP}]
73 + )
74 +"
75 +
76 +distutils_enable_tests pytest
77 +
78 +EPYTEST_DESELECT=(
79 + # Fails because of system installed freeimage
80 + tests/test_core.py::test_findlib2
81 + # Tries to download ffmpeg binary ?!
82 + tests/test_ffmpeg.py::test_get_exe_installed
83 +)