aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-wbdata/APKBUILD
blob: c9e00bbd3e18b249b2ace2347fd44dc56c318041 (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
28
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-wbdata
_pkgname=wbdata
pkgver=0.2.7
pkgrel=0
pkgdesc="A library to access World Bank data"
url="https://github.com/oliversherouse/wbdata"
arch="noarch"
license="GPL-2.0-or-later"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5b7d8a556f12414e12f2c6bb8e6cb0ca6961675c1e606f8f2153b6d73911e60e22fca0fe70e82143ea2df5c1b4b156f270b15210eec2a8086936500b15be91fe  wbdata-0.2.7.tar.gz"