summaryrefslogtreecommitdiff
path: root/user/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'user/coverage')
-rw-r--r--user/coverage/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/coverage/APKBUILD b/user/coverage/APKBUILD
new file mode 100644
index 000000000..1cea3561d
--- /dev/null
+++ b/user/coverage/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=coverage
+pkgver=4.5.1
+pkgrel=0
+pkgdesc="Code coverage testing for Python"
+url="https://coverage.readthedocs.io/"
+arch="all"
+license="Apache-2.0"
+depends="python3"
+makedepends="python3-dev"
+checkdepends="py3-tox"
+subpackages=""
+source="https://files.pythonhosted.org/packages/35/fe/e7df7289d717426093c68d156e0fd9117c8f4872b6588e8a8928a0f68424/coverage-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix="/usr" --root="$pkgdir"
+}
+
+sha512sums="82742a572549400778cad99057b1ced4c36b61e917983148eccc86bfa6340de8cfefc4f743e79ff876b641e0b9d21307dd6bde78638a6b20dd8ad215068dda25 coverage-4.5.1.tar.gz"