diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-20 18:17:21 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-20 18:17:21 +0000 |
commit | 3a41d3da8246e847a0909ea085d42938776f3021 (patch) | |
tree | 2642068001cad1006e03b5cdb7e988ed623ee6c8 /dev-python/oct2py | |
parent | Cleanup. (diff) | |
download | gentoo-2-3a41d3da8246e847a0909ea085d42938776f3021.tar.gz gentoo-2-3a41d3da8246e847a0909ea085d42938776f3021.tar.bz2 gentoo-2-3a41d3da8246e847a0909ea085d42938776f3021.zip |
version bump
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/oct2py')
-rw-r--r-- | dev-python/oct2py/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/oct2py/oct2py-0.3.4.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/oct2py/ChangeLog b/dev-python/oct2py/ChangeLog index b2ff9b114a6c..62c84ffe6ada 100644 --- a/dev-python/oct2py/ChangeLog +++ b/dev-python/oct2py/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/oct2py # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.3 2012/08/09 08:16:43 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.4 2012/08/20 18:17:21 bicatali Exp $ + +*oct2py-0.3.4 (20 Aug 2012) + + 20 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +oct2py-0.3.4.ebuild: + version bump 09 Aug 2012; Patrick Lauer <patrick@gentoo.org> oct2py-0.3.2.ebuild: Restrict python 2.5 diff --git a/dev-python/oct2py/oct2py-0.3.4.ebuild b/dev-python/oct2py/oct2py-0.3.4.ebuild new file mode 100644 index 000000000000..def0965338c0 --- /dev/null +++ b/dev-python/oct2py/oct2py-0.3.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/oct2py-0.3.4.ebuild,v 1.1 2012/08/20 18:17:21 bicatali Exp $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS=1 +DISTUTILS_SRC_TEST="nosetests" +RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*" + +inherit distutils + +DESCRIPTION="Python to GNU Octave bridge" +HOMEPAGE="http://pypi.python.org/pypi/oct2py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND="sci-libs/scipy + sci-mathematics/octave" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +src_compile() { + distutils_src_compile + if use doc; then + PYTHONPATH="build-$(PYTHON -f --ABI)/lib" sphinx-build doc html || die + fi +} + +src_install() { + distutils_src_install + delete_tests() { + rm -r "${ED}$(python_get_sitedir)/oct2py/tests" + } + python_execute_function -q delete_tests + use doc && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r example/* + fi +} |