blob: 1fb0d00543ed5200a4a459cd8d48cb6437844ef4 (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=py-phonenumbers
pkgver=6.0.0a
pkgrel=0
pkgdesc="International phone number library for Python"
url=https://github.com/daviddrysdale/python-phonenumbers
arch=noarch
license="ASL 2.0"
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/p/phonenumbers/phonenumbers-$pkgver.tar.gz
_builddir=$srcdir/phonenumbers-$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"
./setup.py build
}
package() {
cd "$_builddir"
./setup.py install --root "$pkgdir"
}
md5sums="f0c91fe551c92ded82953b786bbf0c32 phonenumbers-6.0.0a.tar.gz"
sha256sums="bbc3256ccaa417c6b0262ba57d86245b7fc8227b4fe71d9d245268f02c7dab2d phonenumbers-6.0.0a.tar.gz"
sha512sums="5a56824978f2fb15c543aad380fa342d1149c1f3d316868d2550ad970033653fb4749a0544b4110ca72d7c89ae41ffd7622856db6aad34eb4548e736ebfabd9c phonenumbers-6.0.0a.tar.gz"
|