ports/devel/py-pytest4-cov/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

27 lines
724 B
Makefile

PORTNAME= pytest4-cov
PORTVERSION= 2.9.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Pytest plugin for measuring coverage (legacy version for pytest 4)
WWW= https://github.com/pytest-dev/pytest-cov
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-cov
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest4>=3.6:devel/py-pytest4@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//}
NO_ARCH= yes
.include <bsd.port.mk>