# Contributor: Newbyte # Maintainer: Newbyte pkgname=py3-pytest-toolbox pkgver=0.4 pkgrel=3 pkgdesc="Numerous useful plugins for pytest" url="https://github.com/samuelcolvin/pytest-toolbox" arch="noarch" license="MIT" depends="python3 py3-pytest-isort" makedepends="py3-setuptools" checkdepends="py3-pydantic py3-pytest py3-pytest-timeout" subpackages="$pkgname-pyc" source=" $pkgname-v$pkgver.tar.gz::https://github.com/samuelcolvin/pytest-toolbox/archive/refs/tags/v$pkgver.tar.gz yield-fixture.patch " builddir="$srcdir/pytest-toolbox-$pkgver/" options="!check" # fail on deprecation warning build() { python3 setup.py build } check() { # Deselected tests require py3-pytest-toolbox to be installed pytest -k "not caplog and not tmpworkdir" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" ed27700ff77cd607be808142cc310cd2b7461e55b3f8352d304ef8ca6c5e6c060c67a63238a1025407868ab8e229c4a16eaaa56aa75000159762001accb67752 py3-pytest-toolbox-v0.4.tar.gz 168d8a74a3234c79d5d80a7a93243fcefd0453657d0ad6f640c83b581c8273d89886640a1311823f531affa1f336fffb502e8e3cc1b9bdd40b69e35ed1bded42 yield-fixture.patch "