Date: Friday, May 6, 2016 @ 16:58:06 Author: fyan Revision: 173932 archrelease: copy trunk to community-any
Added: python-phonenumbers/repos/community-any/PKGBUILD (from rev 173931, python-phonenumbers/trunk/PKGBUILD) Deleted: python-phonenumbers/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-06 14:57:46 UTC (rev 173931) +++ PKGBUILD 2016-05-06 14:58:06 UTC (rev 173932) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-phonenumbers -pkgname=(python-phonenumbers python2-phonenumbers) -pkgver=7.3.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" "git") -source=("git+https://github.com/daviddrysdale/python-phonenumbers.git#tag=release-$pkgver") -sha512sums=('SKIP') - -prepare() { - cp -a python-phonenumbers{,-py2} -} - -build() { - cd "$srcdir"/python-phonenumbers - python setup.py build - - cd "$srcdir"/python-phonenumbers-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/python-phonenumbers - python setup.py test - - cd "$srcdir"/python-phonenumbers-py2 - python2 setup.py test -} - -package_python-phonenumbers() { - depends=('python') - - cd python-phonenumbers - python setup.py install -O1 --root "$pkgdir" -} - -package_python2-phonenumbers() { - depends=('python2') - - cd python-phonenumbers-py2 - python2 setup.py install -O1 --root "$pkgdir" -} Copied: python-phonenumbers/repos/community-any/PKGBUILD (from rev 173931, python-phonenumbers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-06 14:58:06 UTC (rev 173932) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-phonenumbers +pkgname=(python-phonenumbers python2-phonenumbers) +pkgver=7.3.2 +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" "git") +source=("git+https://github.com/daviddrysdale/python-phonenumbers.git#tag=release-$pkgver") +sha512sums=('SKIP') + +prepare() { + cp -a python-phonenumbers{,-py2} +} + +build() { + cd "$srcdir"/python-phonenumbers + python setup.py build + + cd "$srcdir"/python-phonenumbers-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/python-phonenumbers + python setup.py test + + cd "$srcdir"/python-phonenumbers-py2 + python2 setup.py test +} + +package_python-phonenumbers() { + depends=('python') + + cd python-phonenumbers + python setup.py install -O1 --root "$pkgdir" +} + +package_python2-phonenumbers() { + depends=('python2') + + cd python-phonenumbers-py2 + python2 setup.py install -O1 --root "$pkgdir" +}