summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-07-29 22:56:39 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-07-29 22:56:39 +0000
commita4d46a3a1367c2bea8b74ff0c89de428eebc7aed (patch)
treee75f4b66ad3a6e041363abfd5cedb4d43d3e605e /dev-python/spyder
parentVersion bump (diff)
downloadgentoo-2-a4d46a3a1367c2bea8b74ff0c89de428eebc7aed.tar.gz
gentoo-2-a4d46a3a1367c2bea8b74ff0c89de428eebc7aed.tar.bz2
gentoo-2-a4d46a3a1367c2bea8b74ff0c89de428eebc7aed.zip
Version bump
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/spyder')
-rw-r--r--dev-python/spyder/ChangeLog7
-rw-r--r--dev-python/spyder/spyder-2.0.12.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/spyder/ChangeLog b/dev-python/spyder/ChangeLog
index 8334dc387e9a..2c4afe8ad1f3 100644
--- a/dev-python/spyder/ChangeLog
+++ b/dev-python/spyder/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/spyder
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.18 2011/04/29 21:24:41 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/spyder/ChangeLog,v 1.19 2011/07/29 22:56:39 bicatali Exp $
+
+*spyder-2.0.12 (29 Jul 2011)
+
+ 29 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> +spyder-2.0.12.ebuild:
+ Version bump
*spyder-2.0.11 (29 Apr 2011)
diff --git a/dev-python/spyder/spyder-2.0.12.ebuild b/dev-python/spyder/spyder-2.0.12.ebuild
new file mode 100644
index 000000000000..db42c6e830f0
--- /dev/null
+++ b/dev-python/spyder/spyder-2.0.12.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/dev-python/spyder/spyder-2.0.12.ebuild,v 1.1 2011/07/29 22:56:39 bicatali Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
+
+inherit distutils eutils
+
+DESCRIPTION="Python IDE with matlab-like features"
+HOMEPAGE="http://code.google.com/p/spyderlib/ http://pypi.python.org/pypi/spyder"
+SRC_URI="http://spyderlib.googlecode.com/files/${P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipython matplotlib numpy +pyflakes pylint +rope scipy"
+
+RDEPEND=">=dev-python/PyQt4-4.4[webkit]
+ ipython? ( dev-python/ipython )
+ matplotlib? ( dev-python/matplotlib )
+ numpy? ( dev-python/numpy )
+ pyflakes? ( >=dev-python/pyflakes-0.3 )
+ pylint? ( dev-python/pylint )
+ rope? ( >=dev-python/rope-0.9.0 )
+ scipy? ( sci-libs/scipy )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+
+PYTHON_MODNAME="spyderlib spyderplugins"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${PN}-2.0.10-disable_sphinx_dependency.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ PYTHONPATH="build-$(PYTHON -f --ABI)" sphinx-build doc doc_output || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ pushd doc_output > /dev/null
+ insinto /usr/share/doc/${PF}/html
+ doins -r [a-z]* _images _static || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}