ports/devel/py-pytest-asyncio/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

29 lines
870 B
Makefile

PORTNAME= pytest-asyncio
DISTVERSION= 0.23.8
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytest_asyncio-${DISTVERSION}
MAINTAINER= amdmi3@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
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} \
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>