blob: 831470088bfa42ae9636cfe3c13c2bc058acd3e5 (
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=py3-django-phonenumber-field
pkgver=3.0.1
pkgrel=1
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"
|