summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a25fe5c570e8a1b04c5eacbb58bbcc270611ffce (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
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgbase=('python-feather')
pkgname=('python-feather')
_module='feather'
pkgver='0.3.1'
pkgrel=1
pkgdesc="Fast, interoperable binary data frame storage for Python, R"
url="https://github.com/wesm/feather"
depends=('python'
    'python-pandas>=0.17.1')
makedepends=('python-setuptools'
    'cython')
license=('Apache')
arch=('i686' 'x86_64')
source=("https://github.com/wesm/feather/archive/v$pkgver.tar.gz")
md5sums=('3700893e1f21bc850c9e80446d82c185')

build() {
    cd "${srcdir}/${_module}-${pkgver}/python"
    ln -s ../cpp/src src
    python setup.py build
}

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