diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-02-23 00:24:13 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-02-23 00:24:13 +0000 |
commit | 0a13ec3aa544d18239d1df9f32d9dad35b17fb64 (patch) | |
tree | c8f9cb8e5448640f992aed5cab2ddaabc178cba5 /dev-python/oct2py | |
parent | Version bump (diff) | |
download | gentoo-2-0a13ec3aa544d18239d1df9f32d9dad35b17fb64.tar.gz gentoo-2-0a13ec3aa544d18239d1df9f32d9dad35b17fb64.tar.bz2 gentoo-2-0a13ec3aa544d18239d1df9f32d9dad35b17fb64.zip |
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/oct2py')
-rw-r--r-- | dev-python/oct2py/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/oct2py/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/oct2py/oct2py-1.3.0.ebuild | 49 |
3 files changed, 62 insertions, 7 deletions
diff --git a/dev-python/oct2py/ChangeLog b/dev-python/oct2py/ChangeLog index 9cb0bd694864..0007eaebe1ad 100644 --- a/dev-python/oct2py/ChangeLog +++ b/dev-python/oct2py/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/oct2py -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.13 2013/11/24 13:52:32 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.14 2014/02/23 00:24:13 bicatali Exp $ + +*oct2py-1.3.0 (23 Feb 2014) + + 23 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> +oct2py-1.3.0.ebuild, + metadata.xml: + Version bump 24 Nov 2013; Justin Lecher <jlec@gentoo.org> -oct2py-0.3.6.ebuild: Drop old diff --git a/dev-python/oct2py/metadata.xml b/dev-python/oct2py/metadata.xml index 2cce516de06f..3afa342d8a4a 100644 --- a/dev-python/oct2py/metadata.xml +++ b/dev-python/oct2py/metadata.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-mathematics</herd> - <longdescription lang="en"> +<herd>sci-mathematics</herd> +<longdescription lang="en"> Uses Octave to run commands and m-files. Supports any Octave function or m-file, passing the data seamlessly between Python and Octave using MAT files. </longdescription> - <upstream> - <remote-id type="pypi">oct2py</remote-id> - </upstream> +<upstream> + <remote-id type="pypi">oct2py</remote-id> +</upstream> </pkgmetadata> diff --git a/dev-python/oct2py/oct2py-1.3.0.ebuild b/dev-python/oct2py/oct2py-1.3.0.ebuild new file mode 100644 index 000000000000..4a2e84847ab2 --- /dev/null +++ b/dev-python/oct2py/oct2py-1.3.0.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/dev-python/oct2py/oct2py-1.3.0.ebuild,v 1.1 2014/02/23 00:24:13 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_3} ) + +inherit distutils-r1 + +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 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND=" + sci-libs/scipy[${PYTHON_USEDEP}] + sci-mathematics/octave" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + )" + +python_compile_all() { + if use doc; then + sphinx-build doc html || die + fi +} + +python_test() { + nosetests oct2py --with-doctest || die "Tests fail with ${EPYTHON}" + iptest -v IPython.extensions.tests.test_octavemagic || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( html/. ) + distutils-r1_python_install_all + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r example + fi +} |