mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-28 06:52:00 +01:00
A Library integrate the International Bank Account Number (IBAN) https://pypi.python.org/pypi/ibanlib
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# 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"
|