From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/mpi4py/Manifest | 5 ++++ dev-python/mpi4py/metadata.xml | 24 ++++++++++++++++++ dev-python/mpi4py/mpi4py-2.0.0.ebuild | 47 +++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 dev-python/mpi4py/Manifest create mode 100644 dev-python/mpi4py/metadata.xml create mode 100644 dev-python/mpi4py/mpi4py-2.0.0.ebuild (limited to 'dev-python/mpi4py') diff --git a/dev-python/mpi4py/Manifest b/dev-python/mpi4py/Manifest new file mode 100644 index 000000000000..1d25df24230c --- /dev/null +++ b/dev-python/mpi4py/Manifest @@ -0,0 +1,5 @@ +DIST mpi4py-2.0.0.tar.gz 1279957 SHA256 6543a05851a7aa1e6d165e673d422ba24e45c41e4221f0993fe1e5924a00cb81 SHA512 6459b482db782fea1a80499774ebfeb09c828b6c3f1805a0ca306f26f3ebcac52ad1c83bb97a98a01b518b6a6c887f6b99dbda9c37381a5ce05ddff0edb16d81 WHIRLPOOL 1b85699303a813cc35118464c80dffe798eb02dd3248c0b61937236f2f6cea533283a443f8a52298d888584e13e013601260b68552528d1b9b6f25bcccb990e7 +EBUILD mpi4py-2.0.0.ebuild 1122 SHA256 65240c57fc953692b797d4edd46689529e39b57e204cd50375502a3d0217fd1b SHA512 3ff46ee005e5f305189ae801d0a1d58336b0f1dcfe705a7abd3086d1a20d2a131486b7c50aa4b9923b312743e8355aaf5c19151a1fb7cdbbdc49b19cccad4e13 WHIRLPOOL 2f170cfce19573d664de5d37d76aae6d4e47d889a47a353d0ef35e62f7e0d9ed0f25ceb8cff6ab6486ad1f1ef6540e33098541e5cc3c4738d37dee39e07c58fa +MISC ChangeLog 4255 SHA256 4caab3a55ade390ef0f7635b7ea0d95cd2fe0ae2e6a9e7a86facd69ff1b77b82 SHA512 13ab9049f2e201f38f4282ae66e7785e1ba5d1139a71ba1518467cabe1a58ec63a34c7b2cbb7f971b031e26b2282b02c5a8296d25e40ac89f631086c82cce61d WHIRLPOOL de2384bfd64d49df832dd5eaa7771001e22676709fca822201ec1a22cef3ae465a8ec28dc0e580104066e7f32e9196efacd3e642422819bc004e948bf6d61144 +MISC ChangeLog-2015 3033 SHA256 fc15ff4f377fa9a87b3d6a6c7c61ab88e26f54af4086f6ec7c609ef9a3515f23 SHA512 2b0ebdf12c7e0d50794165f6a064b754764a8ae91269ae54d48f03cc14c35e9e8a3b9490e364d82bdb2c3b01adbb555f339877fab8cf3e8dbce3a4e56f62ee51 WHIRLPOOL 38e886eee2bdc54ff6fe2f9bef024bcb811e512048e8d82c68f3a7a61bdd563a951033344fdb4f8f0dfb161b995b603efc703fa08fb25d696916ef1b2a011411 +MISC metadata.xml 1118 SHA256 1a3cb9fcf80e2ff5e7a60db58c87c3b0253683a678a44741ae515a1882880b4e SHA512 7afb6d05007036bf5562d6d262165d8c2576bb49a86f9230f939d6a2ef929affa8461fa6421ffd8d97203a4425b397a8dd8556190364f29622e53a67674978c7 WHIRLPOOL ad2dde2b7fcdda149ad23896fa32ec2f1c8878efcc9d58626ee45db324378dec9a7e0b3c4bf3132184a4f4fb4809f1d901d2bad39bbfd922bb6abc33cd8cf02d diff --git a/dev-python/mpi4py/metadata.xml b/dev-python/mpi4py/metadata.xml new file mode 100644 index 000000000000..a7842f1c7b32 --- /dev/null +++ b/dev-python/mpi4py/metadata.xml @@ -0,0 +1,24 @@ + + + + + python@gentoo.org + Python + + 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). + + + mpi4py + mpi4py + mpi4py + + diff --git a/dev-python/mpi4py/mpi4py-2.0.0.ebuild b/dev-python/mpi4py/mpi4py-2.0.0.ebuild new file mode 100644 index 000000000000..f9ce3a4bae00 --- /dev/null +++ b/dev-python/mpi4py/mpi4py-2.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Message Passing Interface for Python" +HOMEPAGE="https://bitbucket.org/mpi4py/ https://pypi.python.org/pypi/mpi4py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND="virtual/mpi" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] + virtual/mpi[romio] )" +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # not needed on install + rm -vr docs/source || die + distutils-r1_python_prepare_all +} + +src_compile() { + export FAKEROOTKEY=1 + distutils-r1_src_compile +} + +python_test() { + echo "Beginning test phase" + pushd "${BUILD_DIR}"/../ &> /dev/null || die + mpiexec -n 2 "${PYTHON}" ./test/runtests.py -v || die "Testsuite failed under ${EPYTHON}" + popd &> /dev/null || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + use examples && local DOCS=( demo ) + distutils-r1_python_install_all +} -- cgit v1.2.3