git: 0c58a25be5ca - main - devel/py-pytest-html -- new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 12:00:41 UTC
The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c58a25be5ca11bbc760dcd92ec7e4b8bdd2e660 commit 0c58a25be5ca11bbc760dcd92ec7e4b8bdd2e660 Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2022-04-10 17:21:27 +0000 Commit: Matthew Seaman <matthew@FreeBSD.org> CommitDate: 2022-04-18 11:59:06 +0000 devel/py-pytest-html -- new port pytest-html is a plugin for pytest that generates a HTML report for test results. Required as part of the TEST_DEPENDS heirarchy for sysutils/py-ansible-compat PR: 263033 --- devel/Makefile | 1 + devel/py-pytest-html/Makefile | 26 ++++++++++++++++++++++++++ devel/py-pytest-html/distinfo | 3 +++ devel/py-pytest-html/pkg-descr | 4 ++++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ff7722588cf0..02dc2d67e2ba 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5087,6 +5087,7 @@ SUBDIR += py-pytest-forked SUBDIR += py-pytest-freezegun SUBDIR += py-pytest-helpers-namespace + SUBDIR += py-pytest-html SUBDIR += py-pytest-httpbin SUBDIR += py-pytest-isort SUBDIR += py-pytest-lazy-fixture diff --git a/devel/py-pytest-html/Makefile b/devel/py-pytest-html/Makefile new file mode 100644 index 000000000000..0d8d671a0d5d --- /dev/null +++ b/devel/py-pytest-html/Makefile @@ -0,0 +1,26 @@ +PORTNAME= pytest-html +PORTVERSION= 3.1.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Pytest plugin for generating html reports + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=19.3.1:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5.0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.33.6:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-metadata>0:devel/py-pytest-metadata@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pytest-html/distinfo b/devel/py-pytest-html/distinfo new file mode 100644 index 000000000000..1920f312851c --- /dev/null +++ b/devel/py-pytest-html/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649585772 +SHA256 (pytest-html-3.1.1.tar.gz) = 3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3 +SIZE (pytest-html-3.1.1.tar.gz) = 38548 diff --git a/devel/py-pytest-html/pkg-descr b/devel/py-pytest-html/pkg-descr new file mode 100644 index 000000000000..371abca50708 --- /dev/null +++ b/devel/py-pytest-html/pkg-descr @@ -0,0 +1,4 @@ +pytest-html is a plugin for pytest that generates a HTML report for +test results. + +WWW: https://github.com/pytest-dev/pytest-html