Version bump
authorSebastien Fabbro <bicatali@gentoo.org>
Fri, 29 Jul 2011 22:56:39 +0000 (22:56 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Fri, 29 Jul 2011 22:56:39 +0000 (22:56 +0000)
Package-Manager: portage-2.1.10.7/cvs/Linux x86_64

dev-python/pyx/ChangeLog
dev-python/pyx/pyx-0.11.1.ebuild [new file with mode: 0644]
dev-python/spyder/ChangeLog
dev-python/spyder/spyder-2.0.12.ebuild [new file with mode: 0644]

index 86cd9e94bc590e7f86c9c39b95a4b1c0a40cda83..6d2a5867af186e235950c8433683a308a12dbb3a 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pyx
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/ChangeLog,v 1.27 2011/01/02 16:15:48 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/ChangeLog,v 1.28 2011/07/29 22:54:35 bicatali Exp $
+
+*pyx-0.11.1 (29 Jul 2011)
+
+  29 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> +pyx-0.11.1.ebuild:
+  Version bump
 
   02 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   -pyx-0.10.ebuild:
diff --git a/dev-python/pyx/pyx-0.11.1.ebuild b/dev-python/pyx/pyx-0.11.1.ebuild
new file mode 100644 (file)
index 0000000..0f5e11b
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/pyx-0.11.1.ebuild,v 1.1 2011/07/29 22:54:35 bicatali Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils eutils
+
+MY_P="${P/pyx/PyX}"
+
+DESCRIPTION="Python package for the generation of encapsulated PostScript figures"
+HOMEPAGE="http://pyx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pyx/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/tex-base"
+DEPEND="${RDEPEND}
+       doc? ( virtual/latex-base )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="AUTHORS CHANGES"
+
+src_prepare() {
+       distutils_src_prepare
+       sed -i \
+               -e 's/^build_t1code=.*/build_t1code=1/' \
+               -e 's/^build_pykpathsea=.*/build_pykpathsea=1/' \
+               setup.cfg || die "setup.cfg fix failed"
+}
+
+src_compile() {
+       distutils_src_compile
+       if use doc; then
+               cd "${S}/faq"
+               VARTEXFONTS="${T}"/fonts make pdf
+       fi
+}
+
+src_install() {
+       distutils_src_install
+       use doc && dodoc faq/pyxfaq.pdf
+}
index 8334dc387e9ab5f632e45f5fcb172943443ec72c..2c4afe8ad1f384974976cee379b72c81de067923 100644 (file)
@@ -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 (file)
index 0000000..db42c6e
--- /dev/null
@@ -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
+}