Skip to content
Snippets Groups Projects
Commit 337f4334 authored by Hoang Nguyen's avatar Hoang Nguyen :turtle: Committed by alice
Browse files

testing/py3-pytest-rerunfailures: upgrade to 10.2

Build with PEP517 style
parent e86f1b70
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38820testing/xonsh: upgrade to 0.13.1
# Contributor: Philipp Glaum <p@pglaum.de> # Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de> # Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-pytest-rerunfailures pkgname=py3-pytest-rerunfailures
_pkgname=pytest-rerunfailures _pkgname=${pkgname#py3-}
pkgver=9.1.1 pkgver=10.2
pkgrel=2 pkgrel=0
pkgdesc="Pytest plugin to re-run tests to eliminate flaky failures" pkgdesc="Pytest plugin to re-run tests to eliminate flaky failures"
url="https://pypi.org/project/pytest-rerunfailures/" url="https://pypi.org/project/pytest-rerunfailures/"
arch="noarch" arch="noarch"
license="MPL-2.0" license="MPL-2.0"
depends="python3 py3-pytest" depends="python3 py3-pytest"
makedepends="py3-setuptools" makedepends="py3-setuptools py3-build py3-installer py3-wheel"
checkdepends="py3-mock" checkdepends="py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver" builddir="$srcdir/$_pkgname-$pkgver"
build() { build() {
python3 setup.py build python3 -m build --no-isolation --wheel
} }
check() { check() {
py.test-3 python3 -m pytest
} }
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 -m installer -d "$pkgdir" \
dist/${_pkgname/-/_}-$pkgver-py3-none-any.whl
} }
sha512sums="875591306ab010494ccbb865ea6445ab37422fce9105260d9495215af44057210564aca4fed3b4765b5a30c1cbef120de716d15d10a6db91dcb7d9f5b4f3b102 pytest-rerunfailures-9.1.1.tar.gz" sha512sums="
8830610276e2cc172ee372ae4d8376bc6329138751ea2737a4def6af32d05c112c872a7a180ff554018058c05ed0d109927dbac61f748586257e40b0243f03c8 pytest-rerunfailures-10.2.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment