blob: 54cf3a51a46b69948190d3edaab1ff73080560dc (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-phonenumbers
_pkgname=phonenumbers
pkgver=8.11.5
pkgrel=0
pkgdesc="International phone number library for Python"
url="https://github.com/daviddrysdale/python-phonenumbers"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-phonenumbers" # Backwards compatibility
provides="py-phonenumbers=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="3f8482b142d9ec7c15989ec1e24b8c975f47eb4909658bbd4c4a33803a8ca401ad863c22d56295f24b314fb92ead163fb3fc4d6f3ba4c85b66375c5130da27c5 phonenumbers-8.11.5.tar.gz"
|