summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-08-18 17:37:17 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-08-18 17:37:17 +0000
commitec1e77c0a0bbde1234852503d26c8bc558bdf36d (patch)
tree05fd39ab0fc43988062e91d192bb146511225bca /dev-python/mpi4py
parentRemove aotuv from desc (diff)
downloadgentoo-2-ec1e77c0a0bbde1234852503d26c8bc558bdf36d.tar.gz
gentoo-2-ec1e77c0a0bbde1234852503d26c8bc558bdf36d.tar.bz2
gentoo-2-ec1e77c0a0bbde1234852503d26c8bc558bdf36d.zip
Initial import. Closing bug #189376, thanks Marek and Ben Bannier for their initial work
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/mpi4py')
-rw-r--r--dev-python/mpi4py/ChangeLog11
-rw-r--r--dev-python/mpi4py/metadata.xml18
-rw-r--r--dev-python/mpi4py/mpi4py-1.1.0.ebuild34
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/mpi4py/ChangeLog b/dev-python/mpi4py/ChangeLog
new file mode 100644
index 000000000000..3621b233147a
--- /dev/null
+++ b/dev-python/mpi4py/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/mpi4py
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v 1.1 2009/08/18 17:37:17 bicatali Exp $
+
+*mpi4py-1.1.0 (18 Aug 2009)
+
+ 18 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> +mpi4py-1.1.0.ebuild,
+ +metadata.xml:
+ Initial import. Closing bug #189376, thanks Marek and Ben Bannier for
+ their initial work
+
diff --git a/dev-python/mpi4py/metadata.xml b/dev-python/mpi4py/metadata.xml
new file mode 100644
index 000000000000..ead1d2681b6c
--- /dev/null
+++ b/dev-python/mpi4py/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<longdescription lang="en">
+ MPI for Python (mpi4py) provides bindings of the Message Passing
+ Interface (MPI) standard for the Python programming language,
+ allowing any Python program to exploit multiple processors.
+
+ This package is constructed on top of the MPI-1/MPI-2 specification
+ and provides an object oriented interface which closely follows
+ MPI-2 C++ bindings. It supports point-to-point (sends, receives) and
+ collective (broadcasts, scatters, gathers) communications of any
+ picklable Python object as well as optimized communications of
+ Python object exposing the single-segment buffer interface (NumPy
+ arrays, builtin bytes/string/array objects).
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/mpi4py/mpi4py-1.1.0.ebuild b/dev-python/mpi4py/mpi4py-1.1.0.ebuild
new file mode 100644
index 000000000000..0b1f7166e494
--- /dev/null
+++ b/dev-python/mpi4py/mpi4py-1.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/mpi4py-1.1.0.ebuild,v 1.1 2009/08/18 17:37:17 bicatali Exp $
+
+inherit distutils
+
+DESCRIPTION="Message Passing Interface for Python"
+HOMEPAGE="http://code.google.com/p/mpi4py/"
+SRC_URI="http://mpi4py.googlecode.com/files/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+IUSE="doc examples"
+
+DEPEND="virtual/mpi"
+RDEPEND="${DEPEND}"
+
+src_test() {
+ PYTHONPATH="$(dir -d ${S}/build/lib*)" mpiexec -n 2 \
+ "${python}" test/runalltest.py || die "tests failed"
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r docs/* || die
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r demo/* || die
+ fi
+}