[arch-commits] Commit in python-phonenumbers/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Dec 8 18:25:36 UTC 2017
Date: Friday, December 8, 2017 @ 18:25:36
Author: felixonmars
Revision: 273379
archrelease: copy trunk to community-any
Added:
python-phonenumbers/repos/community-any/PKGBUILD
(from rev 273378, python-phonenumbers/trunk/PKGBUILD)
Deleted:
python-phonenumbers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-08 18:25:12 UTC (rev 273378)
+++ PKGBUILD 2017-12-08 18:25:36 UTC (rev 273379)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-phonenumbers
-pkgname=(python-phonenumbers python2-phonenumbers)
-pkgver=8.8.7
-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=('6a1958a600e7d4e2b57a5922f357bd4880f735088efb723e4b4ee41628dbfb98afd429aa70e3fc99e585b44b4040abe3399ed154601aae30a22715a9260fa4e2')
-
-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 273378, python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-08 18:25:36 UTC (rev 273379)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-phonenumbers
+pkgname=(python-phonenumbers python2-phonenumbers)
+pkgver=8.8.8
+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=('bfa7eabc33e5b3b7790d7d50918bf8cc4f3a530b6b3989e923f5abdfc678218359dca1e0f9ecc4b00548812a7e1cd1d32e6699001f76c84d5faf12d725e9fdaf')
+
+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