diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-11-06 17:22:16 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-06 17:22:23 +0100 |
commit | 51fc29a0a8be734001b3c829d4791b018dae08b8 (patch) | |
tree | 73a8fc85f770cad4d315a310e77a245acd1f1ec5 /sci-libs/scikits_image/scikits_image-0.11.3.ebuild | |
parent | dev-python/pyamg: Version Bump (diff) | |
download | gentoo-51fc29a0a8be734001b3c829d4791b018dae08b8.tar.gz gentoo-51fc29a0a8be734001b3c829d4791b018dae08b8.tar.bz2 gentoo-51fc29a0a8be734001b3c829d4791b018dae08b8.zip |
sci-libs/scikits_image: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/scikits_image/scikits_image-0.11.3.ebuild')
-rw-r--r-- | sci-libs/scikits_image/scikits_image-0.11.3.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/scikits_image/scikits_image-0.11.3.ebuild b/sci-libs/scikits_image/scikits_image-0.11.3.ebuild new file mode 100644 index 000000000000..02bc1df4899d --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.11.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 eutils virtualx + +MYPN="${PN/scikits_/scikit-}" +MYP="${MYPN}-${PV}" + +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE="http://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 gtk pyamg qt4 test" + +RDEPEND=" + >=dev-python/matplotlib-1.1.0[${PYTHON_USEDEP}] + >=dev-python/networkx-1.8[${PYTHON_USEDEP}] + >=dev-python/numpy-1.6.1[${PYTHON_USEDEP}] + >=dev-python/pillow-1.7.8[${PYTHON_USEDEP}] + >=dev-python/six-1.3[${PYTHON_USEDEP}] + >=sci-libs/scipy-0.9[sparse,${PYTHON_USEDEP}] + freeimage? ( media-libs/freeimage ) + gtk? ( dev-python/pygtk[$(python_gen_usedep 'python2*')] ) + pyamg? ( dev-python/pyamg[$(python_gen_usedep 'python2*')] ) + qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + >=dev-python/cython-0.21[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MYP}" + +DOCS=( CONTRIBUTORS.txt CONTRIBUTING.txt DEPENDS.txt RELEASE.txt TASKS.txt TODO.txt ) + +PATCHES=( + "${FILESDIR}"/${P}-adapthist-backport.patch +) + +python_test() { + distutils_install_for_testing + mkdir for_test && cd for_test || die + echo "backend : Agg" > matplotlibrc || die + echo "backend.qt4 : PyQt4" >> matplotlibrc || die + #echo "backend.qt4 : PySide" >> matplotlibrc || die + VIRTUALX_COMMAND=nosetests + MPLCONFIGDIR=. virtualmake --exe -v skimage || die +} + +pkg_postinst() { + optfeature "FITS io capability" dev-python/astropy + #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 +} |