[arch-commits] Commit in python-phonenumbers/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 5 17:53:23 UTC 2018
Date: Saturday, May 5, 2018 @ 17:53:22
Author: felixonmars
Revision: 318981
archrelease: copy trunk to community-any
Added:
python-phonenumbers/repos/community-any/PKGBUILD
(from rev 318980, python-phonenumbers/trunk/PKGBUILD)
Deleted:
python-phonenumbers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-05 17:51:48 UTC (rev 318980)
+++ PKGBUILD 2018-05-05 17:53:22 UTC (rev 318981)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-phonenumbers
-pkgname=(python-phonenumbers python2-phonenumbers)
-pkgver=8.9.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')
-makedepends=("python-setuptools" "python2-setuptools")
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver.tar.gz")
-sha512sums=('d25de35b996df21fe062d9b3a263a1820949eef5b7b14970fc8639fd71202e6036cba41043f7d1ca6f4e0d639c159950410d003501b65a8ec9210b89fdaab874')
-
-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 318980, python-phonenumbers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-05 17:53:22 UTC (rev 318981)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-phonenumbers
+pkgname=(python-phonenumbers python2-phonenumbers)
+pkgver=8.9.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')
+makedepends=("python-setuptools" "python2-setuptools")
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/daviddrysdale/python-phonenumbers/archive/v$pkgver.tar.gz")
+sha512sums=('d25de35b996df21fe062d9b3a263a1820949eef5b7b14970fc8639fd71202e6036cba41043f7d1ca6f4e0d639c159950410d003501b65a8ec9210b89fdaab874')
+
+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