aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-wbdata
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 08:51:35 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 09:05:06 -0300
commit06df6edbf64a1c44e0306276af34a21bdf35fa98 (patch)
tree37bb756b48280ba9f586d9e4eb1c0256d5c47757 /testing/py3-wbdata
parent0cb3849713bd6ed28d09ec2f689a8d0db8150974 (diff)
downloadaports-06df6edbf64a1c44e0306276af34a21bdf35fa98.tar.bz2
aports-06df6edbf64a1c44e0306276af34a21bdf35fa98.tar.xz
testing/py3-wbdata: rename from py-wbdata
Diffstat (limited to 'testing/py3-wbdata')
-rw-r--r--testing/py3-wbdata/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-wbdata/APKBUILD b/testing/py3-wbdata/APKBUILD
new file mode 100644
index 0000000000..c9e00bbd3e
--- /dev/null
+++ b/testing/py3-wbdata/APKBUILD
@@ -0,0 +1,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"