diff options
Diffstat (limited to 'sci-libs/scikit-image/scikit-image-0.17.2.ebuild')
-rw-r--r-- | sci-libs/scikit-image/scikit-image-0.17.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-libs/scikit-image/scikit-image-0.17.2.ebuild b/sci-libs/scikit-image/scikit-image-0.17.2.ebuild new file mode 100644 index 000000000000..fe007d997ac2 --- /dev/null +++ b/sci-libs/scikit-image/scikit-image-0.17.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# 8,9 not on dev-python/pyamg +PYTHON_COMPAT=( python3_{6..7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +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" + +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}] +" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +DOCS=( CONTRIBUTORS.txt RELEASE.txt ) + +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 +} |