[arch-commits] Commit in python-mpi4py/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Mar 17 13:44:13 UTC 2019
Date: Sunday, March 17, 2019 @ 13:44:12
Author: archange
Revision: 442373
archrelease: copy trunk to community-x86_64
Added:
python-mpi4py/repos/community-x86_64/PKGBUILD
(from rev 442372, python-mpi4py/trunk/PKGBUILD)
Deleted:
python-mpi4py/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-17 13:43:53 UTC (rev 442372)
+++ PKGBUILD 2019-03-17 13:44:12 UTC (rev 442373)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Anatol Pomozov
-# Contributor: Tim Hütz <tim at huetz.biz>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-_pkg=mpi4py
-pkgbase=python-${_pkg}
-pkgname=(python-${_pkg} python2-${_pkg})
-pkgver=3.0.0
-pkgrel=3
-pkgdesc="Python bindings for the Message Passing Interface (MPI) standard"
-arch=(x86_64)
-url="https://bitbucket.org/mpi4py/mpi4py"
-license=(BSD)
-makedepends=(python-setuptools python2-setuptools openmpi)
-checkdepends=(inetutils)
-source=("https://pypi.io/packages/source/m/${_pkg}/${_pkg}-${pkgver}.tar.gz")
-sha256sums=(b457b02d85bdd9a4775a097fac5234a20397b43e073f14d9e29b6cd78c68efd7)
-
-prepare() {
- cp -a ${_pkg}-${pkgver}{,-py2}
-}
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-
- cd ../${_pkg}-${pkgver}-py2
- python2 setup.py build
-}
-
-check() {
- # This is required starting with OpenMPI 3.0 when trying to run more
- # processes than the number of available cores
- export OMPI_MCA_rmaps_base_oversubscribe=yes
-
- cd ${_pkg}-${pkgver}
- python setup.py test
-
- cd ../${_pkg}-${pkgver}-py2
- python2 setup.py test
-}
-
-package_python-mpi4py() {
- depends=(python openmpi)
-
- cd ${_pkg}-${pkgver}
- python setup.py install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
-
-package_python2-mpi4py() {
- depends=(python2 openmpi)
-
- cd ${_pkg}-${pkgver}-py2
- python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
- install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-mpi4py/repos/community-x86_64/PKGBUILD (from rev 442372, python-mpi4py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-17 13:44:12 UTC (rev 442373)
@@ -0,0 +1,59 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Anatol Pomozov
+# Contributor: Tim Hütz <tim at huetz.biz>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+_pkg=mpi4py
+pkgbase=python-${_pkg}
+pkgname=(python-${_pkg} python2-${_pkg})
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="Python bindings for the Message Passing Interface (MPI) standard"
+arch=(x86_64)
+url="https://bitbucket.org/mpi4py/mpi4py"
+license=(BSD)
+makedepends=(python-setuptools python2-setuptools openmpi)
+checkdepends=(inetutils)
+source=("https://files.pythonhosted.org/packages/source/m/${_pkg}/${_pkg}-${pkgver}.tar.gz")
+sha256sums=('6549a5b81931303baf6600fa2e3bc04d8bd1d5c82f3c21379d0d64a9abcca851')
+
+prepare() {
+ cp -a ${_pkg}-${pkgver}{,-py2}
+}
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+
+ cd ../${_pkg}-${pkgver}-py2
+ python2 setup.py build
+}
+
+check() {
+ # This is required starting with OpenMPI 3.0 when trying to run more
+ # processes than the number of available cores
+ export OMPI_MCA_rmaps_base_oversubscribe=yes
+
+ cd ${_pkg}-${pkgver}
+ python setup.py test
+
+ cd ../${_pkg}-${pkgver}-py2
+ python2 setup.py test
+}
+
+package_python-mpi4py() {
+ depends=(python openmpi)
+
+ cd ${_pkg}-${pkgver}
+ python setup.py install --root="${pkgdir}" --skip-build --optimize=1
+ install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+package_python2-mpi4py() {
+ depends=(python2 openmpi)
+
+ cd ${_pkg}-${pkgver}-py2
+ python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
+ install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list