From 3c3d268da0f2b3fab0639d67a09068650695dbf6 Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 12 May 2022 12:55:30 -0500 Subject: [PATCH 1/1] testing/py3-iso3166: new aport --- testing/py3-iso3166/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/py3-iso3166/APKBUILD diff --git a/testing/py3-iso3166/APKBUILD b/testing/py3-iso3166/APKBUILD new file mode 100644 index 0000000..a4f08d6 --- /dev/null +++ b/testing/py3-iso3166/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: sev +# Maintainer: sev +_pkgname=iso3166 +pkgname=py3-$_pkgname +pkgver=2.0.2 +pkgrel=0 +pkgdesc="Self-contained ISO 3166-1 country definitions." +url="https://github.com/deactivated/python-iso3166" +arch="noarch" +license="MIT" +depends="python3>=3.6" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +check() { + python3 -m pytest +} +sha512sums=" +eb5c27c69e29c4312f3a5146206032aae49ee489d9a5987fce1fb66bae9d93ec252bf7fd1119403a278f66adaa5ce1c77fe8d3a1622c46ae4a291d73e5c9fb21 iso3166-2.0.2.tar.gz +" -- 2.46.2