diff options
Diffstat (limited to '')
-rw-r--r-- | devel/py-pytest-asyncio/Makefile | 14 | ||||
-rw-r--r-- | devel/py-pytest-asyncio/pkg-descr | 8 |
2 files changed, 12 insertions, 10 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile index 9f02c32b083c..1157eaaea0af 100644 --- a/devel/py-pytest-asyncio/Makefile +++ b/devel/py-pytest-asyncio/Makefile @@ -5,23 +5,23 @@ MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytest_asyncio-${DISTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Py.test plugin providing fixtures and markers for asyncio +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pytest support for asyncio WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \ https://github.com/pytest-dev/pytest-asyncio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -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} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0: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 -USE_PYTHON= pep517 autoplist pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes diff --git a/devel/py-pytest-asyncio/pkg-descr b/devel/py-pytest-asyncio/pkg-descr index 6d11ecea8ff4..73eb827208d7 100644 --- a/devel/py-pytest-asyncio/pkg-descr +++ b/devel/py-pytest-asyncio/pkg-descr @@ -1,3 +1,5 @@ -asyncio code is usually written in the form of coroutines, which makes it -slightly more difficult to test using normal testing tools. pytest-asyncio -provides useful fixtures and markers to make testing easier. +pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the +asyncio library. + +Specifically, pytest-asyncio provides support for coroutines as test functions. +This allows users to await code inside their tests. |