From nobody Mon Sep 04 05:57:24 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 4RfHwN6bYpz4rWXg; Mon, 4 Sep 2023 05:57:24 +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 4RfHwN34MSz3Gky; Mon, 4 Sep 2023 05:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693807044; 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=sNd8I9g0gRclR+lPB0g+aJTzh7d9XA3zqt8i0Irns8s=; b=CytuT0qs2uVY+4Igmbv6jMJ0fYgYr1wln4tDzD+xz3HMYmcBElWiIvFH8bF7s0s036QEcn hnTOI73O2TENm+6Sl7YNjQlN/ZXuIQO23cvnrNhq0595NowM7QAZKgliScy1HMj6RUudz5 vzFVdTwyoA0DGRVvus8RKHQtJksXfvuOCnO2IyXqmyKE5A6nFLbXn7Uw2Qa+9dr7Qchtmd Bvoyl2xC43MzVXxAh8IMZ3zCWx6Mv0FtVpMjXW+e0q8k3zcOjmeo/vXi3nRAoF/uj3ZflB LDKWdE7G8yTfXxMMYzRF3rUFK02iPQgMs3cWBOY/sxaq5quGSJ+8zicLZYiXDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693807044; a=rsa-sha256; cv=none; b=An+xvKWAiW0EWoEpLBxGfsXrCxNIGScTA9QyQIkjkUPcsf1UeSvt2Eio1KJtEF1WGMaw/F WnqGMwlP1GtX/xB106gztN4bWKphvDQ3do7d8IvFLdpJ4jBPdf7gYZTOcvrc1cZLS6nV1G 81jzqQ86dtevQMvjKNQtbZM6du+i0HLyv3n/zluCKUWEhhAhd5Rmk2aTVnidrfMMkZwnw4 SwR0vTpgBmn3OiJJVlK9PQ3ZSdxfMAzLV7ctNIR2pbGp5ZRU4xtH1fq599KTPiklkL4437 ivpIbZlEv/kFWV2v8A+OORhR8pfh0uWIjDSIhrzWKnm+Ec4t1nU8ymBrz9dREQ== 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=1693807044; 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=sNd8I9g0gRclR+lPB0g+aJTzh7d9XA3zqt8i0Irns8s=; b=o/KIOPmcl57jS+NRGryn/15lhzK5XTGtzwT6L1sJWmRg4pVWAj0CtRJfV5qGcZ1Tya3Lvd e3pjen/nOdev1vMHBPMba2aCE2o02ucUEYmhPZGMefftcX/aVWO79TW2mxKEQibcuuDYIe 5diEXmOScwJFuQw76+Y0Fesq+vZDW270A1AhQ3IEGZWU0DPKX05BjGWrQFBFWxz0Fu+3nj kKtlqqISROsjzT/bPhTo1160+Aq0CszDTa7AbGuZQ2f53LI4ub8N4ej/0EjyDMwHhHuiX/ Aa/CxQk0w3k2+smuqisWW4Au2L8Qdrf/zcKp7LAOblEQUIauG5bTJn7yFoOXdg== 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 4RfHwN1Z2wzvsT; Mon, 4 Sep 2023 05:57:24 +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 3845vOdo032671; Mon, 4 Sep 2023 05:57:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3845vOAb032668; Mon, 4 Sep 2023 05:57:24 GMT (envelope-from git) Date: Mon, 4 Sep 2023 05:57:24 GMT Message-Id: <202309040557.3845vOAb032668@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: 320594ea6efc - main - devel/snitch: New port: Lightweight C++20 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: 320594ea6efc416aef63a6121cfff365c8beb6b6 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=320594ea6efc416aef63a6121cfff365c8beb6b6 commit 320594ea6efc416aef63a6121cfff365c8beb6b6 Author: Yuri Victorovich AuthorDate: 2023-09-04 05:56:43 +0000 Commit: Yuri Victorovich CommitDate: 2023-09-04 05:57:19 +0000 devel/snitch: New port: Lightweight C++20 testing framework --- devel/Makefile | 1 + devel/snitch/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/snitch/distinfo | 3 +++ devel/snitch/pkg-descr | 6 ++++++ devel/snitch/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ devel/snitch/pkg-plist-headers-only | 3 +++ 6 files changed, 85 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 902fb8062c75..b72ea3b2c4eb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7575,6 +7575,7 @@ SUBDIR += smooth SUBDIR += smv SUBDIR += snazy + SUBDIR += snitch SUBDIR += soapui SUBDIR += sobjectizer SUBDIR += socket_wrapper diff --git a/devel/snitch/Makefile b/devel/snitch/Makefile new file mode 100644 index 000000000000..abaceb42ec6a --- /dev/null +++ b/devel/snitch/Makefile @@ -0,0 +1,35 @@ +PORTNAME= snitch +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.1 +CATEGORIES= devel +PKGNAMESUFFIX= -testing + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Lightweight C++20 testing framework +WWW= https://github.com/cschreib/snitch + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++20-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= cschreib + +FLAVORS= default headers_only +FLAVOR?= ${FLAVORS:[1]} +headers_only_PLIST= ${MASTERDIR}/pkg-plist-headers-only + +.if ${FLAVOR} == default +CMAKE_ON= BUILD_SHARED_LIBS +.endif + +.if ${FLAVOR} == headers_only +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-headers-only +CMAKE_ON= SNITCH_HEADER_ONLY +NO_ARCH= yes +CONFLICTS_INSTALL= snitch-testing # see https://github.com/cschreib/snitch/issues/125 +.endif + +.include diff --git a/devel/snitch/distinfo b/devel/snitch/distinfo new file mode 100644 index 000000000000..0d4d1b6a9245 --- /dev/null +++ b/devel/snitch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693805115 +SHA256 (cschreib-snitch-v1.2.1_GH0.tar.gz) = 7bfdb493af701395ac7c39717335d4bfe44d10cb644d023059e3170365602cca +SIZE (cschreib-snitch-v1.2.1_GH0.tar.gz) = 117627 diff --git a/devel/snitch/pkg-descr b/devel/snitch/pkg-descr new file mode 100644 index 000000000000..aa7218d618be --- /dev/null +++ b/devel/snitch/pkg-descr @@ -0,0 +1,6 @@ +snitch is a lightweight C++20 testing framework. + +The goal of snitch is to be a simple, cheap, non-invasive, and user-friendly +testing framework. The design philosophy is to keep the testing API lean, +including only what is strictly necessary to present clear messages when a +test fails. diff --git a/devel/snitch/pkg-plist b/devel/snitch/pkg-plist new file mode 100644 index 000000000000..63fe04014953 --- /dev/null +++ b/devel/snitch/pkg-plist @@ -0,0 +1,37 @@ +include/snitch/snitch.hpp +include/snitch/snitch_append.hpp +include/snitch/snitch_capture.hpp +include/snitch/snitch_cli.hpp +include/snitch/snitch_concepts.hpp +include/snitch/snitch_config.hpp +include/snitch/snitch_console.hpp +include/snitch/snitch_error_handling.hpp +include/snitch/snitch_expression.hpp +include/snitch/snitch_file.hpp +include/snitch/snitch_fixed_point.hpp +include/snitch/snitch_function.hpp +include/snitch/snitch_macros_check.hpp +include/snitch/snitch_macros_check_base.hpp +include/snitch/snitch_macros_consteval.hpp +include/snitch/snitch_macros_constexpr.hpp +include/snitch/snitch_macros_exceptions.hpp +include/snitch/snitch_macros_misc.hpp +include/snitch/snitch_macros_reporter.hpp +include/snitch/snitch_macros_test_case.hpp +include/snitch/snitch_macros_utility.hpp +include/snitch/snitch_macros_warnings.hpp +include/snitch/snitch_matcher.hpp +include/snitch/snitch_registry.hpp +include/snitch/snitch_reporter_catch2_xml.hpp +include/snitch/snitch_reporter_console.hpp +include/snitch/snitch_reporter_teamcity.hpp +include/snitch/snitch_section.hpp +include/snitch/snitch_string.hpp +include/snitch/snitch_string_utility.hpp +include/snitch/snitch_test_data.hpp +include/snitch/snitch_type_name.hpp +include/snitch/snitch_vector.hpp +lib/cmake/snitch/snitch-config.cmake +lib/cmake/snitch/snitch-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/snitch/snitch-targets.cmake +lib/libsnitch.so diff --git a/devel/snitch/pkg-plist-headers-only b/devel/snitch/pkg-plist-headers-only new file mode 100644 index 000000000000..86cf2a63ac4d --- /dev/null +++ b/devel/snitch/pkg-plist-headers-only @@ -0,0 +1,3 @@ +include/snitch/snitch_all.hpp +lib/cmake/snitch/snitch-config.cmake +lib/cmake/snitch/snitch-header-only-targets.cmake