Date: Tue, 18 Apr 2023 18:08:15 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: daf74492d869 - main - devel/py-pytest-cpp: Add py-pytest-cpp 2.3.0 Message-ID: <202304181808.33II8FKe078474@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=daf74492d86988c55eadec0ca6c581b7e4fd7d7c commit daf74492d86988c55eadec0ca6c581b7e4fd7d7c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-18 17:51:37 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-18 18:00:42 +0000 devel/py-pytest-cpp: Add py-pytest-cpp 2.3.0 pytest-cpp uses pytest runner to discover and execute C++ tests. It supports Google Test, Boost.Test, and Catch2. This brings several benefits: - Allows you to run all your tests in multi-language projects with a single command; - Execute C++ tests in parallel using pytest-xdist plugin; - Use --junitxml option to produce a single and uniform xml file with all your test suite results; - Filter which tests to run using standard test filtering capabilities, such as by file names, directories, keywords by using the -k option, etc.; --- devel/Makefile | 1 + devel/py-pytest-cpp/Makefile | 23 +++++++++++++++++++++++ devel/py-pytest-cpp/distinfo | 3 +++ devel/py-pytest-cpp/pkg-descr | 11 +++++++++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7195de524fec..f44650bb2b4d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5249,6 +5249,7 @@ SUBDIR += py-pytest-checkdocs SUBDIR += py-pytest-console-scripts SUBDIR += py-pytest-cov + SUBDIR += py-pytest-cpp SUBDIR += py-pytest-datadir SUBDIR += py-pytest-django SUBDIR += py-pytest-enabler diff --git a/devel/py-pytest-cpp/Makefile b/devel/py-pytest-cpp/Makefile new file mode 100644 index 000000000000..19a382d1a496 --- /dev/null +++ b/devel/py-pytest-cpp/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pytest-cpp +PORTVERSION= 2.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Use pytest runner to discover and execute C++ tests +WWW= https://github.com/pytest-dev/pytest-cpp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=7.0,1:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pytest-cpp/distinfo b/devel/py-pytest-cpp/distinfo new file mode 100644 index 000000000000..8cdc1ce90f68 --- /dev/null +++ b/devel/py-pytest-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681052892 +SHA256 (pytest-cpp-2.3.0.tar.gz) = 37abfa693697940aed2e7c034698188dee3616183ad9b3f764f3b06aeb75ed4a +SIZE (pytest-cpp-2.3.0.tar.gz) = 298220 diff --git a/devel/py-pytest-cpp/pkg-descr b/devel/py-pytest-cpp/pkg-descr new file mode 100644 index 000000000000..dc9719af52c7 --- /dev/null +++ b/devel/py-pytest-cpp/pkg-descr @@ -0,0 +1,11 @@ +pytest-cpp uses pytest runner to discover and execute C++ tests. It supports +Google Test, Boost.Test, and Catch2. + +This brings several benefits: +- Allows you to run all your tests in multi-language projects with a single + command; +- Execute C++ tests in parallel using pytest-xdist plugin; +- Use --junitxml option to produce a single and uniform xml file with all your + test suite results; +- Filter which tests to run using standard test filtering capabilities, such as + by file names, directories, keywords by using the -k option, etc.;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181808.33II8FKe078474>