From ecbb3e37494d2ac053fa8eb07688bf59fccf64fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 16 May 2026 07:56:22 +0200 Subject: [PATCH] dev-python/tifffile: Bump to 2026.5.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/tifffile/Manifest | 1 + dev-python/tifffile/tifffile-2026.5.15.ebuild | 56 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-python/tifffile/tifffile-2026.5.15.ebuild diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 2de12161aa005..2830f8be03235 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1 +1,2 @@ +DIST tifffile-2026.5.15.gh.tar.gz 419120 BLAKE2B 74123ffec24cce3c2f5a18a26313944d2f312bdfbfd6e1e60948f94ad2c7ee92e11be9685a143a274432c7d776827ce2d9ff70f32ee8c2d76cc322578d063992 SHA512 59f29d4ff1c084c0cb897dcc8f1b41ef28798c460619bdde1af75d03d49e0590c9686cf4829c58857d342c194b3f1a3c5a4c179b81f614815338c58b23784b37 DIST tifffile-2026.5.2.gh.tar.gz 418416 BLAKE2B 5124b18e50336d27427e8fdbc4ace8b806947c344bc19b42aad7945d2964559ca2df0ee3c9e8ce280a3346a1426f2528200cb0277bb861d2b840f4dec1e5c7d9 SHA512 bd81296ac64ef446f1ee83fd22a46d5863cf77550024027df8f6768ee4a48fab424e4d471732f975cf41f39c3604f13003a947934bbef1ad312ff39d366b4ba8 diff --git a/dev-python/tifffile/tifffile-2026.5.15.ebuild b/dev-python/tifffile/tifffile-2026.5.15.ebuild new file mode 100644 index 0000000000000..637e43979e1e8 --- /dev/null +++ b/dev-python/tifffile/tifffile-2026.5.15.ebuild @@ -0,0 +1,56 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-2.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # not marked properly + # https://github.com/cgohlke/tifffile/pull/308 + tests/test_tifffile.py::test_issue_dcp + # meaningless and broken on py<3.13 + # https://github.com/cgohlke/tifffile/pull/309 + tests/test_tifffile.py::test_gil_enabled + ) + + local -x SKIP_LARGE=1 + local -x SKIP_HTTP=1 + + epytest +}