[arch-commits] Commit in python-h5py-openmpi/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Mar 17 22:02:57 UTC 2019


    Date: Sunday, March 17, 2019 @ 22:02:57
  Author: archange
Revision: 442413

hdf5 1.10.5 rebuild

Modified:
  python-h5py-openmpi/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 21:58:07 UTC (rev 442412)
+++ PKGBUILD	2019-03-17 22:02:57 UTC (rev 442413)
@@ -6,7 +6,7 @@
 pkgbase=python-${_pkg}-${_mpi}
 pkgname=("python-${_pkg}-${_mpi}" "python2-${_pkg}-${_mpi}")
 pkgver=2.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="General-purpose Python bindings for the HDF5 library (${_mpi} version)"
 url="https://www.h5py.org/"
 arch=('x86_64')
@@ -14,8 +14,10 @@
 makedepends=("hdf5-${_mpi}" 'cython' 'cython2' 'python-numpy' 'python2-numpy' 'python-six' 'python2-six'
              'python-pkgconfig' 'python2-pkgconfig' 'python-mpi4py' 'python2-mpi4py')
 checkdepends=('inetutils' 'python2-unittest2')
-source=("https://files.pythonhosted.org/packages/source/h/$_pkg/$_pkg-$pkgver.tar.gz"{,.asc})
-sha256sums=('9d41ca62daf36d6b6515ab8765e4c8c4388ee18e2a665701fef2b41563821002' 'SKIP')
+source=("https://files.pythonhosted.org/packages/source/h/$_pkg/$_pkg-$pkgver.tar.gz"{,.asc}
+        h5py-hdf5-1.10.5.patch::"https://github.com/h5py/h5py/commit/141eafa531c6c09a06efe6a694251a1eea84908d.patch")
+sha256sums=('9d41ca62daf36d6b6515ab8765e4c8c4388ee18e2a665701fef2b41563821002' 'SKIP'
+            '01fff5338ea37458856660cc5cfee5263b7d20d32fadd31ae45bd1e10d085e11')
 validpgpkeys=('AC47F71DB275ECD0B3DA46E857FA4540DD4EFCF7' # Thomas A Caswell (Brookhaven National Lab) <tcaswell at bnl.gov>
               '96B7334D7610EE3E68AFFE589E027116943D6A8B') # Thomas A Caswell <tcaswell at bnl.gov> (new key)
 
@@ -23,7 +25,7 @@
 prepare() {
     # Remove RPATH
     sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" ${_pkg}-${pkgver}/setup_build.py
-
+    (cd $_pkg-$pkgver && patch -p1 -i ../h5py-hdf5-1.10.5.patch)
     cp -a ${_pkg}-${pkgver}{,-py2}
 }
 


More information about the arch-commits mailing list