[arch-commits] Commit in python-mpi4py/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Jul 3 14:11:17 UTC 2019


    Date: Wednesday, July 3, 2019 @ 14:11:16
  Author: archange
Revision: 487355

archrelease: copy trunk to community-x86_64

Added:
  python-mpi4py/repos/community-x86_64/PKGBUILD
    (from rev 487354, python-mpi4py/trunk/PKGBUILD)
Deleted:
  python-mpi4py/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-03 14:11:05 UTC (rev 487354)
+++ PKGBUILD	2019-07-03 14:11:16 UTC (rev 487355)
@@ -1,59 +0,0 @@
-# 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}/
-}

Copied: python-mpi4py/repos/community-x86_64/PKGBUILD (from rev 487354, python-mpi4py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-03 14:11:16 UTC (rev 487355)
@@ -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.2
+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=('f8d629d1e3e3b7b89cb99d0e3bc5505e76cc42089829807950d5c56606ed48e0')
+
+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