mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
https://github.com/CodSpeedHQ/pytest-codspeed Pytest plugin to create CodSpeed benchmarks Dependecy of py3-propcache
39 lines
991 B
Text
39 lines
991 B
Text
maintainer="fossdd <fossdd@pwned.life>"
|
|
pkgname=py3-pytest-covdefaults
|
|
pkgver=2.3.0
|
|
pkgrel=0
|
|
pkgdesc="Coverage plugin to provide sensible default settings"
|
|
url="https://github.com/asottile/covdefaults"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-coverage
|
|
py3-pytest
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/asottile/covdefaults/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/covdefaults-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
45a3302ebd38865b86596c250cb6ec1659e073a7c19177689b2ffac632f02e3267121b8719e9995e78b3c18897f7717794a3fdb53d6fb6e3fd162d93eae22086 py3-pytest-covdefaults-2.3.0.tar.gz
|
|
"
|