summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-13 08:19:40 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-13 08:19:40 +0100
commit8a756567383be558137596fd0fa31046f0c09674 (patch)
tree87f961642ab940c40f5879ad6b7fa32166b8a193 /dev-python
parent0f174d06fa65f91df710669dce9d4aed67d1eb57 (diff)
downloadgentoo-8a756567383be558137596fd0fa31046f0c09674.tar.gz
gentoo-8a756567383be558137596fd0fa31046f0c09674.tar.bz2
gentoo-8a756567383be558137596fd0fa31046f0c09674.zip
dev-python/tifffile: Bump to 2025.12.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/tifffile/Manifest1
-rw-r--r--dev-python/tifffile/tifffile-2025.12.12.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
index 7d6da01852e6..2deafec7d4c8 100644
--- a/dev-python/tifffile/Manifest
+++ b/dev-python/tifffile/Manifest
@@ -1 +1,2 @@
DIST tifffile-2025.10.16.gh.tar.gz 362127 BLAKE2B df4b16596110f7db0ea6c2f371a14e4dc92f45a3337535c7f276c20c3daf7845eb90f5874f8a9281b226cafc085ef2725d6004e80b9aacb015a7aabee50ef402 SHA512 066817c268f4a3207261857b24ba2d2b7f100aedd1947d8b0d8b0a54a0dee6cb71ca0213555ab598457d2d98bda09f4cd57ec8c76b03024e2727a8b7e9b95588
+DIST tifffile-2025.12.12.gh.tar.gz 364067 BLAKE2B 7d790b7e27ff3975167a689ebd9011fc5a885d5d92c85083dfc11792391ef1bdf68682ff14c2aaa230601ae5793d668648fbd05d741c27e27a94a0987fa92e18 SHA512 87554790ae69b0e6a5cfb3b352df56a885c37f0d491ebf996bec13b2b5d9aa4ab6f57f514d81db967632a6f8e9d64cb92c90b7539ac931eae3147fb9183f6d5b
diff --git a/dev-python/tifffile/tifffile-2025.12.12.ebuild b/dev-python/tifffile/tifffile-2025.12.12.ebuild
new file mode 100644
index 000000000000..fa979d88561c
--- /dev/null
+++ b/dev-python/tifffile/tifffile-2025.12.12.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+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
+}