blob: 3caf28be41af477330cea9e97a293fc234fcf38b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-phonenumber-field
pkgver=2.0.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
options="!check" # test fails. its unclear how tests are supposed to be executed
build() {
cd "$builddir"
python setup.py build
}
check() {
cd "$builddir"
python setup.py test
}
package() {
cd "$builddir"
python setup.py install --root "$pkgdir"
}
sha512sums="557fa0238c94c50cbd32c33ed2d4d5ca0388d1cc3566babb5cba7d2f9c98f296da21a40f80242ea9283dcd3e68c065bdcfe569f5fe99b9bfd136d720df20ec4a django-phonenumber-field-2.0.0.tar.gz"
|