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: Sat, 26 Mar 2022 10:37:55
Message-Id: 1648291056.d212898413f7c936e243d0ed64d812711fe5a624.mgorny@gentoo
1 commit: d212898413f7c936e243d0ed64d812711fe5a624
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 09:54:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 10:37:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2128984
7
8 dev-python/tifffile: Bump to 2022.3.25
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.3.25.ebuild | 52 +++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
17 index 0267cf48b0ee..a6d075151da1 100644
18 --- a/dev-python/tifffile/Manifest
19 +++ b/dev-python/tifffile/Manifest
20 @@ -1 +1,2 @@
21 DIST tifffile-2022.3.16.gh.tar.gz 263653 BLAKE2B fcd30e2fd38a12438332badb17e937ab095a8088f9c878b84166a67c7486f436a76d39832df22362f7a74de5da537602da82c982fb4dc0699fba1603adefdcef SHA512 8069a87b241cbb11b3efa8ff679106f2f11ff9045d790fb1612076a60b87791f30afffb55b57d19b70ab4441935f418ad91fb0956ab572890704023e63dea84a
22 +DIST tifffile-2022.3.25.gh.tar.gz 265082 BLAKE2B dd5f3705cb7203fe943b97a5ed5c000b44abf48ec748f38a1468e27e82bd980e4100dd14af5cfd6af5bdee9d0036c5dce37efca1e515f2eb283c0e221150915a SHA512 dc9018991989ca4b89be6f315aaa45ff2fb94c504dd4c1790af1ec68e05a1da85560f5098df2f460b726cea0d4b0e4fc3f12d493dc1a1db8e2cc35d86f547ddf
23
24 diff --git a/dev-python/tifffile/tifffile-2022.3.25.ebuild b/dev-python/tifffile/tifffile-2022.3.25.ebuild
25 new file mode 100644
26 index 000000000000..bcfdee9f5d5f
27 --- /dev/null
28 +++ b/dev-python/tifffile/tifffile-2022.3.25.ebuild
29 @@ -0,0 +1,52 @@
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 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +
68 +EPYTEST_DESELECT=(
69 + # Internet
70 + tests/test_tifffile.py::test_class_omexml
71 + tests/test_tifffile.py::test_class_omexml_fail
72 + tests/test_tifffile.py::test_class_omexml_modulo
73 + tests/test_tifffile.py::test_class_omexml_attributes
74 + tests/test_tifffile.py::test_class_omexml_multiimage
75 + tests/test_tifffile.py::test_write_ome
76 + tests/test_tifffile.py::test_write_ome_manual
77 + # requires tons of free space
78 + tests/test_tifffile.py::test_write_3gb
79 + tests/test_tifffile.py::test_write_bigtiff
80 + 'tests/test_tifffile.py::test_write_imagej_raw'
81 +)