1 |
commit: 5f769ff64bda2fc062b3b1545776525253327505 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 13:44:48 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 14:13:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f769ff6 |
7 |
|
8 |
sci-libs/scikit-image: add version 0.19.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/810269 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
sci-libs/scikit-image/Manifest | 1 + |
15 |
sci-libs/scikit-image/scikit-image-0.19.1.ebuild | 49 ++++++++++++++++++++++++ |
16 |
2 files changed, 50 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/scikit-image/Manifest b/sci-libs/scikit-image/Manifest |
19 |
index a8480d99294a..d57469885f1b 100644 |
20 |
--- a/sci-libs/scikit-image/Manifest |
21 |
+++ b/sci-libs/scikit-image/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST scikit-image-0.17.2.tar.gz 29818001 BLAKE2B 360c5f8c23b8441d145029c09a3b1d1407d4103463497c63274583e6c03d1fc57baa3e6c53909cfaa5daba54d5909fc106e84dc7036f0240ad8de93804ef9f65 SHA512 3ca2511f03d533ac7f1850d72de396dc5493831bce6200f30d426c3f47eff9b25ec9b69e141100dc56e03f2310aab255f92ff4aff8bc7b80d15d669cbe2ebb5e |
24 |
+DIST scikit-image-0.19.1.tar.gz 22225936 BLAKE2B 86aca2f120c12178d64fd62bce2b5272fc6df345789ed4b1ddee705384e583c7070af7bf885d47ae6769bbfb0676bfeef7fc431abfb10e1618594f31a27a7de8 SHA512 d7ccd4172abc07843a17a2de40240790cbeeb4177c7948cbf74663363ec9cecd3e40e70a245795d88ace57699e178f159198862b4c503fcb3fff95e8ef8f4ed9 |
25 |
|
26 |
diff --git a/sci-libs/scikit-image/scikit-image-0.19.1.ebuild b/sci-libs/scikit-image/scikit-image-0.19.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2ed329d762d2 |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/scikit-image/scikit-image-0.19.1.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Image processing routines for SciPy" |
41 |
+HOMEPAGE="https://scikit-image.org/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+# It seems that scikit-image has not been built correctly. |
49 |
+RESTRICT="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/imageio[${PYTHON_USEDEP}] |
53 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
54 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
55 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
56 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
57 |
+ dev-python/pywavelets[${PYTHON_USEDEP}] |
58 |
+ dev-python/scipy[sparse,${PYTHON_USEDEP}] |
59 |
+ dev-python/tifffile[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND=" |
63 |
+ dev-python/cython[${PYTHON_USEDEP}] |
64 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
65 |
+" |
66 |
+ |
67 |
+DOCS=( CONTRIBUTORS.txt RELEASE.txt ) |
68 |
+ |
69 |
+distutils_enable_tests --install pytest |
70 |
+# TODO: package myst_parser |
71 |
+#distutils_enable_sphinx doc/source dev-python/numpydoc |
72 |
+ |
73 |
+pkg_postinst() { |
74 |
+ optfeature "FITS io capability" dev-python/astropy |
75 |
+ optfeature "GTK" dev-python/pygtk |
76 |
+ optfeature "Parallel computation" dev-python/dask |
77 |
+ optfeature "io plugin providing most standard formats" dev-python/imread |
78 |
+ # not in portage yet |
79 |
+ #optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk |
80 |
+} |