git: 48239f492c68 - main - devel/py-pytest-qt: update 4.2.0 → 4.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Dec 2024 09:45:54 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=48239f492c68c4806c92e7a131b75538e3c315f2
commit 48239f492c68c4806c92e7a131b75538e3c315f2
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-17 03:20:20 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-17 09:45:34 +0000
devel/py-pytest-qt: update 4.2.0 → 4.4.0
---
devel/py-pytest-qt/Makefile | 13 ++++++++++---
devel/py-pytest-qt/distinfo | 6 +++---
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/devel/py-pytest-qt/Makefile b/devel/py-pytest-qt/Makefile
index f99d7e2df291..923a67caae4c 100644
--- a/devel/py-pytest-qt/Makefile
+++ b/devel/py-pytest-qt/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-qt
-DISTVERSION= 4.2.0
+DISTVERSION= 4.4.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,20 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pluggy>=1.1:devel/py-pluggy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils pytest # 3 tests fail, see https://github.com/pytest-dev/pytest-qt/issues/457
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+do-test: # default tests run causes a lot of Python interpreter crashes for some reason
+ @cd ${WRKSRC}/tests && \
+ ${SETENV} ${TEST_ENV} pytest .
+
+# tests as of 4.4.0 with py311-qt6-pyqt-6.7.1: 3 failed, 376 passed, 2 skipped in 46.88s, see https://github.com/pytest-dev/pytest-qt/issues/457#issuecomment-2547408895
+
.include <bsd.port.mk>
diff --git a/devel/py-pytest-qt/distinfo b/devel/py-pytest-qt/distinfo
index 54db05cfcafe..923bc7165503 100644
--- a/devel/py-pytest-qt/distinfo
+++ b/devel/py-pytest-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679893927
-SHA256 (pytest-qt-4.2.0.tar.gz) = 00a17b586dd530b6d7a9399923a40489ca4a9a309719011175f55dc6b5dc8f41
-SIZE (pytest-qt-4.2.0.tar.gz) = 120749
+TIMESTAMP = 1734399388
+SHA256 (pytest-qt-4.4.0.tar.gz) = 76896142a940a4285339008d6928a36d4be74afec7e634577e842c9cc5c56844
+SIZE (pytest-qt-4.4.0.tar.gz) = 125443