summaryrefslogtreecommitdiff
path: root/devel/py-pytest-regtest
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pytest-regtest')
-rw-r--r--devel/py-pytest-regtest/Makefile18
-rw-r--r--devel/py-pytest-regtest/distinfo6
-rw-r--r--devel/py-pytest-regtest/pkg-descr14
3 files changed, 21 insertions, 17 deletions
diff --git a/devel/py-pytest-regtest/Makefile b/devel/py-pytest-regtest/Makefile
index 22ea98b17180..edf089bd2476 100644
--- a/devel/py-pytest-regtest/Makefile
+++ b/devel/py-pytest-regtest/Makefile
@@ -1,23 +1,25 @@
PORTNAME= pytest-regtest
-PORTVERSION= 2.1.1
+PORTVERSION= 2.3.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytest_regtest-${PORTVERSION}
-MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= Pytest plugin for regression tests
-WWW= https://gitlab.com/uweschmitt/pytest-regtest \
- https://pypi.org/project/pytest-regtest/
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pytest plugin for snapshot regression testing
+WWW= https://pytest-regtest.readthedocs.io/en/latest/ \
+ https://gitlab.com/uweschmitt/pytest-regtest
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.2,1:devel/py-pytest@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist pep517 pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pytest-regtest/distinfo b/devel/py-pytest-regtest/distinfo
index c3f94b4cc28e..41e25a141ee3 100644
--- a/devel/py-pytest-regtest/distinfo
+++ b/devel/py-pytest-regtest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712671606
-SHA256 (pytest_regtest-2.1.1.tar.gz) = bd08a6161832378b59ecd4f5815fbe26af7cd091db4a1e710e30476d5f3b8832
-SIZE (pytest_regtest-2.1.1.tar.gz) = 9595
+TIMESTAMP = 1753796082
+SHA256 (pytest_regtest-2.3.4.tar.gz) = d9cf0db9d958b4e3fedcf84ff5ac4247b24663eb1bf9011568123fccd34b391f
+SIZE (pytest_regtest-2.3.4.tar.gz) = 23131
diff --git a/devel/py-pytest-regtest/pkg-descr b/devel/py-pytest-regtest/pkg-descr
index b778e9f63bc7..ff1ffaa560a8 100644
--- a/devel/py-pytest-regtest/pkg-descr
+++ b/devel/py-pytest-regtest/pkg-descr
@@ -1,7 +1,9 @@
-pytest-regtest is a pytest-plugin for implementing regression tests.
-Compared to functional testing a regression test does not test if
-software produces correct results, instead a regression test checks
-if software behaves the same way as it did before introduced changes.
+pytest-regtest is a plugin for pytest to implement regression testing.
-pytest-regtest allows capturing selected output which then can be
-compared to the captured output from former runs.
+Unlike functional testing, regression testing does not test whether the software
+produces the correct results, but whether it behaves as it did before changes
+were introduced.
+
+More specifically, pytest-regtest provides snapshot testing, which implements
+regression testing by recording data within a test function and comparing this
+recorded output to a previously recorded reference output.