mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 10:45:15 +03:00
32 lines
1,022 B
Text
32 lines
1,022 B
Text
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=py3-pytest-cov
|
|
pkgver=2.11.1
|
|
pkgrel=1
|
|
pkgdesc="Pytest plugin for measuring coverage."
|
|
options="!check" # Requires unpackaged 'fields' module
|
|
url="https://github.com/pytest-dev/pytest-cov"
|
|
arch="noarch"
|
|
license="MIT"
|
|
replaces="pytest-cov" # for backwards compatibility
|
|
provides="pytest-cov=$pkgver-r$pkgrel" # for backwards compatibility
|
|
depends="py3-pytest py3-coverage"
|
|
makedepends="py3-setuptools"
|
|
#py3-pytest-xdist introduces a circular dependency
|
|
#checkdepends="py3-virtualenv py3-pytest-xdist"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/pytest-cov-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix="/usr" --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="513e89c061e926cfab718adb1a52f573abec6d67635df4ef791dc9a0e6338369c3a0771c9f2a44c5c2a17ab5a5ebc21398b4e3c525dba50724f70eea22a1c9ce py3-pytest-cov-2.11.1.tar.gz"
|