diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-08-21 21:36:31 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-08-23 10:29:07 +0000 |
commit | cea8f0bfc2fe8e3b32b29921b35bb5204ce349e1 (patch) | |
tree | 13dc8ad2f29b234d8da93432a2783c0ea12c19a6 /testing/py-phonenumbers | |
parent | 9a106663e799c6582ec258e320ee6b21d0be7258 (diff) | |
download | aports-cea8f0bfc2fe8e3b32b29921b35bb5204ce349e1.tar.bz2 aports-cea8f0bfc2fe8e3b32b29921b35bb5204ce349e1.tar.xz |
testing/py-phonenumbers: upgrade to 6.2.0
Diffstat (limited to 'testing/py-phonenumbers')
-rw-r--r-- | testing/py-phonenumbers/APKBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/testing/py-phonenumbers/APKBUILD b/testing/py-phonenumbers/APKBUILD index 1fb0d00543..468f5b0bf2 100644 --- a/testing/py-phonenumbers/APKBUILD +++ b/testing/py-phonenumbers/APKBUILD @@ -1,16 +1,21 @@ # Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Maintainer: pkgname=py-phonenumbers -pkgver=6.0.0a +_pkgname=phonenumbers +pkgver=6.2.0 pkgrel=0 pkgdesc="International phone number library for Python" url=https://github.com/daviddrysdale/python-phonenumbers -arch=noarch +arch="noarch" license="ASL 2.0" -makedepends=py-setuptools -source=https://pypi.python.org/packages/source/p/phonenumbers/phonenumbers-$pkgver.tar.gz +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir=$srcdir/phonenumbers-$pkgver +_builddir="$srcdir"/$_pkgname-$pkgver prepare() { local i cd "$_builddir" @@ -23,14 +28,14 @@ prepare() { build() { cd "$_builddir" - ./setup.py build + python setup.py build || return 1 } package() { cd "$_builddir" - ./setup.py install --root "$pkgdir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="f0c91fe551c92ded82953b786bbf0c32 phonenumbers-6.0.0a.tar.gz" -sha256sums="bbc3256ccaa417c6b0262ba57d86245b7fc8227b4fe71d9d245268f02c7dab2d phonenumbers-6.0.0a.tar.gz" -sha512sums="5a56824978f2fb15c543aad380fa342d1149c1f3d316868d2550ad970033653fb4749a0544b4110ca72d7c89ae41ffd7622856db6aad34eb4548e736ebfabd9c phonenumbers-6.0.0a.tar.gz" +md5sums="d646c84459fbe41607dfed28f6fee246 phonenumbers-6.2.0.tar.gz" +sha256sums="30ca5cb631339849b9698abea2f2e0c6b11adfdddb62136c02833654d3658777 phonenumbers-6.2.0.tar.gz" +sha512sums="785dc6724f4f9ef1a27be1eb35f6d93039767b908b404e128a3b3f520fb5987689650540d56a76bd1dc10c60a6da61a6e47d1dfc29963f5b3ff976c60cfe8f77 phonenumbers-6.2.0.tar.gz" |