17 lines
668 B
Plaintext
17 lines
668 B
Plaintext
# Description: Python version of Google's common library for parsing, formatting, storing and validating international phone numbers
|
|
# URL: https://github.com/daviddrysdale/python-phonenumbers
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-build python3-installer python3-wheel
|
|
|
|
name=python3-phonenumbers
|
|
version=8.13.33
|
|
release=1
|
|
source=(https://github.com/daviddrysdale/python-phonenumbers/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd python-phonenumbers-$version/python
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|