summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-30 04:45:42 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-30 05:06:52 +0100
commit735524a34d3d45f7879a2d8e1b91117aed562764 (patch)
treeb9cde735564db8f37c26d811e0d370068058a041 /dev-python/tifffile
parentdev-python/pytest-httpx: Bump to 0.29.0 (diff)
downloadgentoo-735524a34d3d45f7879a2d8e1b91117aed562764.tar.gz
gentoo-735524a34d3d45f7879a2d8e1b91117aed562764.tar.bz2
gentoo-735524a34d3d45f7879a2d8e1b91117aed562764.zip
dev-python/tifffile: Bump to 2024.1.30
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tifffile')
-rw-r--r--dev-python/tifffile/Manifest1
-rw-r--r--dev-python/tifffile/tifffile-2024.1.30.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest
index e1bd007f946f..1b7618ec8353 100644
--- a/dev-python/tifffile/Manifest
+++ b/dev-python/tifffile/Manifest
@@ -1 +1,2 @@
DIST tifffile-2023.12.9.gh.tar.gz 343750 BLAKE2B c6f3ae05870bbd3fbf67915b2d88ad6662362c28842412449510df8162dc1eb0fd52adb322c4d163c5c3bbc61c182fde08bc38d7b7a4cf6df5554d8e89e6b6c9 SHA512 de51d75cff08f617d638dbd062940ddcd2b0a0ffb25d4670e8d68bd8bcf19ff299695d7b0c8248d5405bfb0015c539b3dacb5133816eace7d0e93cff4f0d2c00
+DIST tifffile-2024.1.30.gh.tar.gz 344378 BLAKE2B 7030219f88a5d4f6cc974a1a433bc10ad1bdcb395632e8b7034a681ddf4cf3b00fcd17df7ac2f4f9796980a74d140b9450f08f5535257b0a1ac05f17cb3c2031 SHA512 96a346c19ed252f8483c49a954bf84f9603b752d00292266131666e4a06ed4826677d9082eda4086d87eace8f3ce28909832267240d92affb810873b9d0a3fe1
diff --git a/dev-python/tifffile/tifffile-2024.1.30.ebuild b/dev-python/tifffile/tifffile-2024.1.30.ebuild
new file mode 100644
index 000000000000..7fa920736d10
--- /dev/null
+++ b/dev-python/tifffile/tifffile-2024.1.30.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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/dask[${PYTHON_USEDEP}]
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/xarray[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ tests/test_tifffile.py::test_class_omexml
+ tests/test_tifffile.py::test_class_omexml_fail
+ tests/test_tifffile.py::test_class_omexml_modulo
+ tests/test_tifffile.py::test_class_omexml_attributes
+ tests/test_tifffile.py::test_class_omexml_multiimage
+ tests/test_tifffile.py::test_write_ome
+ tests/test_tifffile.py::test_write_ome_manual
+ # requires tons of free space
+ tests/test_tifffile.py::test_write_3gb
+ tests/test_tifffile.py::test_write_5GB_bigtiff
+ tests/test_tifffile.py::test_write_5GB_fails
+ tests/test_tifffile.py::test_write_6gb
+ tests/test_tifffile.py::test_write_bigtiff
+ 'tests/test_tifffile.py::test_write_imagej_raw'
+ # TODO
+ tests/test_tifffile.py::test_issue_imagej_hyperstack_arg
+ tests/test_tifffile.py::test_issue_description_overwrite
+ # missing data again?
+ tests/test_tifffile.py::test_issue_trucated_tileoffsets
+)