diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
commit | c82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch) | |
tree | 74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-phonenumbers | |
parent | d463d1589d67f322eabd49166a2bdb78de0d0a34 (diff) | |
download | aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2 aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz |
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-phonenumbers')
-rw-r--r-- | main/py-phonenumbers/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-phonenumbers/APKBUILD b/main/py-phonenumbers/APKBUILD new file mode 100644 index 0000000000..c1cca9d79b --- /dev/null +++ b/main/py-phonenumbers/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-phonenumbers +_pkgname=phonenumbers +pkgver=7.0.1 +pkgrel=0 +pkgdesc="International phone number library for Python" +url=https://github.com/daviddrysdale/python-phonenumbers +arch="noarch" +license="ASL 2.0" +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"/$_pkgname-$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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="262f2877122848aa57a1033236739e04 phonenumbers-7.0.1.tar.gz" +sha256sums="d7f1e71c629a93790bd0ac95c8ce32006edd3e7c68659ada06cbef524c8506ec phonenumbers-7.0.1.tar.gz" +sha512sums="6c9ef6d0ffd5d438ea80f51ab1d1cea06712a710f4951488dfaeab738b99768ecd52b02a459299db7c812c0858034c84da546f52b5374e50269e98e2b47534d0 phonenumbers-7.0.1.tar.gz" |