# Maintainer: Valery Kartel # Contributor: Valery Kartel pkgname=py3-coverage _pkgname=coverage pkgver=4.5.4 pkgrel=1 pkgdesc="Code coverage measurement for Python" options="!check" # Requires unpackaged 'flaky' url="https://pypi.python.org/pypi/coverage" arch="all" license="Apache-2.0" makedepends="python3-dev py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-coverage" # Backwards compatibility provides="py-coverage=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="ba534e04fe35cbadc4b16735f25c08f579a49a6677ec106680f222f2dfb3d0f1e011d0962f1c2108c375173ac4588bea1619ecda05ff9ba6fd888daddfd27b0e coverage-4.5.4.tar.gz"