blob: 0e2449d7e9028de046f829032efe669761b0df39 (
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
|
# 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"
|