From nobody Tue Apr 18 18:08:15 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Bjq34T8z45Rwr; Tue, 18 Apr 2023 18:08:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Bjq2BS1z4DgD; Tue, 18 Apr 2023 18:08:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mOnj3ayjBsxNryc5M25G53hyRLY3Sted3PdHK8WCSdY=; b=XKgxHp0DxCq/qH1q25dzL6a2CHVY7sZMdWLJGap05POjQFTgf2eiiWWvrM9BkmKEFGjlLo 6SBFWbQheXMR3iv0n86FczBUSKIQb00rlhBTWYmJ6cCjAK5OIG0BcqseMlF6kOJxPj4a2w tPdOh+V+1yUzt+dgRRap4/sIsS0t0w1kB+eoUO27Rq2mbbibJpZnuFs8FceRH6TOKwDxxY HNfqLczwJ5NfLsfMsy98lRWZn8py/lJCB19flt/QDJKT4jWLKhgxb1R8qx8vl4xOgmYEhg eX/UDcHV9CmN81WcoN422yC3+dTtmpO85xzzuX31qsQ2sdv/gg0RxdO96UzsHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mOnj3ayjBsxNryc5M25G53hyRLY3Sted3PdHK8WCSdY=; b=PY8Kn4Mqz07040imypyRSuVvi26UIl1PF7UD63ouD5xYbUZvthhCKeZ/gac3gqJFwHcux+ Wu+ZTFdvXeaJlMcD07wMJ7PRZ0OIsvCzgpubwon5gJUJR/9RtFqIFlvXh2F1Jksr1ng1n6 f1a0W6UfR38wVK/hOSw9iOn9pMkO35kgfC3EGIvM9nF90jOjIIk/4ChM4NIN+WeaYO1WAP Pbycbzn/KA1XiHrHTJrpFmEgq7nSjHh3fZOpRijWnnD846njOgUGfL/KEcnGC4IaHWxh5Q z+N5X9S9YrCa3iYl3DP3yoft4uNWIRwGosQ0McYQHHPCOYbSrmgHSfAGhGgTqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841295; a=rsa-sha256; cv=none; b=ZOZ4gLd7Z768xcY2oFVD3egyAT1/GA2b45om9XKMm++04sVfbGcFQ+wjqZDUeepAl34vkh BvRuEVncACFke6EydLI8Wbz0DMGnlgR8rU8KbQkf/9F3J5APTv/yNs5lyol4yLQMR8SVmS B+8StNZIatgOZrrGp1rg7Le9gvwafJ26i8G3ZVYCxioXrEFP8wJ11HjE2wJwvg8KW0nEwE rdY7oJ9nQjz8gNwTjG8J6iSveWphbj+YoWhH8Nqya62t9uL3uKG4Zm373tbs1Mafo0Tup8 ZFxM/vxvG/cw+O3xfq1ynB5h8+ejVCWMaF1Fz0l6mxt4SrOKBzn5YkX5mC+xhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Bjq0xdYzM9g; Tue, 18 Apr 2023 18:08:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33II8FGx078475; Tue, 18 Apr 2023 18:08:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33II8FKe078474; Tue, 18 Apr 2023 18:08:15 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:08:15 GMT Message-Id: <202304181808.33II8FKe078474@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: daf74492d869 - main - devel/py-pytest-cpp: Add py-pytest-cpp 2.3.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: daf74492d86988c55eadec0ca6c581b7e4fd7d7c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=daf74492d86988c55eadec0ca6c581b7e4fd7d7c commit daf74492d86988c55eadec0ca6c581b7e4fd7d7c Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:51:37 +0000 Commit: Po-Chuan Hsieh 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 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.;