diff options
Diffstat (limited to 'testing/py-phonenumbers/APKBUILD')
-rw-r--r-- | testing/py-phonenumbers/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/py-phonenumbers/APKBUILD b/testing/py-phonenumbers/APKBUILD new file mode 100644 index 0000000000..1fb0d00543 --- /dev/null +++ b/testing/py-phonenumbers/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-phonenumbers +pkgver=6.0.0a +pkgrel=0 +pkgdesc="International phone number library for Python" +url=https://github.com/daviddrysdale/python-phonenumbers +arch=noarch +license="ASL 2.0" +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/p/phonenumbers/phonenumbers-$pkgver.tar.gz + +_builddir=$srcdir/phonenumbers-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./setup.py build +} + +package() { + cd "$_builddir" + ./setup.py install --root "$pkgdir" +} + +md5sums="f0c91fe551c92ded82953b786bbf0c32 phonenumbers-6.0.0a.tar.gz" +sha256sums="bbc3256ccaa417c6b0262ba57d86245b7fc8227b4fe71d9d245268f02c7dab2d phonenumbers-6.0.0a.tar.gz" +sha512sums="5a56824978f2fb15c543aad380fa342d1149c1f3d316868d2550ad970033653fb4749a0544b4110ca72d7c89ae41ffd7622856db6aad34eb4548e736ebfabd9c phonenumbers-6.0.0a.tar.gz" |