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, 02 Mar 2023 05:13:20
Message-Id: 1677732922.ac8c878d90c990df9c15dc2d081eb41404eeea33.mgorny@gentoo
1 commit: ac8c878d90c990df9c15dc2d081eb41404eeea33
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 04:55:22 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 04:55:22 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8c878d
7
8 dev-python/tifffile: Bump to 2023.2.28
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.2.28.ebuild | 60 +++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
17 index bfc44b8c4c52..5a5486fe9bf0 100644
18 --- a/dev-python/tifffile/Manifest
19 +++ b/dev-python/tifffile/Manifest
20 @@ -1,2 +1,3 @@
21 DIST tifffile-2023.2.27.gh.tar.gz 326444 BLAKE2B 8c5081b7434329181d5f6df416b739c43d24ff9a9c3dc2ac4b3d6d6dd5ba165290d224648e5e6b4f46bd611c85204114f8b563cb110b7b50ba73aefd0e427f2e SHA512 97ba6b6ac469e4ab92822fd51dc45ebc00776834e5b171679abed24448d5be479a06e5e401bd055a21029641668f63912246b93f15424a3b268733729515452e
22 +DIST tifffile-2023.2.28.gh.tar.gz 326769 BLAKE2B e7495832d4fbcfa524a5e1aa4f34663378aa3a7d05743e0a564e008a052b8eb1f9ad5a26fbf89064947957ae6029ab6a51ea8669eb785a188443fffa1947ff98 SHA512 b9e2e58c03937aa839f83ac7b3126fe4d4f0eab4fa6d09dc88380e2f894497ab65d9bb7ca9947170ccd9026531e23e99252db4fb9c61b44c891297c2df197751
23 DIST tifffile-2023.2.3.gh.tar.gz 324906 BLAKE2B b9417ea561de7a185f1a57a6f36a6efde12caa85cd15fd787ae1ca50e73d328f83ec6cd196042d3a11a62706ac27bfad8ecc42e0a235201ee208fdb95d942c16 SHA512 f73dd77c149afa976ac468f0fac37a1bafe35ae4bcb377a91e7922573237805cdc6e00cbcd7bb78f3213a9da4878ec020a058567523b9a4c5958e013f9bdc94b
24
25 diff --git a/dev-python/tifffile/tifffile-2023.2.28.ebuild b/dev-python/tifffile/tifffile-2023.2.28.ebuild
26 new file mode 100644
27 index 000000000000..66babf481615
28 --- /dev/null
29 +++ b/dev-python/tifffile/tifffile-2023.2.28.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 2021-2023 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_{10..11} )
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.cgohlke.com/
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/defusedxml[${PYTHON_USEDEP}]
63 + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}]
64 + dev-python/lxml[${PYTHON_USEDEP}]
65 + dev-python/xarray[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +distutils_enable_tests pytest
70 +
71 +EPYTEST_DESELECT=(
72 + # Internet
73 + tests/test_tifffile.py::test_class_omexml
74 + tests/test_tifffile.py::test_class_omexml_fail
75 + tests/test_tifffile.py::test_class_omexml_modulo
76 + tests/test_tifffile.py::test_class_omexml_attributes
77 + tests/test_tifffile.py::test_class_omexml_multiimage
78 + tests/test_tifffile.py::test_write_ome
79 + tests/test_tifffile.py::test_write_ome_manual
80 + # requires tons of free space
81 + tests/test_tifffile.py::test_write_3gb
82 + tests/test_tifffile.py::test_write_5GB_bigtiff
83 + tests/test_tifffile.py::test_write_5GB_fails
84 + tests/test_tifffile.py::test_write_6gb
85 + tests/test_tifffile.py::test_write_bigtiff
86 + 'tests/test_tifffile.py::test_write_imagej_raw'
87 + # TODO
88 + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg
89 + tests/test_tifffile.py::test_issue_description_overwrite
90 +)