summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-01-20 20:38:16 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-01-20 20:38:16 +0000
commit330aa2d6b45a3a7d6709840dafb743410f4166d1 (patch)
treec3dd787c07314b08c1235a7a4925d2576fb2ddfd /dev-python
parentoops (diff)
downloadgentoo-2-330aa2d6b45a3a7d6709840dafb743410f4166d1.tar.gz
gentoo-2-330aa2d6b45a3a7d6709840dafb743410f4166d1.tar.bz2
gentoo-2-330aa2d6b45a3a7d6709840dafb743410f4166d1.zip
Version bump
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/mpi4py/ChangeLog9
-rw-r--r--dev-python/mpi4py/mpi4py-1.3.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-python/mpi4py/ChangeLog b/dev-python/mpi4py/ChangeLog
index 84a8bf767cc7..c5a01ea59268 100644
--- a/dev-python/mpi4py/ChangeLog
+++ b/dev-python/mpi4py/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/mpi4py
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v 1.5 2010/09/22 16:09:24 arfrever Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v 1.6 2012/01/20 20:38:16 xarthisius Exp $
+
+*mpi4py-1.3 (20 Jan 2012)
+
+ 20 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> +mpi4py-1.3.ebuild:
+ Version bump
*mpi4py-1.2.2 (22 Sep 2010)
diff --git a/dev-python/mpi4py/mpi4py-1.3.ebuild b/dev-python/mpi4py/mpi4py-1.3.ebuild
new file mode 100644
index 000000000000..dd2bc9cf5a40
--- /dev/null
+++ b/dev-python/mpi4py/mpi4py-1.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/mpi4py-1.3.ebuild,v 1.1 2012/01/20 20:38:16 xarthisius Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Message Passing Interface for Python"
+HOMEPAGE="http://code.google.com/p/mpi4py/ http://pypi.python.org/pypi/mpi4py"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+DEPEND="virtual/mpi"
+RDEPEND="${DEPEND}"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" mpiexec -n 2 "$(PYTHON)" test/runtests.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r docs/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r demo/*
+ fi
+}