[arch-commits] Commit in python-phonenumbers/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:21 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:21
  Author: felixonmars
Revision: 1058040

archrelease: copy trunk to community-staging-any

Added:
  python-phonenumbers/repos/community-staging-any/
  python-phonenumbers/repos/community-staging-any/PKGBUILD
    (from rev 1058039, python-phonenumbers/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-phonenumbers/repos/community-staging-any/PKGBUILD (from rev 1058039, python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:20:21 UTC (rev 1058040)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-phonenumbers
+pkgver=8.12.37
+pkgrel=2
+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')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f8f18e8634a15eb2ee7941fa4eea3a4c1f3fe7a2ce5353ab94eaf83fe2b796123f56f0f091f85e847e469a4db4154efbc4cf8764724d77a9a642b23a5b0d2e32')
+
+build() {
+  cd python-phonenumbers-$pkgver/python
+  python setup.py build
+}
+
+check() {
+  cd python-phonenumbers-$pkgver/python
+  python setup.py test
+}
+
+package() {
+  cd python-phonenumbers-$pkgver/python
+  python setup.py install -O1 --root "$pkgdir"
+}



More information about the arch-commits mailing list