diff options
Diffstat (limited to 'devel/py-pytest-asyncio/Makefile')
-rw-r--r-- | devel/py-pytest-asyncio/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index 1157eaaea0af..8d928922b116 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -1,9 +1,9 @@ PORTNAME= pytest-asyncio -DISTVERSION= 1.1.0 +PORTVERSION= 1.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= pytest_asyncio-${DISTVERSION} +DISTNAME= pytest_asyncio-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pytest support for asyncio @@ -13,18 +13,22 @@ WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.2,1<9,1: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 +USES= python:3.11+ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -# 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.pre.mk> -.include <bsd.port.mk> +.if ${PYTHON_REL} < 31300 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |