summaryrefslogtreecommitdiff
path: root/dev-python/scikit-image
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/scikit-image')
-rw-r--r--dev-python/scikit-image/Manifest3
-rw-r--r--dev-python/scikit-image/metadata.xml18
-rw-r--r--dev-python/scikit-image/scikit-image-0.26.0-r1.ebuild108
3 files changed, 0 insertions, 129 deletions
diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest
deleted file mode 100644
index e26c0bbaf727..000000000000
--- a/dev-python/scikit-image/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST scikit-image-data-5c090b56df3988d988ff97928e2ef2d2cbe38e1b.tar.bz2 156723295 BLAKE2B fb30104cfa823361f4306606b64b23c8aed349767c1bf86aa3ee8c17d3d593c2ffda7b2f0baabd1e856407d342fbbca9d485e897ec3c219b79dae2a059457604 SHA512 69107940bfcafc6e056192b718065d74fbaa7c5c9da78a2789cc55c24e51b6d4d936dded07c71dbb8dcedf409faa4e97bea3ae0f5c873c936767979102eedc3e
-DIST scikit_image-0.26.0.tar.gz 22729739 BLAKE2B 3c2b9c0a0de449e6ac41e9b7e4c26fd21a59402e6cf58280923bf5ea4e98cd8287371bb01e184626ac2948b24872d6f8865a6f566c1fc4a5880e4ef139ff0e46 SHA512 30df4fa366d6f9b936f62247734ea26992e6d9af60390cf4bb9d87665dcfb395d27b67a52bf1a89d01ed4fa8dd56357a199201feacd5181c7e7f363a2c898cc5
-DIST scikit_image-0.26.0.tar.gz.provenance 9692 BLAKE2B 299f3097d71aa3261de38b6fbf38db91bdad84e95ba09dca7aef754d925b6013fbf7d0cc0426883ce5d3d9df9058ad890cb4ec014b7fb6e383512f4d41aa48cc SHA512 8cf6fbc4afae139135707abfb7d77221d68318cfb9358c3119cea05fadf5d10064b1843a7e07010b4af67feb163962d67d9ecbb8f4fee907fdfe17ce14c8b57d
diff --git a/dev-python/scikit-image/metadata.xml b/dev-python/scikit-image/metadata.xml
deleted file mode 100644
index 132691d57cb8..000000000000
--- a/dev-python/scikit-image/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
- This SciKit (toolkit for SciPy) includes useful image processing
- algorithms for use with Python and NumPy. While SciPy’s ndimage
- provides low-level manipulation, scikits.image centres around
- algorithms and applications.
- </longdescription>
- <upstream>
- <remote-id type="pypi">scikit-image</remote-id>
- <remote-id type="github">scikit-image/scikit-image</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/scikit-image/scikit-image-0.26.0-r1.ebuild b/dev-python/scikit-image/scikit-image-0.26.0-r1.ebuild
deleted file mode 100644
index 5960f662da5b..000000000000
--- a/dev-python/scikit-image/scikit-image-0.26.0-r1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=meson-python
-DISTUTILS_EXT=1
-PYPI_VERIFY_REPO=https://github.com/scikit-image/scikit-image
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 optfeature pypi
-
-# the package refers to blobs directly, use the newest commit to get
-# them all
-TEST_DATA_COMMIT=5c090b56df3988d988ff97928e2ef2d2cbe38e1b
-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"
-if [[ ${PV} != *_rc* ]]; then
- KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-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}
- dev-python/pythran[${PYTHON_USEDEP}]
-"
-BDEPEND="
- >=dev-python/cython-3.0.4[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
-"
-
-# xdist does not work with this test suite
-EPYTEST_PLUGINS=( pytest-localserver )
-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() {
- # just useless formatter replacement
- rm tests/conftest.py || die
-
- # for some reason, upstream refetches data that's already in the tarball
- # sigh
- mkdir -p "${HOME}/.cache/scikit-image" || die
- mv src/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/" || 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
- tests/skimage/data/test_data.py::test_download_all_with_pooch
-
- # random deprecation warnings
- tests/skimage/io/test_pil.py::test_all_color
- tests/skimage/io/test_pil.py::test_all_mono
- 'tests/skimage/io/test_plugin.py::test_deprecation_warnings_on_plugin_funcs[call_plugin-args1]'
- )
-
- epytest
-}
-
-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
-}