2023-01-10 19:16:39 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
pkgname=py3-iso639
|
2023-01-10 19:16:39 +00:00
|
|
|
_pkgname=iso639
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgver=0.4.5
|
2023-02-10 05:37:40 +00:00
|
|
|
pkgrel=1
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="Python library for ISO 639 standard"
|
|
|
|
arch='noarch'
|
|
|
|
url="https://github.com/noumar/iso639"
|
2023-01-10 19:16:39 +00:00
|
|
|
license='AGPL-3.0-only'
|
2021-11-30 21:44:44 +00:00
|
|
|
depends="python3"
|
|
|
|
makedepends='py3-setuptools'
|
2023-01-10 19:16:39 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
build() {
|
2023-01-10 19:16:39 +00:00
|
|
|
python3 setup.py build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2023-01-10 19:16:39 +00:00
|
|
|
python3 setup.py test || warning "Tests failed"
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:16:39 +00:00
|
|
|
python3 setup.py install --skip-build -O1 --root="$pkgdir"
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
2023-01-10 19:16:39 +00:00
|
|
|
sha512sums="
|
|
|
|
6201535804d7d1af77f1f2961d8eb1c2fae323dc5d4361b44e23caa834de1dcb9abd257cda4068f12a1a2984000edfa49cb852ecef5baee2d78d9c9e587202e4 py3-iso639-0.4.5.tar.gz
|
|
|
|
"
|