summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/scikits_image')
-rw-r--r--sci-libs/scikits_image/ChangeLog8
-rw-r--r--sci-libs/scikits_image/metadata.xml18
-rw-r--r--sci-libs/scikits_image/scikits_image-0.10.1.ebuild49
3 files changed, 65 insertions, 10 deletions
diff --git a/sci-libs/scikits_image/ChangeLog b/sci-libs/scikits_image/ChangeLog
index 72d39a431440..0292ce850ef9 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/ChangeLog,v 1.18 2014/06/20 20:24:45 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/ChangeLog,v 1.19 2014/10/26 18:07:08 jlec Exp $
+
+*scikits_image-0.10.1 (26 Oct 2014)
+
+ 26 Oct 2014; Justin Lecher <jlec@gentoo.org> +scikits_image-0.10.1.ebuild,
+ metadata.xml:
+ Version Bump
*scikits_image-0.10.0 (20 Jun 2014)
diff --git a/sci-libs/scikits_image/metadata.xml b/sci-libs/scikits_image/metadata.xml
index 83878f678d34..b9bd04971575 100644
--- a/sci-libs/scikits_image/metadata.xml
+++ b/sci-libs/scikits_image/metadata.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <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
+ <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>
+ <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.10.1.ebuild b/sci-libs/scikits_image/scikits_image-0.10.1.ebuild
new file mode 100644
index 000000000000..707e1e9bc8cb
--- /dev/null
+++ b/sci-libs/scikits_image/scikits_image-0.10.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 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.10.1.ebuild,v 1.1 2014/10/26 18:07:08 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+
+inherit distutils-r1
+
+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="
+ sci-libs/scipy[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="
+ >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ sci-libs/scipy[sparse,${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MYP}"
+
+DOCS=( CONTRIBUTORS.txt CONTRIBUTING.txt DEPENDS.txt RELEASE.txt TASKS.txt TODO.txt )
+
+python_test() {
+ distutils_install_for_testing
+ mkdir for_test && cd for_test
+ echo "backend : Agg" > matplotlibrc || die
+ echo "backend.qt4 : PyQt4" >> matplotlibrc || die
+ MPLCONFIGDIR=. nosetests --exe -v --cover-package=skimage skimage || die
+}