mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-python/tifffile: Bump to 2026.5.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST tifffile-2026.4.11.gh.tar.gz 383825 BLAKE2B 6a0b61f2d00557d67c94a0924b6ca2b5e2098249555ec8b555013bee8d1102af8ae6bf7aac858b899cc615be7c11d946ed495b8bfc432e07eea798acd120a807 SHA512 58a7242d70b0260e1f7a25ac12bb19e898369a8b53fa5cd4967b2edea8566e077ae149ce4707ac4a71e07581e14cb20b6d6b659a27235fd454e587c02d8a2909
|
||||
DIST tifffile-2026.5.2.gh.tar.gz 418416 BLAKE2B 5124b18e50336d27427e8fdbc4ace8b806947c344bc19b42aad7945d2964559ca2df0ee3c9e8ce280a3346a1426f2528200cb0277bb861d2b840f4dec1e5c7d9 SHA512 bd81296ac64ef446f1ee83fd22a46d5863cf77550024027df8f6768ee4a48fab424e4d471732f975cf41f39c3604f13003a947934bbef1ad312ff39d366b4ba8
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user