[arch-commits] Commit in python-phonenumbers/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:47:22 UTC 2020
Date: Monday, November 9, 2020 @ 15:47:22
Author: felixonmars
Revision: 747141
archrelease: copy trunk to community-staging-any
Added:
python-phonenumbers/repos/community-staging-any/
python-phonenumbers/repos/community-staging-any/PKGBUILD
(from rev 747139, python-phonenumbers/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-phonenumbers/repos/community-staging-any/PKGBUILD (from rev 747139, python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:47:22 UTC (rev 747141)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-phonenumbers
+pkgver=8.12.12
+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=("$pkgname-$pkgver.tar.gz::https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver.tar.gz")
+sha512sums=('710b7d1f37c59df4ac93e37a79e6393a319405a985c499d666452925e825aae83b63395f5efed64f3ab0305625af91e89bfcce573c60362d27efcf9656b8d835')
+
+build() {
+ cd python-phonenumbers-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-phonenumbers-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd python-phonenumbers-$pkgver
+ python setup.py install -O1 --root "$pkgdir"
+}
More information about the arch-commits
mailing list