commit:     5f769ff64bda2fc062b3b1545776525253327505
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 29 13:44:48 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 29 14:13:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f769ff6

sci-libs/scikit-image: add version 0.19.1

Bug: https://bugs.gentoo.org/810269
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/scikit-image/Manifest                   |  1 +
 sci-libs/scikit-image/scikit-image-0.19.1.ebuild | 49 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sci-libs/scikit-image/Manifest b/sci-libs/scikit-image/Manifest
index a8480d99294a..d57469885f1b 100644
--- a/sci-libs/scikit-image/Manifest
+++ b/sci-libs/scikit-image/Manifest
@@ -1 +1,2 @@
 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

diff --git a/sci-libs/scikit-image/scikit-image-0.19.1.ebuild 
b/sci-libs/scikit-image/scikit-image-0.19.1.ebuild
new file mode 100644
index 000000000000..2ed329d762d2
--- /dev/null
+++ b/sci-libs/scikit-image/scikit-image-0.19.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+
+# It seems that scikit-image has not been built correctly.
+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 --install pytest
+# TODO: package myst_parser
+#distutils_enable_sphinx doc/source dev-python/numpydoc
+
+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
+}

Reply via email to