Date: Tuesday, January 31, 2023 @ 20:46:38
Author: felixonmars
Revision: 1391569
archrelease: copy trunk to community-any
Added:
python-phonenumbers/repos/community-any/PKGBUILD
(from rev 1391568, python-phonenumbers/trunk/PKGBUILD)
Deleted:
python-phonenumbers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++----------------------------
1 file changed, 29 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:46:27 UTC (rev 1391568)
+++ PKGBUILD 2023-01-31 20:46:38 UTC (rev 1391569)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-phonenumbers
-pkgver=8.13.5
-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')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('ac6b58ce6323ad4e28d4f9ac27d461894c96958a67581a6a2a748d67011dfca44c678d0fd9e9d096043ee15fcf1402bab3ccf93353a3e41054ebcb4ec81e10b3')
-
-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"
-}
Copied: python-phonenumbers/repos/community-any/PKGBUILD (from rev 1391568,
python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:46:38 UTC (rev 1391569)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-phonenumbers
+pkgver=8.13.5
+_commit=0c34b8a5bd17264449e4c1a65114fd31b58a2a8b
+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=('git' 'python-setuptools')
+source=("git+https://github.com/daviddrysdale/python-phonenumbers.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd python-phonenumbers/python
+ python setup.py build
+}
+
+check() {
+ cd python-phonenumbers/python
+ python setup.py test
+}
+
+package() {
+ cd python-phonenumbers/python
+ python setup.py install -O1 --root "$pkgdir"
+}