diff options
Diffstat (limited to '')
22 files changed, 66 insertions, 58 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index 20dd41a35007..14fd94ae7c33 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -6,15 +6,14 @@ MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytest_asyncio-${DISTVERSION} -MAINTAINER= amdmi3@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Py.test plugin providing fixtures and markers for asyncio WWW= https://pypi.org/project/pytest-asyncio/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio - +# note that the next version requires pytest 8.2.0, while ports still only have 8.1.1 ATOW RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR} \ diff --git a/devel/py-pytest-cache/Makefile b/devel/py-pytest-cache/Makefile index 80fcd36dd2b2..dda5ca87517a 100644 --- a/devel/py-pytest-cache/Makefile +++ b/devel/py-pytest-cache/Makefile @@ -12,8 +12,6 @@ WWW= https://bitbucket.org/hpk42/pytest-cache/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-cache - RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.2:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} diff --git a/devel/py-pytest-codspeed/Makefile b/devel/py-pytest-codspeed/Makefile index 75f55b1c63bf..0b5852892354 100644 --- a/devel/py-pytest-codspeed/Makefile +++ b/devel/py-pytest-codspeed/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-codspeed -PORTVERSION= 3.2.0 +PORTVERSION= 4.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -8,7 +8,7 @@ DISTNAME= pytest_codspeed-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pytest plugin to create CodSpeed benchmarks WWW= https://codspeed.io/ \ - https://docs.codspeed.io/ \ + https://codspeed.io/docs/reference/pytest-codspeed \ https://github.com/CodSpeedHQ/pytest-codspeed LICENSE= MIT @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=3.8,1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13.8.1:textproc/py-rich@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-pytest-codspeed/distinfo b/devel/py-pytest-codspeed/distinfo index 25ae3ef54f88..afb4d363d1e9 100644 --- a/devel/py-pytest-codspeed/distinfo +++ b/devel/py-pytest-codspeed/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738606465 -SHA256 (pytest_codspeed-3.2.0.tar.gz) = f9d1b1a3b2c69cdc0490a1e8b1ced44bffbd0e8e21d81a7160cfdd923f6e8155 -SIZE (pytest_codspeed-3.2.0.tar.gz) = 18409 +TIMESTAMP = 1752266132 +SHA256 (pytest_codspeed-4.0.0.tar.gz) = 0e9af08ca93ad897b376771db92693a81aa8990eecc2a778740412e00a6f6eaf +SIZE (pytest_codspeed-4.0.0.tar.gz) = 107630 diff --git a/devel/py-pytest-cov/Makefile b/devel/py-pytest-cov/Makefile index 83bcd91b9071..2b4a631dd968 100644 --- a/devel/py-pytest-cov/Makefile +++ b/devel/py-pytest-cov/Makefile @@ -24,8 +24,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fields>0:devel/py-fields@${PY_FLAVOR} \ USES= python USE_PYTHON= autoplist concurrent distutils pytest -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-cov - NO_ARCH= yes TEST_ARGS+= -p pytester diff --git a/devel/py-pytest-datadir/Makefile b/devel/py-pytest-datadir/Makefile index 1c17048fd9a2..068821311604 100644 --- a/devel/py-pytest-datadir/Makefile +++ b/devel/py-pytest-datadir/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-datadir -PORTVERSION= 1.7.2 +PORTVERSION= 1.8.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pytest-datadir/distinfo b/devel/py-pytest-datadir/distinfo index 65abf0e954e9..3805b841aad3 100644 --- a/devel/py-pytest-datadir/distinfo +++ b/devel/py-pytest-datadir/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751382423 -SHA256 (pytest_datadir-1.7.2.tar.gz) = 15f5228a35d0a3205e4968e75d3b9cca91762424e1eafc21eb637d380a48443e -SIZE (pytest_datadir-1.7.2.tar.gz) = 11265 +TIMESTAMP = 1754319990 +SHA256 (pytest_datadir-1.8.0.tar.gz) = 7a15faed76cebe87cc91941dd1920a9a38eba56a09c11e9ddf1434d28a0f78eb +SIZE (pytest_datadir-1.8.0.tar.gz) = 11848 diff --git a/devel/py-pytest-flakes/Makefile b/devel/py-pytest-flakes/Makefile index c58629087d82..99768576a75e 100644 --- a/devel/py-pytest-flakes/Makefile +++ b/devel/py-pytest-flakes/Makefile @@ -12,8 +12,6 @@ WWW= https://github.com/fschulze/pytest-flakes LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-flakes - RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} diff --git a/devel/py-pytest-lazy-fixtures/Makefile b/devel/py-pytest-lazy-fixtures/Makefile index fea10a078b5f..d36e2a888fe6 100644 --- a/devel/py-pytest-lazy-fixtures/Makefile +++ b/devel/py-pytest-lazy-fixtures/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-lazy-fixtures -PORTVERSION= 1.1.4 +PORTVERSION= 1.3.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +12,7 @@ WWW= https://github.com/dev-petrov/pytest-lazy-fixtures LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR} USES= python diff --git a/devel/py-pytest-lazy-fixtures/distinfo b/devel/py-pytest-lazy-fixtures/distinfo index df2a038fcf80..032927e1c3b9 100644 --- a/devel/py-pytest-lazy-fixtures/distinfo +++ b/devel/py-pytest-lazy-fixtures/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748495797 -SHA256 (pytest_lazy_fixtures-1.1.4.tar.gz) = c494b52d798890033d64b28687a4d52807c8b0f606d56316e139df0cbe116c57 -SIZE (pytest_lazy_fixtures-1.1.4.tar.gz) = 7426 +TIMESTAMP = 1753265760 +SHA256 (pytest_lazy_fixtures-1.3.2.tar.gz) = 76bac6772e97173828d49551695cc6e3927c7c86c65cd19d4cccb0c14a45f821 +SIZE (pytest_lazy_fixtures-1.3.2.tar.gz) = 34114 diff --git a/devel/py-pytest-pycodestyle/Makefile b/devel/py-pytest-pycodestyle/Makefile index 24c4f41b5986..30c30793a181 100644 --- a/devel/py-pytest-pycodestyle/Makefile +++ b/devel/py-pytest-pycodestyle/Makefile @@ -1,6 +1,5 @@ PORTNAME= pytest-pycodestyle -DISTVERSION= 2.4.1 -PORTREVISION= 1 +DISTVERSION= 2.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,17 +12,19 @@ WWW= https://github.com/henry0312/pytest-codestyle LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist pytest +USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -# tests as of 2.4.1: 1 failed, 16 passed in 50.11s, see https://github.com/henry0312/pytest-pycodestyle/issues/114 +# tests as of 2.5.0: 15 passed in 3.82 .include <bsd.port.mk> diff --git a/devel/py-pytest-pycodestyle/distinfo b/devel/py-pytest-pycodestyle/distinfo index 38818bbedb2f..2621864f5e14 100644 --- a/devel/py-pytest-pycodestyle/distinfo +++ b/devel/py-pytest-pycodestyle/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734398730 -SHA256 (pytest_pycodestyle-2.4.1.tar.gz) = 27cfebd52774ad55cceadce959913892b3b0989fc02400ef76a004a8b32ab5c9 -SIZE (pytest_pycodestyle-2.4.1.tar.gz) = 5284 +TIMESTAMP = 1753076632 +SHA256 (pytest_pycodestyle-2.5.0.tar.gz) = dd0060039e12a59b521da8e57e17133c965566dd8d17631e589e7545238829ac +SIZE (pytest_pycodestyle-2.5.0.tar.gz) = 5859 diff --git a/devel/py-pytest-pycodestyle/files/patch-pyproject.toml b/devel/py-pytest-pycodestyle/files/patch-pyproject.toml new file mode 100644 index 000000000000..f913dcd88f43 --- /dev/null +++ b/devel/py-pytest-pycodestyle/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2025-07-21 05:47:27 UTC ++++ pyproject.toml +@@ -12,7 +12,6 @@ readme = "README.md" + name = "pytest-pycodestyle" + description = "pytest plugin to run pycodestyle" + readme = "README.md" +-license = "MIT" + authors = [ + { name = "OMOTO Tsukasa", email = "tsukasa@oomo.to" } + ] 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. diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile index b1ddc593713f..4f1e9e5fcc70 100644 --- a/devel/py-pytest-relaxed/Makefile +++ b/devel/py-pytest-relaxed/Makefile @@ -1,5 +1,6 @@ PORTNAME= pytest-relaxed PORTVERSION= 2.0.2 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pytest-run-parallel/Makefile b/devel/py-pytest-run-parallel/Makefile index 18b28128ffb3..6b9c4f65763c 100644 --- a/devel/py-pytest-run-parallel/Makefile +++ b/devel/py-pytest-run-parallel/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-run-parallel -PORTVERSION= 0.4.4 +PORTVERSION= 0.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pytest-run-parallel/distinfo b/devel/py-pytest-run-parallel/distinfo index 5f42bea77448..25e7eb31e166 100644 --- a/devel/py-pytest-run-parallel/distinfo +++ b/devel/py-pytest-run-parallel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750188110 -SHA256 (pytest_run_parallel-0.4.4.tar.gz) = 3a007649ae365c7fabc3beccf716fefeb39040720cac67d85b4004a00235e817 -SIZE (pytest_run_parallel-0.4.4.tar.gz) = 42541 +TIMESTAMP = 1753369384 +SHA256 (pytest_run_parallel-0.5.0.tar.gz) = 444c62acfcdc33ce896bd339ada400c1df42660351e3c2ec02d876f8ce243345 +SIZE (pytest_run_parallel-0.5.0.tar.gz) = 44138 diff --git a/devel/py-pytest-services/Makefile b/devel/py-pytest-services/Makefile index dd9161548fcf..91fa22cd9d8b 100644 --- a/devel/py-pytest-services/Makefile +++ b/devel/py-pytest-services/Makefile @@ -1,5 +1,6 @@ PORTNAME= pytest-services -DISTVERSION= 2.2.1 +DISTVERSION= 2.2.2 +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pytest-services/distinfo b/devel/py-pytest-services/distinfo index 93ad2710a270..4688653dd322 100644 --- a/devel/py-pytest-services/distinfo +++ b/devel/py-pytest-services/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686735832 -SHA256 (pytest-services-2.2.1.tar.gz) = 2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536 -SIZE (pytest-services-2.2.1.tar.gz) = 28538 +TIMESTAMP = 1752739882 +SHA256 (pytest_services-2.2.2.tar.gz) = 3388f45e66bba81cefc060273306d7e1eb0005d9303af993211fa9ae667534fd +SIZE (pytest_services-2.2.2.tar.gz) = 27861 diff --git a/devel/py-pytest/Makefile b/devel/py-pytest/Makefile index bbc7d4b4e8bd..f1998ed35cfd 100644 --- a/devel/py-pytest/Makefile +++ b/devel/py-pytest/Makefile @@ -43,8 +43,6 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4 - # XXX: test_pdb_custom_cls_with_set_trace fails do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |