diff options
Diffstat (limited to '')
-rw-r--r-- | devel/py-pytest-asyncio/Makefile | 22 | ||||
-rw-r--r-- | devel/py-pytest-asyncio/distinfo | 6 | ||||
-rw-r--r-- | devel/py-pytest-asyncio/files/patch-pyproject.toml | 22 | ||||
-rw-r--r-- | devel/py-pytest-examples/Makefile | 2 | ||||
-rw-r--r-- | devel/py-pytest-examples/distinfo | 6 | ||||
-rw-r--r-- | devel/py-pytest-timeout/Makefile | 6 | ||||
-rw-r--r-- | devel/py-pytest-timeout/distinfo | 6 | ||||
-rw-r--r-- | devel/py-pytest/Makefile | 21 | ||||
-rw-r--r-- | devel/py-pytest/distinfo | 6 |
9 files changed, 61 insertions, 36 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index 14fd94ae7c33..9f02c32b083c 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -1,6 +1,5 @@ PORTNAME= pytest-asyncio -DISTVERSION= 0.23.8 -PORTREVISION= 1 +DISTVERSION= 1.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -8,21 +7,24 @@ DISTNAME= pytest_asyncio-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Py.test plugin providing fixtures and markers for asyncio -WWW= https://pypi.org/project/pytest-asyncio/ +WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \ + https://github.com/pytest-dev/pytest-asyncio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -# 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} \ +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils pytest +USE_PYTHON= pep517 autoplist pytest + NO_ARCH= yes -post-patch: - @${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py +# tests as of 1.1.0: 23 failed, 145 passed in 214.54s (0:03:34), see https://github.com/pytest-dev/pytest-asyncio/issues/1227 .include <bsd.port.mk> diff --git a/devel/py-pytest-asyncio/distinfo b/devel/py-pytest-asyncio/distinfo index 3954ac929c5e..9989f8ef730a 100644 --- a/devel/py-pytest-asyncio/distinfo +++ b/devel/py-pytest-asyncio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1721655462 -SHA256 (pytest_asyncio-0.23.8.tar.gz) = 759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3 -SIZE (pytest_asyncio-0.23.8.tar.gz) = 46920 +TIMESTAMP = 1757057362 +SHA256 (pytest_asyncio-1.1.0.tar.gz) = 796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea +SIZE (pytest_asyncio-1.1.0.tar.gz) = 46652 diff --git a/devel/py-pytest-asyncio/files/patch-pyproject.toml b/devel/py-pytest-asyncio/files/patch-pyproject.toml new file mode 100644 index 000000000000..d0998d710688 --- /dev/null +++ b/devel/py-pytest-asyncio/files/patch-pyproject.toml @@ -0,0 +1,22 @@ +--- pyproject.toml.orig 2025-07-16 04:22:08 UTC ++++ pyproject.toml +@@ -1,7 +1,7 @@ requires = [ + [build-system] + build-backend = "setuptools.build_meta" + requires = [ +- "setuptools>=77", ++ "setuptools", + "setuptools-scm[toml]>=6.2", + ] + +@@ -10,10 +10,6 @@ readme.file = "README.rst" + description = "Pytest support for asyncio" + readme.content-type = "text/x-rst" + readme.file = "README.rst" +-license = "Apache-2.0" +-license-files = [ +- "LICENSE", +-] + maintainers = [ + { name = "Michael Seifert", email = "m.seifert@digitalernachschub.de" }, + ] diff --git a/devel/py-pytest-examples/Makefile b/devel/py-pytest-examples/Makefile index 0b0a4934b692..44da8aee1306 100644 --- a/devel/py-pytest-examples/Makefile +++ b/devel/py-pytest-examples/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-examples -DISTVERSION= 0.0.13 +DISTVERSION= 0.0.18 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pytest-examples/distinfo b/devel/py-pytest-examples/distinfo index a44e941f7567..a681f7151f55 100644 --- a/devel/py-pytest-examples/distinfo +++ b/devel/py-pytest-examples/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1723624177 -SHA256 (pytest_examples-0.0.13.tar.gz) = 4d6fd78154953e84444f58f193eb6cc8d853bca7f0ee9f44ea75db043a2c19b5 -SIZE (pytest_examples-0.0.13.tar.gz) = 20445 +TIMESTAMP = 1756452701 +SHA256 (pytest_examples-0.0.18.tar.gz) = 9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801 +SIZE (pytest_examples-0.0.18.tar.gz) = 21237 diff --git a/devel/py-pytest-timeout/Makefile b/devel/py-pytest-timeout/Makefile index 7ca86533aa43..b7cacd817606 100644 --- a/devel/py-pytest-timeout/Makefile +++ b/devel/py-pytest-timeout/Makefile @@ -1,9 +1,9 @@ PORTNAME= pytest-timeout -PORTVERSION= 2.1.0 -PORTREVISION= 1 +PORTVERSION= 2.4.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} MAINTAINER= loader@FreeBSD.org COMMENT= Pytest plugin to abort hanging tests @@ -12,7 +12,7 @@ WWW= https://github.com/pytest-dev/pytest-timeout LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0.0:devel/py-pytest@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.0.0:devel/py-pytest@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} diff --git a/devel/py-pytest-timeout/distinfo b/devel/py-pytest-timeout/distinfo index ff21aa45426d..ad294efafe7b 100644 --- a/devel/py-pytest-timeout/distinfo +++ b/devel/py-pytest-timeout/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659146345 -SHA256 (pytest-timeout-2.1.0.tar.gz) = c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9 -SIZE (pytest-timeout-2.1.0.tar.gz) = 18386 +TIMESTAMP = 1757054483 +SHA256 (pytest_timeout-2.4.0.tar.gz) = 7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a +SIZE (pytest_timeout-2.4.0.tar.gz) = 17973 diff --git a/devel/py-pytest/Makefile b/devel/py-pytest/Makefile index f1998ed35cfd..5e704aab0c87 100644 --- a/devel/py-pytest/Makefile +++ b/devel/py-pytest/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest -PORTVERSION= 8.1.1 +PORTVERSION= 8.4.2 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= PYPI @@ -16,24 +16,24 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2.3:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_EXCEPTIONGROUP} \ - ${PYTHON_PKGNAMEPREFIX}iniconfig>=0:devel/py-iniconfig@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pluggy>=1.4<2.0:devel/py-pluggy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}iniconfig>0:devel/py-iniconfig@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pluggy>=1.5<2.0:devel/py-pluggy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=2.7.2:textproc/py-pygments@${PY_FLAVOR} \ ${PY_TOMLI} TEST_DEPENDS= bash:shells/bash \ lsof:sysutils/lsof \ - ${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}argcomplete>0:devel/py-argcomplete@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.7.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.1.0,1:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlschema>=0:textproc/py-xmlschema@${PY_FLAVOR} @@ -43,8 +43,9 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -# XXX: test_pdb_custom_cls_with_set_trace fails do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs + +# tests as of 8.4.2: 1 failed, 3861 passed, 37 skipped, 12 xfailed, 7 xpassed in 652.09s (0:10:52), see https://github.com/pytest-dev/pytest/issues/13699 .include <bsd.port.mk> diff --git a/devel/py-pytest/distinfo b/devel/py-pytest/distinfo index aa049f11410b..429aa14b982a 100644 --- a/devel/py-pytest/distinfo +++ b/devel/py-pytest/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713775176 -SHA256 (pytest-8.1.1.tar.gz) = ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044 -SIZE (pytest-8.1.1.tar.gz) = 1409703 +TIMESTAMP = 1757060185 +SHA256 (pytest-8.4.2.tar.gz) = 86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01 +SIZE (pytest-8.4.2.tar.gz) = 1519618 |