# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-iso639 _pkgname=iso639 pkgver=0.4.5 pkgrel=0 pkgdesc="Python library for ISO 639 standard" arch='noarch' url="https://github.com/noumar/iso639" license='AGPL-3.0-only' depends="python3" makedepends='py3-setuptools' source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { python3 setup.py test || warning "Tests failed" } package() { python3 setup.py install --skip-build -O1 --root="$pkgdir" } sha512sums=" 6201535804d7d1af77f1f2961d8eb1c2fae323dc5d4361b44e23caa834de1dcb9abd257cda4068f12a1a2984000edfa49cb852ecef5baee2d78d9c9e587202e4 py3-iso639-0.4.5.tar.gz "