aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-ibanlib
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-07 21:03:05 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-09-08 14:36:46 +0200
commit010671aa277b3178b20e6a8a13e857ec70291e06 (patch)
treef849a899f0d4c913318cb63e4a5c83b04e7747b8 /testing/py-ibanlib
parent23a95a8f1ec6f2e45b1005931e3af303175b2500 (diff)
downloadaports-010671aa277b3178b20e6a8a13e857ec70291e06.tar.bz2
aports-010671aa277b3178b20e6a8a13e857ec70291e06.tar.xz
testing/py-ibanlib: new aport
A Library integrate the International Bank Account Number (IBAN) https://pypi.python.org/pypi/ibanlib
Diffstat (limited to 'testing/py-ibanlib')
-rw-r--r--testing/py-ibanlib/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-ibanlib/APKBUILD b/testing/py-ibanlib/APKBUILD
new file mode 100644
index 0000000000..ef00f4acf2
--- /dev/null
+++ b/testing/py-ibanlib/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-ibanlib
+_pkgname=ibanlib
+pkgver=0.0.2
+pkgrel=0
+pkgdesc="A Library integrate the International Bank Account Number (IBAN)"
+url="https://pypi.python.org/pypi/ibanlib"
+arch="noarch"
+license="LGPL3+"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="db5280e16189abcd2075edf704f691e8 ibanlib-0.0.2.tar.gz"
+sha256sums="99bdd2bd3bf588b355d090280794e08aae745e33e3cffe276a167cfce11c122e ibanlib-0.0.2.tar.gz"
+sha512sums="6673ab2ece07fd27ce3157e8fcfa28b08a06ebdb58a4c356015e0833f6d13e6e238841919bdf2164a30e81ad2b1d050924fec25ba0dc30c46f3c78ff96ea202c ibanlib-0.0.2.tar.gz"