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

Bruno Pagani archange at gemini.archlinux.org
Tue May 24 12:56:38 UTC 2022


    Date: Tuesday, May 24, 2022 @ 12:56:38
  Author: archange
Revision: 1210198

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-24 12:56:09 UTC (rev 1210197)
+++ PKGBUILD	2022-05-24 12:56:38 UTC (rev 1210198)
@@ -1,48 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Rich Li <rich at dranek.com>
-# Contributor: Sebastien Binet <binet at lblbox>
-
-_pkg=h5py
-pkgname=python-${_pkg}
-pkgver=3.6.0
-pkgrel=4
-pkgdesc="General-purpose Python bindings for the HDF5 library"
-arch=(x86_64)
-url="https://www.h5py.org/"
-license=(BSD)
-depends=(hdf5 liblzf python-numpy)
-makedepends=(cython python-pkgconfig python-setuptools)
-checkdepends=(python-pytest python-pytest-mpi python-pytables)
-conflicts=(hdf5-openmpi)
-source=(https://files.pythonhosted.org/packages/source/h/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29')
-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}
-  # Allow our numpy version
-  sed -i 's/numpy ==/numpy >=/g' setup.py
-  # Remove RPATH
-  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" setup_build.py
-}
-
-build() {
-  cd ${_pkg}-${pkgver}
-  H5PY_SYSTEM_LZF=1 python setup.py build
-}
-
-check() {
-  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  export H5PY_TEST_CHECK_FILTERS=1
-  PYTHONPATH="${PWD}/${_pkg}-${pkgver}/build/lib.linux-${CARCH}-${python_version}" python -m pytest --pyargs h5py -rxXs --color=yes
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 licenses/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: python-h5py/repos/community-x86_64/PKGBUILD (from rev 1210197, python-h5py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-24 12:56:38 UTC (rev 1210198)
@@ -0,0 +1,48 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Rich Li <rich at dranek.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+_pkg=h5py
+pkgname=python-${_pkg}
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="General-purpose Python bindings for the HDF5 library"
+arch=(x86_64)
+url="https://www.h5py.org/"
+license=(BSD)
+depends=(hdf5 liblzf python-numpy)
+makedepends=(cython python-pkgconfig python-setuptools)
+checkdepends=(python-pytest python-pytest-mpi python-pytables)
+conflicts=(hdf5-openmpi)
+source=(https://files.pythonhosted.org/packages/source/h/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('3fcf37884383c5da64846ab510190720027dca0768def34dd8dcb659dbe5cbf3')
+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}
+  # Allow our numpy version
+  sed -i 's/numpy ==/numpy >=/g' setup.py
+  # Remove RPATH
+  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" setup_build.py
+}
+
+build() {
+  cd ${_pkg}-${pkgver}
+  H5PY_SYSTEM_LZF=1 python setup.py build
+}
+
+check() {
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  export H5PY_TEST_CHECK_FILTERS=1
+  PYTHONPATH="${PWD}/${_pkg}-${pkgver}/build/lib.linux-${CARCH}-${python_version}" python -m pytest --pyargs h5py -rxXs --color=yes
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  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