# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py3-django-phonenumber-field pkgver=3.0.1 pkgrel=0 pkgdesc="An international phone number field for django models" url="https://github.com/stefanfoulis/django-phonenumber-field" arch="noarch" license="MIT" depends="py3-babel py3-django py3-phonenumbers" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/d/django-phonenumber-field/django-phonenumber-field-$pkgver.tar.gz" builddir="$srcdir/django-phonenumber-field-$pkgver" options="!check" # test fails. its unclear how tests are supposed to be executed build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py install --root "$pkgdir" } sha512sums="04558e43183f7607502e62555477bc9849873593a594dcc552e74366ed1b54cf0d3b808597503f7e6a47fe4aaa09c98eaec421d94785c10a529ccec1d994d73a django-phonenumber-field-3.0.1.tar.gz"