aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-vatnumber/APKBUILD
blob: 30f7594426a19b5ba98e5985bae7ab820834290e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                     
                  
          
        
                                                 
                                            
                                          
             
                          


                               
                                                                                                          
 
                                    

         




                              


           
                                                               

 


                                                                                                                                                                   
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-vatnumber
_pkgname=vatnumber
pkgver=1.2
pkgrel=1
pkgdesc="A Python module to validate VAT numbers"
options="!check" # Requres unpackaged 'suds'
url="https://code.google.com/p/vatnumber/"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-stdnum"
makedepends="py3-setuptools"
checkdepends="py3-pysimplesoap"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

md5sums="3b1541be3834a865f6f7bcce809ffb25  vatnumber-1.2.tar.gz"
sha256sums="4e9e9cabcff6076d8deb8a347edfd5d0ab8cab1ed344fdbe5dd4a6110a2f2c7b  vatnumber-1.2.tar.gz"
sha512sums="708b73f8d059638c165663f8b36dd8602c0aa857be456e50690dd61c09b9a8a2e560bf2a3ed89a790670c93f5b84c5a391cef748bebf0fa978a6fe5e319a541f  vatnumber-1.2.tar.gz"