diff options
author | Guillaume Horel | 2017-03-13 17:33:27 -0400 |
---|---|---|
committer | Guillaume Horel | 2017-03-13 17:33:27 -0400 |
commit | 4cb2be9efefa568d8e7cc9c5600d41176eae08b5 (patch) | |
tree | 3ae76ff79db540bee20722b84c4a91fddf09a47a | |
download | aur-4cb2be9efefa568d8e7cc9c5600d41176eae08b5.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..26e82bd93587 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python-fastparquet + pkgdesc = A python implementation of the parquet format. + pkgver = 0.0.5 + pkgrel = 1 + url = https://github.com/dask/fastparquet + arch = i686 + arch = x86_64 + license = Apache + checkdepends = python-pytest + makedepends = python-setuptools + depends = python + depends = python-numba + depends = python-cython + depends = python-numpy + depends = python-thriftpy + optdepends = python-snappy + source = https://github.com/dask/fastparquet/archive/0.0.5.tar.gz + sha256sums = b8091a38ffa5ed16ddd98ef96ea3561a182b2b23a3060118cdd2beeec16db798 + +pkgname = python-fastparquet + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b45dd928ac1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Guillaume Horel <guillaume.horel@gmail.com> +pkgname=('python-fastparquet') +_module='fastparquet' +pkgver='0.0.5' +pkgrel=1 +pkgdesc="A python implementation of the parquet format." +url="https://github.com/dask/fastparquet" +checkdepends=('python-pytest') +depends=('python' + 'python-numba' + 'python-cython' + 'python-numpy' + 'python-thriftpy') +makedepends=('python-setuptools') +optdepends=('python-snappy') +license=('Apache') +arch=('i686' 'x86_64') +source=("https://github.com/dask/fastparquet/archive/$pkgver.tar.gz") +sha256sums=('b8091a38ffa5ed16ddd98ef96ea3561a182b2b23a3060118cdd2beeec16db798') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +check() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build_ext --inplace + pytest +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |