summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0687fcb60f3ca0c55b778aa7c188bc86316ecaee (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
# Maintainer: Riccardo Berto <riccardobrt at gmail dot com>
# Contributor: tembleking <tembleking at gmail dot com>

pkgname='python-alpha-vantage'
_pkgname='alpha_vantage'
pkgver=1.2.0
pkgrel=1
pkgdesc="Python module to get stock data from the Alpha Vantage API."
arch=("any")
url="https://github.com/RomelTorres/alpha_vantage"
license=('MIT')
depends=("python" "python-requests" "python-simplejson" "python-pandas")
makedepends=("python-setuptools")
source=("https://github.com/RomelTorres/alpha_vantage/archive/$pkgver.tar.gz")
md5sums=('af8162d2a59dcdb95b16b75e20417584')

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

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