git: 621b6c193ce9 - main - devel/py-QtPy: Fix tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Oct 2022 15:15:43 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=621b6c193ce972e8dc7e37036c814ef9ddc3954f
commit 621b6c193ce972e8dc7e37036c814ef9ddc3954f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-08 03:54:59 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-08 15:15:38 +0000
devel/py-QtPy: Fix tests
---
devel/py-QtPy/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/devel/py-QtPy/Makefile b/devel/py-QtPy/Makefile
index ae8cf7aec05c..1205dc7b12da 100644
--- a/devel/py-QtPy/Makefile
+++ b/devel/py-QtPy/Makefile
@@ -11,8 +11,12 @@ WWW= https://github.com/spyder-ide/qtpy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt5-pyqt>0:devel/py-qt5-pyqt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-qt>0:devel/py-pytest-qt@${PY_FLAVOR}
+
USES= python:3.6+
-USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/spyder-ide/qtpy/issues/370
+USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/spyder-ide/qtpy/issues/371
NO_ARCH= yes