[arch-commits] Commit in python-h5py-openmpi/repos/community-staging-x86_64 (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 10:08:00 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:08:00
  Author: foutrelis
Revision: 751422

archrelease: copy trunk to community-staging-x86_64

Added:
  python-h5py-openmpi/repos/community-staging-x86_64/PKGBUILD
    (from rev 751421, python-h5py-openmpi/trunk/PKGBUILD)
Deleted:
  python-h5py-openmpi/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:07:56 UTC (rev 751421)
+++ PKGBUILD	2020-11-12 10:08:00 UTC (rev 751422)
@@ -1,45 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Joey Dumont <joey.dumont at gmail.com>
-
-_pkg=h5py
-_mpi=openmpi
-pkgname=python-${_pkg}-${_mpi}
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="General-purpose Python bindings for the HDF5 library (${_mpi} version)"
-arch=(x86_64)
-url="https://www.h5py.org/"
-license=(BSD)
-depends=(hdf5-${_mpi} liblzf python-numpy python-mpi4py)
-makedepends=(cython python-pkgconfig)
-checkdepends=(inetutils python-pytest python-pytest-mpi python-pytables)
-conflicts=(python-h5py)
-provides=(python-h5py)
-source=(https://files.pythonhosted.org/packages/source/h/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2')
-validpgpkeys=(AC47F71DB275ECD0B3DA46E857FA4540DD4EFCF7 # Thomas A Caswell (Brookhaven National Lab) <tcaswell at bnl.gov>
-              96B7334D7610EE3E68AFFE589E027116943D6A8B) # Thomas A Caswell <tcaswell at bnl.gov> (new key)
-# See https://github.com/h5py/h5py/issues/1299 about lack of GPG sigs for recent releases
-
-prepare() {
-  cd ${_pkg}-${pkgver}
-  # Remove RPATH
-  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" setup_build.py
-}
-
-build() {
-  export CC=mpicc
-  cd ${_pkg}-${pkgver}
-  HDF5_MPI="ON" H5PY_SYSTEM_LZF=1 python setup.py build
-}
-
-check() {
-  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  PYTHONPATH="$PWD/${_pkg}-${pkgver}/build/lib.linux-$CARCH-${python_version}" python -m pytest --pyargs h5py -rxXs --with-mpi
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  HDF5_MPI="ON" python setup.py install --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 licenses/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: python-h5py-openmpi/repos/community-staging-x86_64/PKGBUILD (from rev 751421, python-h5py-openmpi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 10:08:00 UTC (rev 751422)
@@ -0,0 +1,45 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Joey Dumont <joey.dumont at gmail.com>
+
+_pkg=h5py
+_mpi=openmpi
+pkgname=python-${_pkg}-${_mpi}
+pkgver=3.1.0
+pkgrel=3
+pkgdesc="General-purpose Python bindings for the HDF5 library (${_mpi} version)"
+arch=(x86_64)
+url="https://www.h5py.org/"
+license=(BSD)
+depends=(hdf5-${_mpi} liblzf python-numpy python-mpi4py)
+makedepends=(cython python-pkgconfig)
+checkdepends=(inetutils python-pytest python-pytest-mpi python-pytables)
+conflicts=(python-h5py)
+provides=(python-h5py)
+source=(https://files.pythonhosted.org/packages/source/h/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2')
+validpgpkeys=(AC47F71DB275ECD0B3DA46E857FA4540DD4EFCF7 # Thomas A Caswell (Brookhaven National Lab) <tcaswell at bnl.gov>
+              96B7334D7610EE3E68AFFE589E027116943D6A8B) # Thomas A Caswell <tcaswell at bnl.gov> (new key)
+# See https://github.com/h5py/h5py/issues/1299 about lack of GPG sigs for recent releases
+
+prepare() {
+  cd ${_pkg}-${pkgver}
+  # Remove RPATH
+  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" setup_build.py
+}
+
+build() {
+  export CC=mpicc
+  cd ${_pkg}-${pkgver}
+  HDF5_MPI="ON" H5PY_SYSTEM_LZF=1 python setup.py build
+}
+
+check() {
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  PYTHONPATH="$PWD/${_pkg}-${pkgver}/build/lib.linux-$CARCH-${python_version}" python -m pytest --pyargs h5py -rxXs --with-mpi
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  HDF5_MPI="ON" python setup.py install --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 licenses/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list