freebsd-ports/devel/py-pytest-asyncio/Makefile
2023-11-20 21:26:07 +03:00

28 lines
928 B
Makefile

PORTNAME= pytest-asyncio
PORTVERSION= 0.22.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Py.test plugin providing fixtures and markers for asyncio
WWW= https://pypi.org/project/pytest-asyncio/
LICENSE= APACHE20
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio
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}flaky>=3.5.0:devel/py-flaky@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-trio>=0.7.0:devel/py-pytest-trio@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
post-patch:
@${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py
.include <bsd.port.mk>