[arch-commits] Commit in python-phonenumbers/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 27 14:26:25 UTC 2018
Date: Tuesday, November 27, 2018 @ 14:26:25
Author: felixonmars
Revision: 409936
archrelease: copy trunk to community-any
Added:
python-phonenumbers/repos/community-any/PKGBUILD
(from rev 409935, python-phonenumbers/trunk/PKGBUILD)
Deleted:
python-phonenumbers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-27 14:26:06 UTC (rev 409935)
+++ PKGBUILD 2018-11-27 14:26:25 UTC (rev 409936)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-phonenumbers
-pkgname=(python-phonenumbers python2-phonenumbers)
-pkgver=8.10.0
-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')
-makedepends=("python-setuptools" "python2-setuptools")
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver.tar.gz")
-sha512sums=('99432d39bdbb919a185275ddd5a88cc101c3f04d8e895a2fac0abd0a180e1c20264c1bd7428a93bd72359b51f055769bc284c4a1febe0d12f4ee3098e575d481')
-
-prepare() {
- cp -a python-phonenumbers-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-phonenumbers-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-phonenumbers-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-phonenumbers-$pkgver
- python setup.py test
-
- cd "$srcdir"/python-phonenumbers-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-phonenumbers() {
- depends=('python')
-
- cd python-phonenumbers-$pkgver
- python setup.py install -O1 --root "$pkgdir"
-}
-
-package_python2-phonenumbers() {
- depends=('python2')
-
- cd python-phonenumbers-$pkgver-py2
- python2 setup.py install -O1 --root "$pkgdir"
-}
Copied: python-phonenumbers/repos/community-any/PKGBUILD (from rev 409935, python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-27 14:26:25 UTC (rev 409936)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-phonenumbers
+pkgname=(python-phonenumbers python2-phonenumbers)
+pkgver=8.10.1
+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')
+makedepends=("python-setuptools" "python2-setuptools")
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver.tar.gz")
+sha512sums=('c7b6381b529d44c62129152c3792663d6e951b1b4a1b594fd13fab51ae1c7ee1a4810c7b4d47a33c71bbd32f7c18d1e852c66057117192125c573f8385462b7a')
+
+prepare() {
+ cp -a python-phonenumbers-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-phonenumbers-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-phonenumbers-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-phonenumbers-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/python-phonenumbers-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-phonenumbers() {
+ depends=('python')
+
+ cd python-phonenumbers-$pkgver
+ python setup.py install -O1 --root "$pkgdir"
+}
+
+package_python2-phonenumbers() {
+ depends=('python2')
+
+ cd python-phonenumbers-$pkgver-py2
+ python2 setup.py install -O1 --root "$pkgdir"
+}
More information about the arch-commits
mailing list