diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:36:00 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:40:10 +0300 |
commit | 81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f (patch) | |
tree | 2ab58903529d845f4fb77308bb28ea418c1b946f /testing/py-phonenumbers | |
parent | f98161dc2bf1f6cc312620f7060ac558fed79a6b (diff) | |
download | aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.bz2 aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.xz |
py-django-oscar: new package
dependencies included
Diffstat (limited to 'testing/py-phonenumbers')
-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" |