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: Fri, 08 Apr 2022 21:18:21
Message-Id: 1649452688.9d8ea8b0f0fed1d031ec3f672f7fe72f02bfc5ab.mgorny@gentoo
1 commit: 9d8ea8b0f0fed1d031ec3f672f7fe72f02bfc5ab
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 8 20:54:39 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 21:18:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8ea8b0
7
8 dev-python/tifffile: Bump to 2022.4.8
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.4.8.ebuild | 53 ++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
17 index a6d075151da1..394b532caf01 100644
18 --- a/dev-python/tifffile/Manifest
19 +++ b/dev-python/tifffile/Manifest
20 @@ -1,2 +1,3 @@
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 +DIST tifffile-2022.4.8.gh.tar.gz 266725 BLAKE2B 3ac30337c1c7f26e32335a6d7756b4bf2d961f1e96badbc4ca8e9e5ee344513c61900d507f4098e4f5181b2c95134d0a74b646ce611cf9d3d3b5cc644ed70809 SHA512 1d12ca48dcc9fd8de5f3aa28cdd64a7735493b957d174f8ae49cb8a918075e6b50d4034ad9507d3b9ddd8ed1c595ec9fdace0986421b1993371cfe045698d578
24
25 diff --git a/dev-python/tifffile/tifffile-2022.4.8.ebuild b/dev-python/tifffile/tifffile-2022.4.8.ebuild
26 new file mode 100644
27 index 000000000000..c7b39355f0d6
28 --- /dev/null
29 +++ b/dev-python/tifffile/tifffile-2022.4.8.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 2021-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Read and write TIFF files"
42 +HOMEPAGE="
43 + https://pypi.org/project/tifffile/
44 + https://github.com/cgohlke/tifffile/
45 + https://www.lfd.uci.edu/~gohlke/
46 +"
47 +SRC_URI="
48 + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +
56 +RDEPEND="
57 + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + test? (
61 + dev-python/dask[${PYTHON_USEDEP}]
62 + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}]
63 + dev-python/lxml[${PYTHON_USEDEP}]
64 + dev-python/xarray[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +distutils_enable_tests pytest
69 +
70 +EPYTEST_DESELECT=(
71 + # Internet
72 + tests/test_tifffile.py::test_class_omexml
73 + tests/test_tifffile.py::test_class_omexml_fail
74 + tests/test_tifffile.py::test_class_omexml_modulo
75 + tests/test_tifffile.py::test_class_omexml_attributes
76 + tests/test_tifffile.py::test_class_omexml_multiimage
77 + tests/test_tifffile.py::test_write_ome
78 + tests/test_tifffile.py::test_write_ome_manual
79 + # requires tons of free space
80 + tests/test_tifffile.py::test_write_3gb
81 + tests/test_tifffile.py::test_write_bigtiff
82 + 'tests/test_tifffile.py::test_write_imagej_raw'
83 +)