1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-pytest-rerunfailures/APKBUILD

29 lines
860 B
Text

# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-pytest-rerunfailures
_pkgname=pytest-rerunfailures
pkgver=9.1.1
pkgrel=1
pkgdesc="Pytest plugin to re-run tests to eliminate flaky failures"
url="https://pypi.org/project/pytest-rerunfailures/"
arch="noarch"
license="MPL-2.0"
depends="python3 py3-pytest"
makedepends="py3-setuptools"
checkdepends="py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="875591306ab010494ccbb865ea6445ab37422fce9105260d9495215af44057210564aca4fed3b4765b5a30c1cbef120de716d15d10a6db91dcb7d9f5b4f3b102 pytest-rerunfailures-9.1.1.tar.gz"