summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-07-17 22:03:48 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-07-17 22:03:48 +0000
commit516d855968d895cfe6c08e57f3b07141ad23b23f (patch)
tree18187925e098decb0f0b366674dbc501973f219e /dev-python/oct2py
parentgames goes last on inherit line (diff)
downloadgentoo-2-516d855968d895cfe6c08e57f3b07141ad23b23f.tar.gz
gentoo-2-516d855968d895cfe6c08e57f3b07141ad23b23f.tar.bz2
gentoo-2-516d855968d895cfe6c08e57f3b07141ad23b23f.zip
Initial import
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/oct2py')
-rw-r--r--dev-python/oct2py/ChangeLog9
-rw-r--r--dev-python/oct2py/Manifest3
-rw-r--r--dev-python/oct2py/metadata.xml13
-rw-r--r--dev-python/oct2py/oct2py-0.3.2.ebuild41
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/oct2py/ChangeLog b/dev-python/oct2py/ChangeLog
new file mode 100644
index 000000000000..bc3e3343805e
--- /dev/null
+++ b/dev-python/oct2py/ChangeLog
@@ -0,0 +1,9 @@
+# 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.1 2012/07/17 22:03:48 bicatali Exp $
+
+*oct2py-0.3.2 (17 Jul 2012)
+
+ 17 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +oct2py-0.3.2.ebuild:
+ Initial import
diff --git a/dev-python/oct2py/Manifest b/dev-python/oct2py/Manifest
new file mode 100644
index 000000000000..2a7c956323c1
--- /dev/null
+++ b/dev-python/oct2py/Manifest
@@ -0,0 +1,3 @@
+DIST oct2py-0.3.2.tar.gz 105039 SHA256 22e353b6c5e693327cafdc7add05d4d8810eb5ef5a6cc3b36173078cc4f68b98 SHA512 1cda6da7e5b7dfef43ec2e48190a94ed8251ae1967cf3c2eb457c1a6b44a62b744b1f685f21f4fe404ea9734f60bba26a5cd489399bab37e27cc850e26e2b1fe WHIRLPOOL 4939ae2261f22d255b05752ccdcee4d7cfd96ff72dd577bb7a2c69f3d8ac04757626b662785004a0714adc3acdad73151d000bc16d08ec2b0866db091764d23a
+EBUILD oct2py-0.3.2.ebuild 967 SHA256 164e87980d7004077634a6fe49320786664e97d1105a4dc33f0a972c381571db SHA512 26eb723ea552af0e70f3db6195c8d9c53f0280c6e14e29ad41cd86964c402810bc3e56a0f878303ef1854af634b645099b5d75ec5932fec6838d2e49ef2182a1 WHIRLPOOL 2d567c184f2e4035abebbd57a9d85fb80c7f5214bb9da2268ff2c79973e9d9bc3da90776d1588167c38099c29c9e68f409f29860a7b91e57528dd4b4f7eaf359
+MISC metadata.xml 440 SHA256 1865255300c4ba669559260137cbf0e5c53dce171755cf2b44b800e96b934d9e SHA512 1760616000e26e41e4a3af5c0fce03ed33910f347d61f4d5a53c8e8f7c6788f4395566ea8e7ac7bec4567f386cd0b1ce8a33d6bab448c040471e0520d9a6c4fe WHIRLPOOL ef06c2420784197ac9af3d05722143262484629dd008ed0fbe67bb09b528f08bcfc5cdf4773dcec9e76fd67f01fa1d58ee20a3c20041bde57fa7e3f2fb862364
diff --git a/dev-python/oct2py/metadata.xml b/dev-python/oct2py/metadata.xml
new file mode 100644
index 000000000000..3afa342d8a4a
--- /dev/null
+++ b/dev-python/oct2py/metadata.xml
@@ -0,0 +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">
+ 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>
+</pkgmetadata>
diff --git a/dev-python/oct2py/oct2py-0.3.2.ebuild b/dev-python/oct2py/oct2py-0.3.2.ebuild
new file mode 100644
index 000000000000..87b028735883
--- /dev/null
+++ b/dev-python/oct2py/oct2py-0.3.2.ebuild
@@ -0,0 +1,41 @@
+# 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.2.ebuild,v 1.1 2012/07/17 22:03:48 bicatali Exp $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS=1
+DISTUTILS_SRC_TEST="nosetests"
+RESTRICT_PYTHON_ABIS="*-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="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~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
+ use doc && dohtml -r html/*
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r example/*
+ fi
+}