[arch-commits] Commit in python-mpi4py/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Feb 16 19:50:53 UTC 2022
Date: Wednesday, February 16, 2022 @ 19:50:52
Author: archange
Revision: 1133501
archrelease: copy trunk to community-x86_64
Added:
python-mpi4py/repos/community-x86_64/PKGBUILD
(from rev 1133500, python-mpi4py/trunk/PKGBUILD)
Deleted:
python-mpi4py/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-16 19:50:28 UTC (rev 1133500)
+++ PKGBUILD 2022-02-16 19:50:52 UTC (rev 1133501)
@@ -1,41 +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
-pkgname=python-${_pkg}
-pkgver=3.1.1
-pkgrel=3
-pkgdesc="Python bindings for the Message Passing Interface (MPI) standard"
-arch=(x86_64)
-url="https://bitbucket.org/mpi4py/mpi4py"
-license=(BSD)
-depends=(python openmpi)
-makedepends=(python-setuptools cython)
-checkdepends=(inetutils)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('e11f8587a3b93bb24c8526addec664b586b965d83c0882b884c14dc3fd6b9f5c')
-
-build() {
- cd ${_pkg}-${pkgver}
- python 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
- # We don’t have CUDA by default
- export OMPI_MCA_opal_warn_on_missing_libcuda=0
-
- cd ${_pkg}-${pkgver}
- python setup.py test
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python 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 1133500, python-mpi4py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-16 19:50:52 UTC (rev 1133501)
@@ -0,0 +1,41 @@
+# 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
+pkgname=python-${_pkg}
+pkgver=3.1.3
+pkgrel=1
+pkgdesc="Python bindings for the Message Passing Interface (MPI) standard"
+arch=(x86_64)
+url="https://github.com/mpi4py/mpi4py"
+license=(BSD)
+depends=(python openmpi)
+makedepends=(python-setuptools cython)
+checkdepends=(inetutils)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('f1e9fae1079f43eafdd9f817cdb3fd30d709edc093b5d5dada57a461b2db3008')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python 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
+ # We don’t have CUDA by default
+ export OMPI_MCA_opal_warn_on_missing_libcuda=0
+
+ cd ${_pkg}-${pkgver}
+ python setup.py test
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python 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