From 09fc96d7c3c603802c054f379bf0a36d2150f4ef Mon Sep 17 00:00:00 2001 From: Dexter Gaon-Shatford Date: Tue, 7 Mar 2023 09:23:23 -0500 Subject: [PATCH] python3-pytest-qt: update to 4.2.0. --- srcpkgs/python3-pytest-qt/template | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/srcpkgs/python3-pytest-qt/template b/srcpkgs/python3-pytest-qt/template index 5b7e57435afc..0d148c350177 100644 --- a/srcpkgs/python3-pytest-qt/template +++ b/srcpkgs/python3-pytest-qt/template @@ -1,30 +1,17 @@ # Template file for 'python3-pytest-qt' pkgname=python3-pytest-qt -version=3.3.0 -revision=4 -wrksrc=pytest-qt-${version} +version=4.2.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools_scm" depends="python3-pytest" -checkdepends="$depends python3-pyside2 python3-PyQt5 python3-pytest-xvfb - xdpyinfo" short_desc="Pytest support for PyQt and PySide applications" maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://github.com/pytest-dev/pytest-qt" distfiles="${PYPI_SITE}/p/pytest-qt/pytest-qt-${version}.tar.gz" -checksum=714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925 - -do_check() { - # testing for some configuration in test_basics.py, - # isn't those 2 below tests are the real test for envvar - # Why does it run just fine? - local _skip='test_qapp_args or test_qt_api_ini_config or test_invalid_qt_api_envvar' - PYTHONPATH=$(pwd)/build/lib \ - PYTEST_QT_API=pyside2 python3 -m pytest -k "not ($_skip)" - PYTHONPATH=$(pwd)/build/lib \ - PYTEST_QT_API=pyqt5 python3 -m pytest -k "not ($_skip)" -} +checksum=00a17b586dd530b6d7a9399923a40489ca4a9a309719011175f55dc6b5dc8f41 +make_check=no # tests only run in a venv with tox, not useful for checking package correctness post_install() { vlicense LICENSE