From 91d706d6d584e10c574504995cf0e71ac8032551 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 11 Oct 2018 06:20:17 +0000 Subject: user/coverage: new package --- user/coverage/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/coverage/APKBUILD (limited to 'user/coverage') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2