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: Thu, 16 Mar 2023 03:33:29
Message-Id: 1678935948.e5110eb5863e281d5d426b81ba9465fb9cfa5e8a.mgorny@gentoo
1 commit: e5110eb5863e281d5d426b81ba9465fb9cfa5e8a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 16 03:05:48 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 03:05:48 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5110eb5
7
8 dev-python/tifffile: Bump to 2023.3.15
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tifffile/Manifest | 1 +
13 dev-python/tifffile/tifffile-2023.3.15.ebuild | 60 +++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
17 index a7ffb80bdb8a..aa15d2bd8a89 100644
18 --- a/dev-python/tifffile/Manifest
19 +++ b/dev-python/tifffile/Manifest
20 @@ -1 +1,2 @@
21 DIST tifffile-2023.2.28.gh.tar.gz 326769 BLAKE2B e7495832d4fbcfa524a5e1aa4f34663378aa3a7d05743e0a564e008a052b8eb1f9ad5a26fbf89064947957ae6029ab6a51ea8669eb785a188443fffa1947ff98 SHA512 b9e2e58c03937aa839f83ac7b3126fe4d4f0eab4fa6d09dc88380e2f894497ab65d9bb7ca9947170ccd9026531e23e99252db4fb9c61b44c891297c2df197751
22 +DIST tifffile-2023.3.15.gh.tar.gz 331071 BLAKE2B 4bb1f725bd38523dd60383aab530c8e8ec25a71fc5e9350cc77023ab2ce4bd8c5d85dc97a50144fc0148710be8bd7b0f8b5f20d4e2f9a85b541cc9b0e41ebfaa SHA512 b7f8f5a0a4dbacc409a39b1906104ee0024e7275ca1d7dd4cf3137b29dc38ef13103719ab191f7b61e2ef939e734d7442977d5f3a2c6560a1ce0361cd488ca7c
23
24 diff --git a/dev-python/tifffile/tifffile-2023.3.15.ebuild b/dev-python/tifffile/tifffile-2023.3.15.ebuild
25 new file mode 100644
26 index 000000000000..66babf481615
27 --- /dev/null
28 +++ b/dev-python/tifffile/tifffile-2023.3.15.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 2021-2023 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_{10..11} )
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.cgohlke.com/
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/defusedxml[${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_5GB_bigtiff
82 + tests/test_tifffile.py::test_write_5GB_fails
83 + tests/test_tifffile.py::test_write_6gb
84 + tests/test_tifffile.py::test_write_bigtiff
85 + 'tests/test_tifffile.py::test_write_imagej_raw'
86 + # TODO
87 + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg
88 + tests/test_tifffile.py::test_issue_description_overwrite
89 +)