2022-03-27 19:10:10 +02:00
|
|
|
# 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
|
2023-05-30 22:27:53 +02:00
|
|
|
# Depends on: python3-build python3-installer python3-wheel
|
2022-03-27 19:10:10 +02:00
|
|
|
|
|
|
|
name=python3-phonenumbers
|
2024-02-26 19:00:06 +01:00
|
|
|
version=8.13.31
|
2022-03-27 19:10:10 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/daviddrysdale/python-phonenumbers/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd python-phonenumbers-$version/python
|
2023-05-30 22:27:53 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2022-03-27 19:10:10 +02:00
|
|
|
}
|