From nobody Tue Dec 12 23:14:38 2023 X-Original-To: dev-commits-ports-all@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 4SqZFW0cs3z53SFh; Tue, 12 Dec 2023 23:14:39 +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 4SqZFW096Pz3g14; Tue, 12 Dec 2023 23:14:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702422879; 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=fcEjzkX6D7dRI1lVceJyXtiiO31fd/IZguScxBpis0U=; b=GI0A/IxAh/y3If3W7wUaa19jVCOYMay7YtL+e+wLzq/7acDZlsYNJEqbbiUqs/pvw3P3R7 SSQeRrQY4CL6zsONXCiyAautOOLDYl0E9Afdpt+ygGCzvmE1/562DjH3n7NurxR/Amu/bE QzzgG3Y1toebSjB7re8hbWp40CSmbzBUmOJ2dGhyWgJoetyrForFAbT1aWIckBSYJi2plo 6+McuM2Ht9KOH8VSru+Udf0ehHv7UQmTdRzJCztstdiKm1+QgMhVs66hpL5OKOY7N/qnQu lj3PkuMnF9kPAbPqXAu4U6wFiPntTHziH9//Fmr7NM70qnfy/9Ly0kWjH7wxsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702422879; a=rsa-sha256; cv=none; b=XW84GyQRDcs14iWi1YbZ6Vq1fUOkZf+gcKeeakEXlR8COVNR6JWGM/Zd3Ae64ZiFWvT9G2 0L64nsgR4mhnYjPFJPxDakoFiRggmVqt5lI9tQXJ3x8cA12ln87xKp2mB8fNilJgvl+Kj1 EhKUwGMeuS/8aNvWybUMqoyi+PlT3/jjd54azo5VygkUS6lygQFoV7FsA4qaeA8rUqU5Wt f+lZBFVIKgxc1fz2ePGJBcj7ME2BodeEF6qkHt9B/Lx2jmHTG/izTgtyE9fs75oH9AUSBB n1KhNTXVNOdQ010Ohzj35OFJqiremt5jJ+4hWMUHc5y0Yo++b2y4UG2Y+WyMTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702422879; 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=fcEjzkX6D7dRI1lVceJyXtiiO31fd/IZguScxBpis0U=; b=clYQjmcnDs8h2ijMH4caUmGRg+LksOHDyvCnSweidj++NxdAHcmYPs5kUf0q3htXgbmHg9 GdHdg7VzjlouWo8M3hjfQWDNa+9BJSx935B4odTBqNZEdSut7PeQefwUQok7G5fKzocm1b hhVyFs/n9cELqiTzMxc44n4V25ZDCPrlrAY6Rbtl8XTMuADvMaz3mq9A2m+EnN2i0EVHU+ eu7yPDPAPecHrRTq4bi1IvJVd/2pNbkH0P5fLjdV8PjJWUYZBK9WU3G4vDxxybU27AcPLe SwMpaMNtUwCXAItqM+d6Xw2Hl5mWVcYr7/aUIX7aO1UI5L5W/2HCo3YVJbKT/w== 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 4SqZFV67p5zZtl; Tue, 12 Dec 2023 23:14:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BCNEcua090570; Tue, 12 Dec 2023 23:14:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BCNEcR1090567; Tue, 12 Dec 2023 23:14:38 GMT (envelope-from git) Date: Tue, 12 Dec 2023 23:14:38 GMT Message-Id: <202312122314.3BCNEcR1090567@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: af82f6c61834 - main - devel/ut: New port: C++20 micro/Unit Testing Framework List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af82f6c61834d77d92a6661f84b83f1cc7bc385a Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=af82f6c61834d77d92a6661f84b83f1cc7bc385a commit af82f6c61834d77d92a6661f84b83f1cc7bc385a Author: Yuri Victorovich AuthorDate: 2023-12-12 22:51:24 +0000 Commit: Yuri Victorovich CommitDate: 2023-12-12 23:14:33 +0000 devel/ut: New port: C++20 micro/Unit Testing Framework --- devel/Makefile | 1 + devel/ut/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/ut/distinfo | 3 +++ devel/ut/pkg-descr | 8 ++++++++ 4 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index cff91b87f0a8..00ec359ca3f2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7830,6 +7830,7 @@ SUBDIR += upp SUBDIR += upslug SUBDIR += urjtag + SUBDIR += ut SUBDIR += utf8cpp SUBDIR += utf8cpp3 SUBDIR += uthash diff --git a/devel/ut/Makefile b/devel/ut/Makefile new file mode 100644 index 000000000000..f29d35f5e4af --- /dev/null +++ b/devel/ut/Makefile @@ -0,0 +1,32 @@ +PORTNAME= ut +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.0 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++20 micro/Unit Testing Framework +WWW= https://boost-ext.github.io/ut/ + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= boost-ext + +CMAKE_OFF= BOOST_UT_ALLOW_CPM_USE \ + BOOST_UT_BUILD_TESTS \ + BOOST_UT_BUILD_EXAMPLES +CMAKE_ARGS= -DFREEBSD_WRKSRC_cpm=${WRKSRC_cpm} \ + -DCURRENT_CPM_VERSION=0.38.7 +CMAKE_TESTING_ON= BOOST_UT_BUILD_TESTS # 7 tests fail, see https://github.com/boost-ext/ut/issues/600 + +PLIST_FILES= include/ut-2.0.0/include/boost/ut.hpp \ + lib/cmake/ut-2.0.0/utConfig.cmake \ + lib/cmake/ut-2.0.0/utConfigVersion.cmake \ + lib/cmake/ut-2.0.0/utTargets.cmake + +NO_ARCH= yes + +.include diff --git a/devel/ut/distinfo b/devel/ut/distinfo new file mode 100644 index 000000000000..d80d35e3a68c --- /dev/null +++ b/devel/ut/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1702421439 +SHA256 (boost-ext-ut-v2.0.0_GH0.tar.gz) = 8b5b11197d1308dfc1fe20efd6a656e0c833dbec2807e2292967f6e2f7c0420f +SIZE (boost-ext-ut-v2.0.0_GH0.tar.gz) = 65578 diff --git a/devel/ut/pkg-descr b/devel/ut/pkg-descr new file mode 100644 index 000000000000..bb9eb8e4968b --- /dev/null +++ b/devel/ut/pkg-descr @@ -0,0 +1,8 @@ +UT is a C++20 u(micro)/Unit Testing Framework. + +Testing is a very important part of the Software Development, however, +C++ doesn't provide any good testing facilities out of the box, which often +leads into a poor testing experience for develops and/or lack of tests/coverage +in general. + +UT attempts to provide a uniform and easy way to run tests in C++.