From d6ca4e4f90cb75c323b5988eefa96a04c0d36908 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jun 2024 00:10:57 +0100 Subject: gentoo auto-resync : 20:06:2024 - 00:10:56 --- dev-python/scikit-image/Manifest | 4 +- dev-python/scikit-image/scikit-image-0.23.1.ebuild | 96 ---------------------- dev-python/scikit-image/scikit-image-0.24.0.ebuild | 96 ++++++++++++++++++++++ 3 files changed, 98 insertions(+), 98 deletions(-) delete mode 100644 dev-python/scikit-image/scikit-image-0.23.1.ebuild create mode 100644 dev-python/scikit-image/scikit-image-0.24.0.ebuild (limited to 'dev-python/scikit-image') diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest index 47d27143bed5..78106b3926a9 100644 --- a/dev-python/scikit-image/Manifest +++ b/dev-python/scikit-image/Manifest @@ -1,6 +1,6 @@ DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146 -DIST scikit_image-0.23.1.tar.gz 22676819 BLAKE2B 2d02bab4f8d6217c842f428a6758d467393a73a05ac741a49cd27fa6ee48335cf8fed4cc104296388d0e23c61ac3603f72d7bab44986c0d3d4073da383f89726 SHA512 7450387c3adcac15148c3ae4f43fd7da97ceabf3522302b7f3ab4cd02e5a9ec2cd9623f29e4aec3bb47668a231e0900724804619bb91aaaf97283d29c34392e6 DIST scikit_image-0.23.2.tar.gz 22678261 BLAKE2B 11c44676e9f7bce7735e85d8416175a55b1808807b99597d60495dc2b0c961a05a514b5ec456665a25d31cc09a20e430c331cfd5bc10afa01ca4070722aa03f8 SHA512 8abf6c2bb92a75524d254265822cdc49db636a482efe0d6459fc113f6898bc5c19ad58905a5020a9c4262f55993ad2e8d13810023c62d06c5ee9854666f5337f -EBUILD scikit-image-0.23.1.ebuild 3215 BLAKE2B be34b34b47c26ac9e5756cc76d1ed7b2cc588a2c8acb31629db966fdb525e083b1bf7a776d132de256904d61e524f88a73bbd1d587ac7feb94a3ac8e0beaafb0 SHA512 ec3d7530beb99c996f94f4b23f85bfa5df98a2bb5ce5ee2e2d7d50992d1b1d419f3222b0a0b7dd9b3c5fcae936f87c7b9c91570f5e866153f58c9bf1e6fb04a1 +DIST scikit_image-0.24.0.tar.gz 22693928 BLAKE2B f165f702908fe446b459de3db0ec056a4b79d7266f85bc81c991569c1e492c22d238e8553d8f035abd83d4d3c4b449304e74b55d8bf558cac977c3ea5f0c864a SHA512 becb062725b4c1f64e12a1f775175e48dbce1b989c1e8f40ec04ff79cb926740be514b9a0a68e3f9e17fb0d3c7b860c7451b91eb178bbae93521e02e3e8e92db EBUILD scikit-image-0.23.2.ebuild 3215 BLAKE2B be34b34b47c26ac9e5756cc76d1ed7b2cc588a2c8acb31629db966fdb525e083b1bf7a776d132de256904d61e524f88a73bbd1d587ac7feb94a3ac8e0beaafb0 SHA512 ec3d7530beb99c996f94f4b23f85bfa5df98a2bb5ce5ee2e2d7d50992d1b1d419f3222b0a0b7dd9b3c5fcae936f87c7b9c91570f5e866153f58c9bf1e6fb04a1 +EBUILD scikit-image-0.24.0.ebuild 3215 BLAKE2B be34b34b47c26ac9e5756cc76d1ed7b2cc588a2c8acb31629db966fdb525e083b1bf7a776d132de256904d61e524f88a73bbd1d587ac7feb94a3ac8e0beaafb0 SHA512 ec3d7530beb99c996f94f4b23f85bfa5df98a2bb5ce5ee2e2d7d50992d1b1d419f3222b0a0b7dd9b3c5fcae936f87c7b9c91570f5e866153f58c9bf1e6fb04a1 MISC metadata.xml 695 BLAKE2B 11487b964bde2ce1a39a8680bc3cc62045c4a7e2e17844de830d5f0e043660c431cd002a2a0fc19acb4c0262289ee280195475dd1f8b35f6a51ce0df369871f8 SHA512 fca83587d443373fc7219911900105676bdba5a7ced07ac00a9ab5cbe361d8ca1175b02b04fa53cdbde6f198a986b21f989baf32139cd76b7d1b2b78034d3142 diff --git a/dev-python/scikit-image/scikit-image-0.23.1.ebuild b/dev-python/scikit-image/scikit-image-0.23.1.ebuild deleted file mode 100644 index 2ec63290c17b..000000000000 --- a/dev-python/scikit-image/scikit-image-0.23.1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 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..12} ) - -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.33[${PYTHON_USEDEP}] - >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}] - >=dev-python/networkx-2.8[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23[${PYTHON_USEDEP}] - >=dev-python/pillow-9.1[${PYTHON_USEDEP}] - >=dev-python/scipy-1.9[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}] - ) -" - -DOCS=( CONTRIBUTORS.txt RELEASE.txt ) - -# 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 - ) - - 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 -} diff --git a/dev-python/scikit-image/scikit-image-0.24.0.ebuild b/dev-python/scikit-image/scikit-image-0.24.0.ebuild new file mode 100644 index 000000000000..2ec63290c17b --- /dev/null +++ b/dev-python/scikit-image/scikit-image-0.24.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 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..12} ) + +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.33[${PYTHON_USEDEP}] + >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}] + >=dev-python/networkx-2.8[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1[${PYTHON_USEDEP}] + >=dev-python/scipy-1.9[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}] + ) +" + +DOCS=( CONTRIBUTORS.txt RELEASE.txt ) + +# 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 + ) + + 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 +} -- cgit v1.2.3