Skip to content

Instantly share code, notes, and snippets.

@richli
Created December 21, 2013 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richli/8064206 to your computer and use it in GitHub Desktop.
Save richli/8064206 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for h5py 2.2.1
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Sebastien Binet <binet@lblbox>
pkgname=python-h5py
pkgver=2.2.1
pkgrel=1
pkgdesc="General-purpose Python bindings for the HDF5 library"
url="https://github.com/h5py/h5py"
arch=('i686' 'x86_64')
license=('BSD')
depends=('hdf5' 'python' 'python-numpy')
makedepends=('cython')
source=(https://github.com/h5py/h5py/archive/"$pkgver".tar.gz)
md5sums=('5743ea033b2042bbda0c0e12f8f76ecd')
sha1sums=('001277268035146ded8a6c6d1c30a4a355b9d952')
sha256sums=('eed1cff0ceb551ddd463b0e978c01fc7dfaf5ffc217ea0deece6d802f3a61816')
build() {
cd $srcdir/h5py-"$pkgver"
python setup.py build
}
package() {
cd $srcdir/h5py-"$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment