# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=py3-nosexcover _pkgname=nose-xcover pkgver=1.0.11 pkgrel=2 pkgdesc="Extends nose.plugins.cover to add Cobertura-style XML reports" url="https://github.com/cmheisel/nose-xcover/" arch="noarch" license="MIT" depends="py3-nose py3-coverage" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/cmheisel/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/"$_pkgname-$pkgver replaces="py-nosexcover" # Backwards compatibility provides="py-nosexcover=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { nosetests -v nosexcover/tests.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e606e89b75d51c728d1487200f4a38afe1af93defabe6bd847b80d597374e7bb10abc2e5c8e6778bbd4f17ba8b8d7a601864a8277cd14437ee94a9e04996cf22 py3-nosexcover-1.0.11.tar.gz"