diff options
author | Riccardo Berto | 2017-08-25 09:05:42 +0200 |
---|---|---|
committer | Riccardo Berto | 2017-08-25 09:05:42 +0200 |
commit | 5a2d08eb698501bcf90492b17c266e063852c92d (patch) | |
tree | 2d9195df82f4e6b9031590bf45b2d59618740828 | |
download | aur-5a2d08eb698501bcf90492b17c266e063852c92d.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dca9926c21a8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-alpha-vantage + pkgdesc = Python Client for Google Maps Services + pkgver = 1.2.0 + pkgrel = 1 + url = https://github.com/RomelTorres/alpha_vantage + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-requests + source = https://github.com/RomelTorres/alpha_vantage/archive/1.2.0.tar.gz + md5sums = af8162d2a59dcdb95b16b75e20417584 + +pkgname = python-alpha-vantage + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7e7a9498a66b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 Client for Google Maps Services" +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 +} |