mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
35 lines
1023 B
Plaintext
35 lines
1023 B
Plaintext
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=py3-pytest-cov
|
|
pkgver=2.12.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="
|
|
a9893c81b7c5829c68b71e086719939c82622788fa471e2ab61f27cfb0efcc2008f09ec586ea06dba99ec1a6bf8789b8e3531c2ea8fa6435d7e45712b5cb9ea4 py3-pytest-cov-2.12.1.tar.gz
|
|
"
|