summaryrefslogtreecommitdiff
path: root/dev-python/scikit-image
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-20 00:15:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-20 00:15:26 +0000
commit1534d50aaf24272ec425fa439389ef7e1f7bf174 (patch)
treec48ca34f49e5c335c0d06b96d9f09d4a74e144d5 /dev-python/scikit-image
parent2e512e4e32285f8c4eb19586d014cb9d31454ec9 (diff)
gentoo auto-resync : 20:02:2025 - 00:15:26
Diffstat (limited to 'dev-python/scikit-image')
-rw-r--r--dev-python/scikit-image/Manifest2
-rw-r--r--dev-python/scikit-image/scikit-image-0.25.2.ebuild96
2 files changed, 98 insertions, 0 deletions
diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest
index 4ac8a752a8a3..a1fa31ac5ee5 100644
--- a/dev-python/scikit-image/Manifest
+++ b/dev-python/scikit-image/Manifest
@@ -1,6 +1,8 @@
DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146
DIST scikit_image-0.25.0.tar.gz 22696477 BLAKE2B 6a19d10c8475e4975f9648befad410362b9cdfffcb2dd39c510d79f0498f33c305374996f4492b6f8b3d267da913f8f763d8834faae1a5949363f314f0a43fbd SHA512 b8954dd74177838f93e15f3f818868cac0f463fef420c1fabc297e691ff7c6bf2b243715b562054d38ef7fa3483eebe5f95a9e045974bcee136b32a283e1902f
DIST scikit_image-0.25.1.tar.gz 22697578 BLAKE2B ff4533d3d705f4dbb919578af3a976e1e09c1dadbcb26b15fe421aefe9cd1ce0d891a268844a21c47696db69470ffd6951db918496149accee47100c7d42521c SHA512 ede7fa3fdfda2440e5590a14b46b161418da3908674158b8592299d0b611913cdf4821761fcab6673470a33d178ec336d4d60d03fb9a072ed23e4f178a3eb0d8
+DIST scikit_image-0.25.2.tar.gz 22693594 BLAKE2B 238b44c120c53c10d98fc79c9ccb81770297a16156ba2d4d52cfa4731252aa205698caac384b8569c4b52ed2eb0e61500facff00c238a3212ecd7ba9b86db3da SHA512 8977585f7695d10df52d243d9fafdba2e04b5f4d4fe698dd9353bdffc4de21ad61053f55a46ed6350d5de8f1cd7dab969d45b85613a0e5fdb0b28a84c72551a9
EBUILD scikit-image-0.25.0.ebuild 3244 BLAKE2B d23333b2990fa3be199f8e207d62e2ddc8481b0394fa75cde9f282a212ef5b7be8ae452556332ded422c36df5e2d912147073fd79ef80d477c814d38a101c8b7 SHA512 bec5b3e45adebb3be880c0962b09d7c51a49ae5e749f95f5456c9a37a903518a6808cc32de023a96ec364b64ae96d7ff212a5214984aef4d3e3dd71b8464302a
EBUILD scikit-image-0.25.1.ebuild 3244 BLAKE2B 5cb6789d2f5b3a648c6eebc0b59b0641294da408c49e03640395a9952495872cc15e252d19e13cc2cb2934642a97db81ba1bbe1c734de29adb4dc139c6a52add SHA512 84c1004632cdb994b7065ade14d67738a909e23cccb0fec5fbab3dbf0bd61c46d36289f4f53e2338474e14a7dbd4450003f5fae4e57bf26099f2324058704440
+EBUILD scikit-image-0.25.2.ebuild 3244 BLAKE2B 7ca9e3c4a6577090b26b4bdad7e1aa6dd544e98464126a986e5404859f71f3c8c724d019eeb52a4bdc48d5108ea935141422c78b5452869a1fe4a29700198a41 SHA512 dd21f5cfa3e468f9d51a6ae39409e6572bd409ed4ba5e4bbde39b79fd24b9a540ebcbf2fe911d56bec12a2ef73b33a87bfe5ce1d2d6d44e542b6bf0be9a738d9
MISC metadata.xml 695 BLAKE2B 11487b964bde2ce1a39a8680bc3cc62045c4a7e2e17844de830d5f0e043660c431cd002a2a0fc19acb4c0262289ee280195475dd1f8b35f6a51ce0df369871f8 SHA512 fca83587d443373fc7219911900105676bdba5a7ced07ac00a9ab5cbe361d8ca1175b02b04fa53cdbde6f198a986b21f989baf32139cd76b7d1b2b78034d3142
diff --git a/dev-python/scikit-image/scikit-image-0.25.2.ebuild b/dev-python/scikit-image/scikit-image-0.25.2.ebuild
new file mode 100644
index 000000000000..d45f72935f71
--- /dev/null
+++ b/dev-python/scikit-image/scikit-image-0.25.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=meson-python
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 optfeature pypi
+
+TEST_DATA_COMMIT=15735b54e85c02427f07c71e6456723495034805
+DESCRIPTION="Image processing routines for SciPy"
+HOMEPAGE="
+ https://scikit-image.org/
+ https://github.com/scikit-image/scikit-image/
+ https://pypi.org/project/scikit-image/
+"
+SRC_URI+="
+ test? (
+ https://gitlab.com/scikit-image/data/-/archive/${TEST_DATA_COMMIT}/scikit-image-data-${TEST_DATA_COMMIT}.tar.bz2
+ )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/imageio-2.36[${PYTHON_USEDEP}]
+ >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}]
+ >=dev-python/networkx-3.0[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.24[${PYTHON_USEDEP}]
+ >=dev-python/pillow-10.1[${PYTHON_USEDEP}]
+ >=dev-python/scipy-1.11.4[sparse(+),${PYTHON_USEDEP}]
+ >=dev-python/tifffile-2022.8.12[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-python/cython-3.0.4[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-localserver[${PYTHON_USEDEP}]
+ )
+"
+
+# xdist does not work with this test suite
+distutils_enable_tests pytest
+# There is a programmable error in your configuration file:
+#distutils_enable_sphinx doc/source dev-python/numpydoc dev-python/myst-parser
+
+src_test() {
+ # for some reason, upstream refetches data that's already in the tarball
+ # sigh
+ mkdir -p "${HOME}/.cache/scikit-image" || die
+ mv skimage "${HOME}/.cache/scikit-image/${PV/_/}" || die
+
+ # This is a true horror, sigh
+ local cache_dir=${HOME}/.cache/scikit-image/${PV/_/}/data
+ pushd "${WORKDIR}/data-${TEST_DATA_COMMIT}" >/dev/null || die
+ cp Tests_besides_Equalize_Otsu/add18_entropy/rank_filters_tests_3d.npz \
+ Tests_besides_Equalize_Otsu/gray_morph_output.npz \
+ brain.tiff cells3d.tif eagle.png \
+ "${cache_dir}/" || die
+ cp Normal_Epidermis_and_Dermis_with_Intradermal_Nevus_10x.JPG "${cache_dir}"/skin.jpg || die
+ cp pivchallenge/B/B001_1.tif "${cache_dir}"/pivchallenge-B-B001_1.tif || die
+ cp pivchallenge/B/B001_2.tif "${cache_dir}"/pivchallenge-B-B001_2.tif || die
+ cp kidney-tissue-fluorescence.tif "${cache_dir}"/kidney.tif || die
+ cp lily-of-the-valley-fluorescence.tif "${cache_dir}"/lily.tif || die
+ cp astronaut_rl.npy "${cache_dir}/../restoration/tests/" || die
+ popd > /dev/null || die
+
+ distutils-r1_src_test
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # tests for downloading all data files, including these not needed
+ # by any actual tests
+ data/tests/test_data.py::test_download_all_with_pooch
+ # hangs? TODO
+ graph/tests/test_rag.py::test_reproducibility
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest --pyargs skimage -p localserver -o xfail_strict=False
+}
+
+pkg_postinst() {
+ optfeature "FITS io capability" dev-python/astropy
+ optfeature "GTK" dev-python/pygtk
+ optfeature "io plugin providing most standard formats" dev-python/imread
+ optfeature "plotting" dev-python/matplotlib
+ optfeature "wavelet transformations" dev-python/pywavelets
+ optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk
+}