summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/tifffile/Manifest1
-rw-r--r--dev-python/tifffile/tifffile-2025.2.18.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
index 4a50732f6b89..c40e053f43fe 100644
--- a/dev-python/tifffile/Manifest
+++ b/dev-python/tifffile/Manifest
@@ -1,2 +1,3 @@
DIST tifffile-2024.12.12.gh.tar.gz 354766 BLAKE2B f4f6a8be64a16dd2c34b9f1f80ac390a7211515f0b96b54a43e132b0040130689e6e7eccd1668ec7f112bc204efb89cfc9f5cc4d37f6168d8e64fa9c82c8b371 SHA512 ef4895739304d6cb0cb9f6af0156da1915105ab5a10dbb07e52ee7168b7bbd9f6f7e8f5d291aa6cb52df48d25064fb6f9a73495c8b80969048d64c05dcd74ff5
DIST tifffile-2025.1.10.gh.tar.gz 354970 BLAKE2B c646ea217a66b24f7afb8a4de86d2cecf9707caf94e8c8f82012bcb6cae89b49e37866c963900238c4f941ea31c66683db1cd7f0e9f531af62e1dd228c40d4da SHA512 568f0be93e84321a3dc2bed91a2f32477813d9416e356c9c9e139dbe628dfebb2ea3c395b6e5fd7bf9bdc681db0fa1eb0b0a82b502ea5afb9010d11558851ae1
+DIST tifffile-2025.2.18.gh.tar.gz 354422 BLAKE2B 1ff38102d337396b2b0bd0daf4ce1e63a349eb59249c84734e4d7ad435560adc783991e84db712046917915b8529a58060474f4d89a6e45d0b8e95514d6a81f0 SHA512 f9a5d6efbf4560efcc231c4c0188088e3fa31643874539e36b6be25c74969ce105111224e6d3d262041a1aa8efeaf2abf05bd66c32742ba9ae195a0c7c2a86c4
diff --git a/dev-python/tifffile/tifffile-2025.2.18.ebuild b/dev-python/tifffile/tifffile-2025.2.18.ebuild
new file mode 100644
index 000000000000..acb6ec9229bb
--- /dev/null
+++ b/dev-python/tifffile/tifffile-2025.2.18.ebuild
@@ -0,0 +1,47 @@
+# 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_{10..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_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local -x SKIP_LARGE=1
+ local -x SKIP_HTTP=1
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}