]> git.sev.monster Git - aports.git/blame - testing/py3-iso3166/APKBUILD
web2ldap: small APKBUILD filename adjustment
[aports.git] / testing / py3-iso3166 / APKBUILD
CommitLineData
0b830d7f 1# Contributor: sev <alpine@sev.monster>
2# Maintainer: sev <alpine@sev.monster>
3_pkgname=iso3166
4pkgname=py3-$_pkgname
5pkgver=2.0.2
6pkgrel=0
7pkgdesc="Self-contained ISO 3166-1 country definitions."
8url="https://github.com/deactivated/python-iso3166"
9arch="noarch"
10license="MIT"
11depends="python3>=3.6"
12makedepends="py3-setuptools"
13checkdepends="py3-pytest"
14source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
15builddir="$srcdir"/$_pkgname-$pkgver
16
17build() {
18 python3 setup.py build
19}
20
21package() {
22 python3 setup.py install --prefix=/usr --root="$pkgdir"
23}
24
25check() {
26 python3 -m pytest
27}
28sha512sums="
29eb5c27c69e29c4312f3a5146206032aae49ee489d9a5987fce1fb66bae9d93ec252bf7fd1119403a278f66adaa5ce1c77fe8d3a1622c46ae4a291d73e5c9fb21 iso3166-2.0.2.tar.gz
30"
This page took 0.041973 seconds and 4 git commands to generate.