diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-08-10 23:24:07 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-08-10 23:28:37 +0300 |
commit | 96ed6cffb779f3133cf6ab04d843147ad5912a77 (patch) | |
tree | 2638a1412129e23a78165c5e9f143a0d8ee3fd92 /main/py-django-phonenumber-field | |
parent | 04ff0dad61c86d510fc754dee938fae053d09c6a (diff) | |
download | aports-96ed6cffb779f3133cf6ab04d843147ad5912a77.tar.bz2 aports-96ed6cffb779f3133cf6ab04d843147ad5912a77.tar.xz |
main/py-django-phonenumber-fields: new package
Diffstat (limited to 'main/py-django-phonenumber-field')
-rw-r--r-- | main/py-django-phonenumber-field/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/py-django-phonenumber-field/APKBUILD b/main/py-django-phonenumber-field/APKBUILD new file mode 100644 index 0000000000..0e2449d7e9 --- /dev/null +++ b/main/py-django-phonenumber-field/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-phonenumber-field +pkgver=1.3.0 +pkgrel=0 +pkgdesc="An international phone number field for django models" +url=https://github.com/stefanfoulis/django-phonenumber-field +arch=noarch +license=BSD +depends="py-babel py-django py-phonenumbers" +makedepends=py-setuptools +source="https://files.pythonhosted.org/packages/source/d/django-phonenumber-field/django-phonenumber-field-$pkgver.tar.gz" +builddir=$srcdir/django-phonenumber-field-$pkgver + +build() { + cd "$builddir" + python setup.py build +} + +check() { + cd "$builddir" + python setup.py test +} + +package() { + cd "$builddir" + python setup.py install --root "$pkgdir" +} + +sha512sums="2a0065691f9874edef96e41c237d8a58b4ac5c3efe7a82c421dca269185962f518808083ce82e73a281c95675703b24820a7b5dae09a08474b6c2e3e7f529f1e django-phonenumber-field-1.3.0.tar.gz" |