diff options
Diffstat (limited to 'sci-libs/scikits_image')
-rw-r--r-- | sci-libs/scikits_image/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sci-libs/scikits_image/Manifest b/sci-libs/scikits_image/Manifest index 481add14dac2..238afc7f698e 100644 --- a/sci-libs/scikits_image/Manifest +++ b/sci-libs/scikits_image/Manifest @@ -1,3 +1,4 @@ DIST scikit-image-0.13.0.tar.gz 26101533 BLAKE2B c28284f64abd58c7bafa8f5f0c781496e8bb28af79c5c730df7cbf2fede958eb88ea420fd7f89e7b8d0d91719a98dd0935af3b2cc50fe501cc8d8d1d0ee56cb9 SHA512 923015e373c406ae2fbbfdf83ce8b91e83790bdf7842c4439fdc9fd58cffe46efc0cfc7a1b0b06e1b2d092a909a6f085335640850883e7608dbccd1074046550 +EBUILD scikits_image-0.13.0-r1.ebuild 1802 BLAKE2B 90a39c2e5b940774e7450a8a105a15c91896542613209899717c6a9130f9bef94786a88db67e5abeabe05ed9781c1f71310f0a90338059aa10881aa0c23a7d84 SHA512 9ef9af8cc9d4d6fad1cded893a9b55d85a04ce38232cf79a6f42752789d2f0237a57f7c95ef240d041039a3a81e77d7e4839c600dcb6ad04fc2c48d4d931c6e2 EBUILD scikits_image-0.13.0.ebuild 1800 BLAKE2B 46b48868ab892309c47488e038feb01be571ad545fbcfe0b7141ab75c409d2b78e50c1abb44683c1e938fe0a5a429e189fc089f882ab9cb44a0a77a829a05230 SHA512 4455e0d670565842ee64dc41ae699729afbb9efa8dbd01c3c8c3b755833d8ec279ff4f08d38a3b864111ecd00ada5993ef66880ad3ef10688e607b08a91b86ea MISC metadata.xml 834 BLAKE2B d6ed9731e0bfffb39fb127b1ccaa9d449e7cedc4038a5a4a915624fadad131d39df0d1d7123951539074758095d35c1b9730bb4a3da2278b02630903645eb769 SHA512 1c615479bc22c8c66b4f7a2189e38c69f9b8722f051c68473439069ef89598f0505dbd94fe06cbe56a07e41a1a6552f4d8d666703676ef9a165dbcf462e09e40 diff --git a/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild new file mode 100644 index 000000000000..49f66eaba90b --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 eutils virtualx + +MYPN="${PN/scikits_/scikit-}" +MYP="${MYPN}-${PV}" + +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE="https://scikit-image.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc freeimage pyamg test" + +RDEPEND=" + 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/six[${PYTHON_USEDEP}] + sci-libs/scipy[sparse,${PYTHON_USEDEP}] + freeimage? ( media-libs/freeimage ) + pyamg? ( dev-python/pyamg[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + >=dev-python/cython-0.23[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MYP}" + +DOCS=( CONTRIBUTORS.txt DEPENDS.txt RELEASE.txt TASKS.txt TODO.txt ) + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}" || die "no ${TEST_DIR} available" + echo "backend : Agg" > matplotlibrc || die + #echo "backend.qt4 : PyQt4" >> matplotlibrc || die + #echo "backend.qt4 : PySide" >> matplotlibrc || die + MPLCONFIGDIR=. virtx nosetests --exe -v skimage || die +} + +pkg_postinst() { + optfeature "FITS io capability" dev-python/astropy + optfeature "GTK" dev-python/pygtk + optfeature "Parallel computation" dev-python/dask + # not in portage yet + #optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk + #optfeature "io plugin providing most standard formats" dev-python/imread +} |