summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66e0bd5115d60a5ca13474bc65014c3e0ae379b8 (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
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname='python-fastparquet'
_module='fastparquet'
pkgver='0.8.1'
pkgrel=1
pkgdesc="A python implementation of the parquet format."
url="https://github.com/dask/fastparquet"
checkdepends=('python-pytest')
depends=(python python-cramjam python-fsspec)
makedepends=('cython' 'python-setuptools')
optdepends=('python-s3fs')
license=('Apache')
arch=('x86_64')
source=("https://github.com/dask/fastparquet/archive/$pkgver.tar.gz")
sha256sums=('591e20b128da87e369aa23178a29f2aaff4e4e69feab845be7ea456b3213fc96')

build() {
    cd "${_module}-${pkgver}"
    python setup.py build
}

check() {
    cd "${_module}-${pkgver}"
    python setup.py build_ext --inplace
    pytest
}

package() {
    cd "${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}