dev-python/tifffile: Bump to 2026.4.11

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-12 17:12:34 +02:00
parent 52224c0d31
commit d3edb04920
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST tifffile-2026.3.3.gh.tar.gz 378440 BLAKE2B 67b6bb348cb911df0f1d9d15d36987feb498a81f7dd5b991c2d51affe0f1416d5a8d96be31a22a724a17cca204a44872257e42916d9a06b06f28ffd1d850bb9e SHA512 40968255d968ed0fbc90488142852f43d309fddd8df9e1a58b78efdbaca20efb1b9e6c09852135162cce99aea95fd8a7da89db4fa15aecfadef5917c99c77d69
DIST tifffile-2026.4.11.gh.tar.gz 383825 BLAKE2B 6a0b61f2d00557d67c94a0924b6ca2b5e2098249555ec8b555013bee8d1102af8ae6bf7aac858b899cc615be7c11d946ed495b8bfc432e07eea798acd120a807 SHA512 58a7242d70b0260e1f7a25ac12bb19e898369a8b53fa5cd4967b2edea8566e077ae149ce4707ac4a71e07581e14cb20b6d6b659a27235fd454e587c02d8a2909

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-1.19.2[${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
}