diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-13 12:56:05 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-13 12:57:28 +0200 |
commit | 63fee1bfbad880001446a6a18073cb1da826d780 (patch) | |
tree | fd35edec3ba83764712118fcd1814d4628527e6b /sci-libs | |
parent | sci-libs/scikit-learn: add 1.1.1 (diff) | |
download | gentoo-63fee1bfbad880001446a6a18073cb1da826d780.tar.gz gentoo-63fee1bfbad880001446a6a18073cb1da826d780.tar.bz2 gentoo-63fee1bfbad880001446a6a18073cb1da826d780.zip |
sci-libs/scikit-image: add 0.19.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikit-image/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/scikit-image/scikit-image-0.19.2.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sci-libs/scikit-image/Manifest b/sci-libs/scikit-image/Manifest index d57469885f1b..aa4ac1569df6 100644 --- a/sci-libs/scikit-image/Manifest +++ b/sci-libs/scikit-image/Manifest @@ -1,2 +1,3 @@ DIST scikit-image-0.17.2.tar.gz 29818001 BLAKE2B 360c5f8c23b8441d145029c09a3b1d1407d4103463497c63274583e6c03d1fc57baa3e6c53909cfaa5daba54d5909fc106e84dc7036f0240ad8de93804ef9f65 SHA512 3ca2511f03d533ac7f1850d72de396dc5493831bce6200f30d426c3f47eff9b25ec9b69e141100dc56e03f2310aab255f92ff4aff8bc7b80d15d669cbe2ebb5e DIST scikit-image-0.19.1.tar.gz 22225936 BLAKE2B 86aca2f120c12178d64fd62bce2b5272fc6df345789ed4b1ddee705384e583c7070af7bf885d47ae6769bbfb0676bfeef7fc431abfb10e1618594f31a27a7de8 SHA512 d7ccd4172abc07843a17a2de40240790cbeeb4177c7948cbf74663363ec9cecd3e40e70a245795d88ace57699e178f159198862b4c503fcb3fff95e8ef8f4ed9 +DIST scikit-image-0.19.2.tar.gz 22231106 BLAKE2B b99aa3e70ef01bb8964ed1ec98d14feea87bdef61a9d8590298391f7ead95ba89b287a07e2688e4fa0173ce97c43127c7b0d4b5356ca9d5ea9c2ed596ce99a3a SHA512 366d3e88842fab4febc4bd7dedf8a18a930a36437ea34e8cbe41c6bcfd3d5f59d496856b1a8d3a2f7fc1117563c162209677f2c5776066acc51783aab164db10 diff --git a/sci-libs/scikit-image/scikit-image-0.19.2.ebuild b/sci-libs/scikit-image/scikit-image-0.19.2.ebuild new file mode 100644 index 000000000000..ab2d264aa8f2 --- /dev/null +++ b/sci-libs/scikit-image/scikit-image-0.19.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature + +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE="https://scikit-image.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/imageio[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pywavelets[${PYTHON_USEDEP}] + dev-python/scipy[sparse,${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" + +DOCS=( CONTRIBUTORS.txt RELEASE.txt ) + +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 + +python_test() { + # This needs to be run in the install dir + cd "${WORKDIR}/${P}-${EPYTHON//./_}/install/usr/lib/${EPYTHON}/site-packages/skimage" || die + distutils-r1_python_test +} + +pkg_postinst() { + optfeature "FITS io capability" dev-python/astropy + optfeature "GTK" dev-python/pygtk + optfeature "Parallel computation" dev-python/dask + optfeature "io plugin providing most standard formats" dev-python/imread + # not in portage yet + #optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk +} |