aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-django-phonenumber-field/APKBUILD
blob: 8f73f3b3d11fcc02061a41c80189cd2eef9a10cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                       
                                    
            
        
                                                               




                                                              
                                                                                                                          
                                                   
                                                                                

         
                              


         
                             


           
                                                 

 


                                                                                                                                                                       
# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py3-django-phonenumber-field
pkgver=5.0.0
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() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="
db91ea868537186b03185144960055ce873da771642e46c3bfb410c193987617d2297e97776210ce712e0e7a468c16e3e5058ed1c3ed208d063c45242dd955fd  django-phonenumber-field-5.0.0.tar.gz
"