blob: ef9ca19c7f7e13d69160e5c82bfaf7419f1fd3d9 (
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
31
32
33
34
35
36
37
38
39
40
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="LGPL-3.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
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"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 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"
|