archrelease: copy trunk to community-any
[arch-community.git] / python-pandas-datareader / trunk / PKGBUILD
blob45c46a71fe99970349bdf71b049fc82ac6dd5e79
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
3 # TODO: move optional python-requests-cache
5 pkgname=python-pandas-datareader
6 pkgver=0.10.0
7 pkgrel=3
8 pkgdesc="Data readers extracted from the pandas codebase"
9 arch=('any')
10 url="https://github.com/pydata/pandas-datareader"
11 license=('BSD')
12 depends=('python-pandas' 'python-lxml' 'python-requests')
13 makedepends=('python-setuptools')
14 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pydata/pandas-datareader/archive/v${pkgver}.tar.gz")
15 sha256sums=('73385b23d42599c6f6f34966f0f22287acd8b775917d5694ae6df4adaf0d0add')
17 build() {
18   cd "$srcdir"/pandas-datareader-${pkgver}
19   python setup.py build_ext --inplace
20   python setup.py build
23 package() {
24   cd "$srcdir"/pandas-datareader-${pkgver}
25   python setup.py install --skip-build --root="$pkgdir" --optimize=1
26   install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE