summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-01-08 19:22:18 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-01-08 19:22:18 +0000
commita8ac1f265047ef1fcac50f6d2e1f8e1d8007cab4 (patch)
tree4021904c2c4726db1afce94cd20237b78c9e17a5 /sci-libs/scikits_image
parentFix deprecation warnings. (diff)
downloadgentoo-2-a8ac1f265047ef1fcac50f6d2e1f8e1d8007cab4.tar.gz
gentoo-2-a8ac1f265047ef1fcac50f6d2e1f8e1d8007cab4.tar.bz2
gentoo-2-a8ac1f265047ef1fcac50f6d2e1f8e1d8007cab4.zip
Initial import to the main tree
(Portage version: 2.1.9.30/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/scikits_image')
-rw-r--r--sci-libs/scikits_image/ChangeLog24
-rw-r--r--sci-libs/scikits_image/metadata.xml11
-rw-r--r--sci-libs/scikits_image/scikits_image-0.2.2.ebuild57
3 files changed, 92 insertions, 0 deletions
diff --git a/sci-libs/scikits_image/ChangeLog b/sci-libs/scikits_image/ChangeLog
new file mode 100644
index 000000000000..ea5ee5796440
--- /dev/null
+++ b/sci-libs/scikits_image/ChangeLog
@@ -0,0 +1,24 @@
+# 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.1 2011/01/08 19:22:18 bicatali Exp $
+
+ 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ +scikits_image-0.2.2.ebuild, +metadata.xml:
+ Initial import to the main tree
+
+ 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ scikits_image-0.2.2.ebuild:
+ Now depend on common scikits
+
+ 29 Jun 2010; Justin Lecher <jlec@gentoo.org> scikits_image-0.2.2.ebuild:
+ Python ABI fixes
+
+ 29 Jun 2010; Justin Lecher <jlec@gentoo.org> scikits_image-0.2.2.ebuild:
+ removed old
+
+*scikits_image-0.2.2 (26 Mar 2010)
+
+ 26 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +scikits_image-0.2.2.ebuild, +metadata.xml:
+ Initial import
+
diff --git a/sci-libs/scikits_image/metadata.xml b/sci-libs/scikits_image/metadata.xml
new file mode 100644
index 000000000000..3efece613f9d
--- /dev/null
+++ b/sci-libs/scikits_image/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<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>
+</pkgmetadata>
diff --git a/sci-libs/scikits_image/scikits_image-0.2.2.ebuild b/sci-libs/scikits_image/scikits_image-0.2.2.ebuild
new file mode 100644
index 000000000000..b70c72457405
--- /dev/null
+++ b/sci-libs/scikits_image/scikits_image-0.2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 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.2.2.ebuild,v 1.1 2011/01/08 19:22:18 bicatali Exp $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+MY_P="${P/scikits_/scikits.}"
+
+DESCRIPTION="Image processing routines for SciPy"
+HOMEPAGE="http://stefanv.github.com/scikits.image"
+SRC_URI="http://pypi.python.org/packages/source/s/scikits.image/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-python/numpy
+ sci-libs/scikits"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation 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 || die
+ insinto /usr/share/doc/${PF}
+ if use doc; then
+ doins -r build/sphinx/html || die
+ fi
+}