dev-python/tifffile: Bump to 2026.5.15

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-16 07:56:22 +02:00
parent 20622536b0
commit ecbb3e3749
2 changed files with 57 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}