# 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"
checkdepends="py3-tox"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/c/coverage/coverage-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix="/usr" --root="$pkgdir"
}

sha512sums="82742a572549400778cad99057b1ced4c36b61e917983148eccc86bfa6340de8cfefc4f743e79ff876b641e0b9d21307dd6bde78638a6b20dd8ad215068dda25  coverage-4.5.1.tar.gz"