aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-i18naddress/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-i18naddress/APKBUILD b/testing/py3-i18naddress/APKBUILD
new file mode 100644
index 0000000000..5654c67bac
--- /dev/null
+++ b/testing/py3-i18naddress/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=py3-i18naddress
+_pyname=google-i18n-address
+pkgver=2.4.0
+pkgrel=0
+pkgdesc="Address validation helpers for Google's i18n address database"
+url="https://github.com/mirumee/google-i18n-address"
+arch="noarch"
+license="BSD-3-Clause"
+depends="python3 py3-requests"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+_pypiprefix="${_pyname%${_pyname#?}}"
+source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir/$_pyname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ py.test-3
+}
+
+package() {
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha512sums="a64e598b838f9d83b70b4f6acb3dc6c8930239e44b726f39a8f973334e2927d0394d1f323ca53acd43f4d9abede2a7ee48427f48a90427cbae7aada4cd8f08a5 google-i18n-address-2.4.0.tar.gz"