diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-11 06:20:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-11 06:20:42 +0000 |
commit | 91d706d6d584e10c574504995cf0e71ac8032551 (patch) | |
tree | db455e0038e2a0501eae8e7be8caf0bc3581205c | |
parent | ba145ace496d73d6637f4f48079d72ad6f4d4be6 (diff) | |
download | packages-91d706d6d584e10c574504995cf0e71ac8032551.tar.gz packages-91d706d6d584e10c574504995cf0e71ac8032551.tar.bz2 packages-91d706d6d584e10c574504995cf0e71ac8032551.tar.xz packages-91d706d6d584e10c574504995cf0e71ac8032551.zip |
user/coverage: new package
-rw-r--r-- | user/coverage/APKBUILD | 31 |
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" |