1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
3 # TODO: move optional python-requests-cache
5 pkgname=python-pandas-datareader
8 pkgdesc="Data readers extracted from the pandas codebase"
10 url="https://github.com/pydata/pandas-datareader"
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')
18 cd "$srcdir"/pandas-datareader-${pkgver}
19 python setup.py build_ext --inplace
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