aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-lazy/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-lazy/APKBUILD b/testing/py3-lazy/APKBUILD
new file mode 100644
index 0000000000..ebb06345e7
--- /dev/null
+++ b/testing/py3-lazy/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-lazy
+pkgver=1.4
+pkgrel=0
+pkgdesc="Lazy attributes for Python objects"
+url="https://github.com/stefanholek/lazy"
+arch="noarch"
+license="BSD-2-Clause"
+depends="python3"
+makedepends="py3-setuptools"
+source="https://github.com/stefanholek/lazy/archive/$pkgver/lazy-$pkgver.tar.gz"
+builddir="$srcdir/lazy-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="2a735b1436d3ebc76791645631cfcf54f1e332fd365c317bee92498b10397ec8206b271ae74427cae02985808a843eb98720c91e62dce93bb75702205da161bc lazy-1.4.tar.gz"