mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 10:04:36 +02:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# 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=9
|
|
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 py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/cmheisel/nose-xcover/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-nosexcover" # Backwards compatibility
|
|
provides="py-nosexcover=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m nose -v nosexcover/tests.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="e606e89b75d51c728d1487200f4a38afe1af93defabe6bd847b80d597374e7bb10abc2e5c8e6778bbd4f17ba8b8d7a601864a8277cd14437ee94a9e04996cf22 py3-nosexcover-1.0.11.tar.gz"
|