diff options
author | Igor Ulyanov <disinbox@gmail.com> | 2020-01-08 14:16:32 +0300 |
---|---|---|
committer | Igor Ulyanov <disinbox@gmail.com> | 2020-01-08 14:16:32 +0300 |
commit | 3f4538bc9e1b8c6b35ee63ebaec0cdedc1fec0d1 (patch) | |
tree | fcb44922980273cc67513a5a0cbbea7a95e8123a /sci-libs | |
parent | scikit-build added (diff) | |
download | displacer-3f4538bc9e1b8c6b35ee63ebaec0cdedc1fec0d1.tar.gz displacer-3f4538bc9e1b8c6b35ee63ebaec0cdedc1fec0d1.tar.bz2 displacer-3f4538bc9e1b8c6b35ee63ebaec0cdedc1fec0d1.zip |
scikits-image added
Signed-off-by: Igor Ulyanov <disinbox@gmail.com>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikits_image/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/scikits_image/metadata.xml | 22 | ||||
-rw-r--r-- | sci-libs/scikits_image/scikits_image-0.15.0.ebuild | 57 |
3 files changed, 82 insertions, 0 deletions
diff --git a/sci-libs/scikits_image/Manifest b/sci-libs/scikits_image/Manifest new file mode 100644 index 0000000..99286f9 --- /dev/null +++ b/sci-libs/scikits_image/Manifest @@ -0,0 +1,3 @@ +DIST scikit-image-0.15.0.tar.gz 32288867 BLAKE2B 48198e1c6e4213ddc15674b9adc52238bf37bc3bd221e4adeb2f308c420671c08fc6d2e56dcfc471d8ff2b90faf750f5c49de607648138be88f50ae15b9acd21 SHA512 9d0be54ddd564c0f28eae979b6f348011f7b38c8811f70ad460330905e706fe145dd6a30b502d15126450148fdbb3f54a271227d46e2d078030054ad00f35bc3 +EBUILD scikits_image-0.15.0.ebuild 1761 BLAKE2B e80c46e921db842fa12e546a4633ee0ab8138fd063ecb53dc74ebd506e60e2ffed3110e73ebc974787c2583366db742aabf719c995f4fa42a91ffb1f3df50d8d SHA512 aec59061f62c4a742c564f9840e20aee2a194c707c33fb34b68a5467dc89d935380e4728dc0004672b9cfa862f83021484b89e8ff685046dd609177b595f17bf +MISC metadata.xml 834 BLAKE2B d6ed9731e0bfffb39fb127b1ccaa9d449e7cedc4038a5a4a915624fadad131d39df0d1d7123951539074758095d35c1b9730bb4a3da2278b02630903645eb769 SHA512 1c615479bc22c8c66b4f7a2189e38c69f9b8722f051c68473439069ef89598f0505dbd94fe06cbe56a07e41a1a6552f4d8d666703676ef9a165dbcf462e09e40 diff --git a/sci-libs/scikits_image/metadata.xml b/sci-libs/scikits_image/metadata.xml new file mode 100644 index 0000000..8e05ce3 --- /dev/null +++ b/sci-libs/scikits_image/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + This SciKit (toolkit for SciPy) includes useful image processing + algorithms for use with Python and NumPy. While SciPy’s ndimage + provides low-level manipulation, scikits.image centres around + algorithms and applications. +</longdescription> + <use> + <flag name="freeimage">Enable support for image i/o via + <pkg>media-libs/freeimage</pkg></flag> + <flag name="pyamg">Enable support for algebraic solvers via <pkg>dev-python/pyamg</pkg></flag> + </use> + <upstream> + <remote-id type="pypi">scikit-image</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/scikits_image/scikits_image-0.15.0.ebuild b/sci-libs/scikits_image/scikits_image-0.15.0.ebuild new file mode 100644 index 0000000..9a6348f --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.15.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( 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 RELEASE.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 +} |