blob: 2731a3245403d0c0ac5b3074f00c2306d70b3c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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=('cython'
'python'
'python-numba'
'python-numpy'
'python-pytest'
'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
}
|