ports/devel/py-pytest-html/Makefile
Matthew Seaman b7f29efdb9 devel/py-pytest-html: update to 4.1.1
* Switch to pep517 build

Changes:	https://pytest-html.readthedocs.io/en/latest/changelog.html
Reported by:	repology
2025-02-22 17:28:05 +00:00

30 lines
1 KiB
Makefile

PORTNAME= pytest-html
PORTVERSION= 4.1.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Pytest plugin for generating html reports
WWW= https://github.com/pytest-dev/pytest-html
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.13:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-metadata>=2.0:devel/py-pytest-metadata@${PY_FLAVOR}
# Note: Running the tests requires being able to spin up a docker container,
# See https://pytest-html.readthedocs.io/en/latest/development.html#running-tests
# This is unfortunately not possible on FreeBSD.
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>