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/tifffile/
Date: Wed, 04 May 2022 08:19:56
Message-Id: 1651652379.d5ae9bd3f5face6a65dda1d367f4757d4bd5cbaf.mgorny@gentoo
1 commit: d5ae9bd3f5face6a65dda1d367f4757d4bd5cbaf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 07:26:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 08:19:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ae9bd3
7
8 dev-python/tifffile: Bump to 2022.5.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tifffile/Manifest | 1 +
13 dev-python/tifffile/tifffile-2022.5.4.ebuild | 53 ++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
17 index 24da938820e5..8f31cd057c65 100644
18 --- a/dev-python/tifffile/Manifest
19 +++ b/dev-python/tifffile/Manifest
20 @@ -1 +1,2 @@
21 DIST tifffile-2022.4.28.gh.tar.gz 285773 BLAKE2B 245f24762d8b77166122440e205df4c0f4d5e55334ed9a30986d2a1baf21aba663ec126a0ac44f21931572e186f779f915ba4a3d6ae43d9c4897d5aa9a231440 SHA512 18a35e27976c88173931d2898a1a3d62d96d5ab844b2a585922f26838e1b4574277dff3ccbc2baa7898165b0312699a857da251b00ad8050624f49a3d29d00ab
22 +DIST tifffile-2022.5.4.gh.tar.gz 290116 BLAKE2B 4c608ad38ad7ada0e1b41512eae7b4109680cab1f5623ea3cd6c01dfe17b534b518868ee21879ecfa9909f7680a04fbb63967b5c8064062cc325286baaaccb6b SHA512 cc6139872c42e0e2840a9774989b5cba57ef8957e2efa4349e7b224c61ebb8ad34287b9305dddd85b1239d03be4ada73526259b038c19c73513007e5f63d224d
23
24 diff --git a/dev-python/tifffile/tifffile-2022.5.4.ebuild b/dev-python/tifffile/tifffile-2022.5.4.ebuild
25 new file mode 100644
26 index 000000000000..c7b39355f0d6
27 --- /dev/null
28 +++ b/dev-python/tifffile/tifffile-2022.5.4.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 2021-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="Read and write TIFF files"
41 +HOMEPAGE="
42 + https://pypi.org/project/tifffile/
43 + https://github.com/cgohlke/tifffile/
44 + https://www.lfd.uci.edu/~gohlke/
45 +"
46 +SRC_URI="
47 + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}]
57 +"
58 +BDEPEND="
59 + test? (
60 + dev-python/dask[${PYTHON_USEDEP}]
61 + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}]
62 + dev-python/lxml[${PYTHON_USEDEP}]
63 + dev-python/xarray[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68 +
69 +EPYTEST_DESELECT=(
70 + # Internet
71 + tests/test_tifffile.py::test_class_omexml
72 + tests/test_tifffile.py::test_class_omexml_fail
73 + tests/test_tifffile.py::test_class_omexml_modulo
74 + tests/test_tifffile.py::test_class_omexml_attributes
75 + tests/test_tifffile.py::test_class_omexml_multiimage
76 + tests/test_tifffile.py::test_write_ome
77 + tests/test_tifffile.py::test_write_ome_manual
78 + # requires tons of free space
79 + tests/test_tifffile.py::test_write_3gb
80 + tests/test_tifffile.py::test_write_bigtiff
81 + 'tests/test_tifffile.py::test_write_imagej_raw'
82 +)