blob: fb59e8182f6fd381ec7a20a6a44fa81c815be3d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-nosexcover
_pkgname=nose-xcover
pkgver=1.0.11
pkgrel=3
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"
|