# Maintainer: Valery Kartel # Contributor: Valery Kartel pkgname=py3-coverage _pkgname=coverage pkgver=5.0.4 pkgrel=0 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/c/coverage/coverage-$pkgver.tar.gz" builddir="$srcdir/coverage-$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="a6b34737f2accde2cbed55e61c1d4d1556240f827c9e14c6d1314fbfb2134f2d3a693f7710fa619cc0fd3c5826cf930a0ab63cd2bf679da83bf0bc6ef830a2e9 coverage-5.0.4.tar.gz"