Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-phonenumbers
Commits: c9146682 by loqs at 2024-03-07T17:41:09+00:00 Call unittest module directly - - - - - 9ecd2559 by loqs at 2024-03-07T17:44:35+00:00 Change to a PEP 517 based workflow - - - - - 175fa01c by loqs at 2024-03-07T17:47:12+00:00 Change to SPDX license identifier https://github.com/daviddrysdale/python-phonenumbers/blob/95d5229972a294f0f6c7dd022cbd14bc65101026/LICENSE - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -7,23 +7,24 @@ pkgrel=1 pkgdesc="Python version of Google's common library for parsing, formatting, storing and validating international phone numbers" arch=('any') url="https://github.com/daviddrysdale/python-phonenumbers" -license=('Apache') +license=('Apache-2.0') depends=('python') -makedepends=('git' 'python-setuptools') +makedepends=('git' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-protobuf') source=("git+https://github.com/daviddrysdale/python-phonenumbers.git#commit=$_commit") sha512sums=('SKIP') build() { cd python-phonenumbers/python - python setup.py build + python -m build --wheel --no-isolation } check() { cd python-phonenumbers/python - python setup.py test + python -m unittest -v } package() { cd python-phonenumbers/python - python setup.py install -O1 --root "$pkgdir" + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-phonenumbers/-/compare/c1a135b708562b6026a6ef4ee77eb441bd2a303d...175fa01ccf80875b1bf8cf48475bca3a0c1a49a0 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-phonenumbers/-/compare/c1a135b708562b6026a6ef4ee77eb441bd2a303d...175fa01ccf80875b1bf8cf48475bca3a0c1a49a0 You're receiving this email because of your account on gitlab.archlinux.org.
