diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-02 06:12:25 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-02 06:12:25 +0000 |
commit | 4623712e7ee7deb58c971586e66702daa7fb6b9a (patch) | |
tree | 348f5ec6ab2c7319c4f1b61978d3366e9ed0ccae /sci-libs/scikits_image | |
parent | Version bump (diff) | |
download | gentoo-2-4623712e7ee7deb58c971586e66702daa7fb6b9a.tar.gz gentoo-2-4623712e7ee7deb58c971586e66702daa7fb6b9a.tar.bz2 gentoo-2-4623712e7ee7deb58c971586e66702daa7fb6b9a.zip |
Version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/scikits_image')
-rw-r--r-- | sci-libs/scikits_image/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/scikits_image/scikits_image-0.5.ebuild | 60 |
2 files changed, 68 insertions, 2 deletions
diff --git a/sci-libs/scikits_image/ChangeLog b/sci-libs/scikits_image/ChangeLog index 8073ac374232..dab93b21de45 100644 --- a/sci-libs/scikits_image/ChangeLog +++ b/sci-libs/scikits_image/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/scikits_image -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/ChangeLog,v 1.3 2011/12/20 06:34:06 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/ChangeLog,v 1.4 2012/03/02 06:12:25 bicatali Exp $ + +*scikits_image-0.5 (02 Mar 2012) + + 02 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_image-0.5.ebuild: + Version bump *scikits_image-0.4.2 (20 Dec 2011) diff --git a/sci-libs/scikits_image/scikits_image-0.5.ebuild b/sci-libs/scikits_image/scikits_image-0.5.ebuild new file mode 100644 index 000000000000..a1f0e6c35dd5 --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.5.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/scikits_image-0.5.ebuild,v 1.1 2012/03/02 06:12:25 bicatali Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MYPN="${PN/scikits_/scikits-}" + +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE="http://scikits-image.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYPN}-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gtk qt4" + +RDEPEND="sci-libs/scipy + sci-libs/scikits + gtk? ( dev-python/pygtk ) + qt4? ( dev-python/PyQt4 )" +DEPEND="dev-python/numpy + dev-python/cython + dev-python/setuptools + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${MYPN}-${PV}" +PYTHON_MODNAME="skimage" + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_sphinx || die "doc failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" \ + "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} + +src_install() { + distutils_src_install + remove_scikits() { + rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die + } + python_execute_function -q remove_scikits + dodoc *.txt + insinto /usr/share/doc/${PF} + use doc && dohtml -r build/sphinx/html/* +} |