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