From nobody Sat Dec 31 10:22:09 2022 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 4NkdTs5y61z2lK5v; Sat, 31 Dec 2022 10:22:09 +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 4NkdTs4k6wz42S6; Sat, 31 Dec 2022 10:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672482129; 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=1vQGPlXrXdJqDleaxKWny/G44peBv9ekCTEa0xVrifQ=; b=bUwfJG5NjX8iO+qLZyhsqG8b9khHUhX2FDEvJgQDNh8TXnOSvTKadYe7UTPoE9uiFsIqa8 Slyfo4FhdSpGxEqj1J84c4yT9I5Q9sn32IeftDu72kJZwuMctbh7ssk0JEq6BpQ1+3pDd2 d7krIJSsT49v6KS1rnpbfswVAoIBueG2ybjmq/SqtdAsAob5JsrZKPOFiRU8GHRI9mFxdA Usy0DFIgHNJxtf3772LJos1SfFNGIxH3CswV3VwZZqOREgDb24G8qHo+sy+lubn/S1HIrA lHFIxmdf5K0hO61/lU5pWEFdU8fkWqnuhOv6cChLG5OpdunZw9LSoMfOaguvkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672482129; 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=1vQGPlXrXdJqDleaxKWny/G44peBv9ekCTEa0xVrifQ=; b=uNcvhBazlD8f/11jGMSwBNX5h+hlMCVVT6lLiLXTstSSucy5BEP4VpufRCnzBUOQnO2Lhz bsQwj8f14ipQnHEdYbhcosd+aExBAfxwxSfz5fhX4UYY1hUPW4a9EgViCoJHtRyHm14JFm SHU9T5zLu7muH2aOtVplRgCtnXa2zvxN3/R9iqhk1qMu57dQrcPsPSjpn9TLsi/1MiEPYt HtJVRx9RtFzq+eWPVA8cQKPp0YwZFhPBd0kmY8Uwytl1HZ5jck7G54sJln5Z80ZmN/zNnq H7f5lDV1wk+EjBTZzuVz21zq8wyg0INh6X+4+vYh3Edq/C91TDCcGxW7gJderQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672482129; a=rsa-sha256; cv=none; b=RQrY6r+bQFi19Mr+M+MtxXcFxIaDZrdVgx5IQmvKNXjU827AgpJD3DdJK6qtqQF6IeHjuM T7Gmne6B6Qv4Jck0AtdrBM1+xTXFxjjgrNlIKQNglxcL+CnmHkvk0e6ltpb5WKXtdKB+E7 yEi+yGFrRws65Uw9l1m/K+EmLSKt+TwM4qPfpk8LaQGKlsQ9ugerM6eCVOPBB4PDckyeAc Uka5YDvFDh1hvJfaM3qIMx607VGeL5MB1mp7mfjpEVgCmWWYa0scd6cn2zbIT5LhjHE9zc 9kxeFo2V9FaBh5Mdr1bZYHWYAAAufpXy5FHHG1ziG/Rbgmxy3QSYSts/uWddCw== 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 4NkdTs3qnnzlND; Sat, 31 Dec 2022 10:22:09 +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 2BVAM97S096016; Sat, 31 Dec 2022 10:22:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BVAM9As096015; Sat, 31 Dec 2022 10:22:09 GMT (envelope-from git) Date: Sat, 31 Dec 2022 10:22:09 GMT Message-Id: <202212311022.2BVAM9As096015@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: 08a9d785715e - main - devel/catch2: New port: Test framework for C++ (3.x series) 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08a9d785715ed4020ba3cbab6e573e31fcf5b34e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=08a9d785715ed4020ba3cbab6e573e31fcf5b34e commit 08a9d785715ed4020ba3cbab6e573e31fcf5b34e Author: Yuri Victorovich AuthorDate: 2022-12-31 10:20:32 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-31 10:22:03 +0000 devel/catch2: New port: Test framework for C++ (3.x series) PR: 264652 --- devel/Makefile | 1 + devel/catch2/Makefile | 29 ++++++++ devel/catch2/distinfo | 3 + devel/catch2/pkg-descr | 2 + devel/catch2/pkg-plist | 178 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 213 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b6e367658062..3dfcf4963c4b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -322,6 +322,7 @@ SUBDIR += cargo-generate SUBDIR += cask SUBDIR += catch + SUBDIR += catch2 SUBDIR += cbang SUBDIR += cbrowser SUBDIR += cc65 diff --git a/devel/catch2/Makefile b/devel/catch2/Makefile new file mode 100644 index 000000000000..cafb9a5716a6 --- /dev/null +++ b/devel/catch2/Makefile @@ -0,0 +1,29 @@ +PORTNAME= catch2 # 2.x series is under devel/catch, the project is called catch2 +DISTVERSIONPREFIX= v +DISTVERSION= 3.2.1 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Test framework for C++ (3.x series) +WWW= https://github.com/catchorg/Catch2 + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= cmake:testing compiler:c++14-lang pathfix python:build,test +USE_GITHUB= yes +GH_ACCOUNT= catchorg +GH_PROJECT= Catch2 + +CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} \ + -DPython3_EXECUTABLE=${PYTHON_CMD} +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_TESTING_ON= CATCH_DEVELOPMENT_BUILD BUILD_TESTING CATCH_BUILD_TESTING # 1 test fails, see https://github.com/catchorg/Catch2/issues/2606 + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +CONFLICTS= catch + +.include diff --git a/devel/catch2/distinfo b/devel/catch2/distinfo new file mode 100644 index 000000000000..a0bbc84fc47a --- /dev/null +++ b/devel/catch2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672480873 +SHA256 (catchorg-Catch2-v3.2.1_GH0.tar.gz) = 4613d3e8142b672159fcae252a4860d72c8cf8e2df5043b1ae3541db9ef5d73c +SIZE (catchorg-Catch2-v3.2.1_GH0.tar.gz) = 1068389 diff --git a/devel/catch2/pkg-descr b/devel/catch2/pkg-descr new file mode 100644 index 000000000000..499acc8e3ff0 --- /dev/null +++ b/devel/catch2/pkg-descr @@ -0,0 +1,2 @@ +Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm +automated test framework for C++ and Objective-C (and, maybe, C). diff --git a/devel/catch2/pkg-plist b/devel/catch2/pkg-plist new file mode 100644 index 000000000000..00e591502c53 --- /dev/null +++ b/devel/catch2/pkg-plist @@ -0,0 +1,178 @@ +include/catch2/benchmark/catch_benchmark.hpp +include/catch2/benchmark/catch_benchmark_all.hpp +include/catch2/benchmark/catch_chronometer.hpp +include/catch2/benchmark/catch_clock.hpp +include/catch2/benchmark/catch_constructor.hpp +include/catch2/benchmark/catch_environment.hpp +include/catch2/benchmark/catch_estimate.hpp +include/catch2/benchmark/catch_execution_plan.hpp +include/catch2/benchmark/catch_optimizer.hpp +include/catch2/benchmark/catch_outlier_classification.hpp +include/catch2/benchmark/catch_sample_analysis.hpp +include/catch2/benchmark/detail/catch_analyse.hpp +include/catch2/benchmark/detail/catch_benchmark_function.hpp +include/catch2/benchmark/detail/catch_complete_invoke.hpp +include/catch2/benchmark/detail/catch_estimate_clock.hpp +include/catch2/benchmark/detail/catch_measure.hpp +include/catch2/benchmark/detail/catch_repeat.hpp +include/catch2/benchmark/detail/catch_run_for_at_least.hpp +include/catch2/benchmark/detail/catch_stats.hpp +include/catch2/benchmark/detail/catch_timing.hpp +include/catch2/catch_all.hpp +include/catch2/catch_approx.hpp +include/catch2/catch_assertion_info.hpp +include/catch2/catch_assertion_result.hpp +include/catch2/catch_config.hpp +include/catch2/catch_get_random_seed.hpp +include/catch2/catch_message.hpp +include/catch2/catch_section_info.hpp +include/catch2/catch_session.hpp +include/catch2/catch_tag_alias.hpp +include/catch2/catch_tag_alias_autoregistrar.hpp +include/catch2/catch_template_test_macros.hpp +include/catch2/catch_test_case_info.hpp +include/catch2/catch_test_macros.hpp +include/catch2/catch_test_spec.hpp +include/catch2/catch_timer.hpp +include/catch2/catch_tostring.hpp +include/catch2/catch_totals.hpp +include/catch2/catch_translate_exception.hpp +include/catch2/catch_user_config.hpp +include/catch2/catch_version.hpp +include/catch2/catch_version_macros.hpp +include/catch2/generators/catch_generator_exception.hpp +include/catch2/generators/catch_generators.hpp +include/catch2/generators/catch_generators_adapters.hpp +include/catch2/generators/catch_generators_all.hpp +include/catch2/generators/catch_generators_random.hpp +include/catch2/generators/catch_generators_range.hpp +include/catch2/interfaces/catch_interfaces_all.hpp +include/catch2/interfaces/catch_interfaces_capture.hpp +include/catch2/interfaces/catch_interfaces_config.hpp +include/catch2/interfaces/catch_interfaces_enum_values_registry.hpp +include/catch2/interfaces/catch_interfaces_exception.hpp +include/catch2/interfaces/catch_interfaces_generatortracker.hpp +include/catch2/interfaces/catch_interfaces_registry_hub.hpp +include/catch2/interfaces/catch_interfaces_reporter.hpp +include/catch2/interfaces/catch_interfaces_reporter_factory.hpp +include/catch2/interfaces/catch_interfaces_reporter_registry.hpp +include/catch2/interfaces/catch_interfaces_tag_alias_registry.hpp +include/catch2/interfaces/catch_interfaces_testcase.hpp +include/catch2/internal/catch_assertion_handler.hpp +include/catch2/internal/catch_case_insensitive_comparisons.hpp +include/catch2/internal/catch_case_sensitive.hpp +include/catch2/internal/catch_clara.hpp +include/catch2/internal/catch_commandline.hpp +include/catch2/internal/catch_compare_traits.hpp +include/catch2/internal/catch_compiler_capabilities.hpp +include/catch2/internal/catch_config_android_logwrite.hpp +include/catch2/internal/catch_config_counter.hpp +include/catch2/internal/catch_config_uncaught_exceptions.hpp +include/catch2/internal/catch_config_wchar.hpp +include/catch2/internal/catch_console_colour.hpp +include/catch2/internal/catch_console_width.hpp +include/catch2/internal/catch_container_nonmembers.hpp +include/catch2/internal/catch_context.hpp +include/catch2/internal/catch_debug_console.hpp +include/catch2/internal/catch_debugger.hpp +include/catch2/internal/catch_decomposer.hpp +include/catch2/internal/catch_enforce.hpp +include/catch2/internal/catch_enum_values_registry.hpp +include/catch2/internal/catch_errno_guard.hpp +include/catch2/internal/catch_exception_translator_registry.hpp +include/catch2/internal/catch_fatal_condition_handler.hpp +include/catch2/internal/catch_floating_point_helpers.hpp +include/catch2/internal/catch_getenv.hpp +include/catch2/internal/catch_istream.hpp +include/catch2/internal/catch_lazy_expr.hpp +include/catch2/internal/catch_leak_detector.hpp +include/catch2/internal/catch_list.hpp +include/catch2/internal/catch_logical_traits.hpp +include/catch2/internal/catch_message_info.hpp +include/catch2/internal/catch_meta.hpp +include/catch2/internal/catch_move_and_forward.hpp +include/catch2/internal/catch_noncopyable.hpp +include/catch2/internal/catch_optional.hpp +include/catch2/internal/catch_output_redirect.hpp +include/catch2/internal/catch_parse_numbers.hpp +include/catch2/internal/catch_platform.hpp +include/catch2/internal/catch_polyfills.hpp +include/catch2/internal/catch_preprocessor.hpp +include/catch2/internal/catch_preprocessor_remove_parens.hpp +include/catch2/internal/catch_random_number_generator.hpp +include/catch2/internal/catch_random_seed_generation.hpp +include/catch2/internal/catch_reporter_registry.hpp +include/catch2/internal/catch_reporter_spec_parser.hpp +include/catch2/internal/catch_result_type.hpp +include/catch2/internal/catch_reusable_string_stream.hpp +include/catch2/internal/catch_run_context.hpp +include/catch2/internal/catch_section.hpp +include/catch2/internal/catch_sharding.hpp +include/catch2/internal/catch_singletons.hpp +include/catch2/internal/catch_source_line_info.hpp +include/catch2/internal/catch_startup_exception_registry.hpp +include/catch2/internal/catch_stdstreams.hpp +include/catch2/internal/catch_stream_end_stop.hpp +include/catch2/internal/catch_string_manip.hpp +include/catch2/internal/catch_stringref.hpp +include/catch2/internal/catch_tag_alias_registry.hpp +include/catch2/internal/catch_template_test_registry.hpp +include/catch2/internal/catch_test_case_info_hasher.hpp +include/catch2/internal/catch_test_case_registry_impl.hpp +include/catch2/internal/catch_test_case_tracker.hpp +include/catch2/internal/catch_test_failure_exception.hpp +include/catch2/internal/catch_test_macro_impl.hpp +include/catch2/internal/catch_test_registry.hpp +include/catch2/internal/catch_test_spec_parser.hpp +include/catch2/internal/catch_textflow.hpp +include/catch2/internal/catch_to_string.hpp +include/catch2/internal/catch_uncaught_exceptions.hpp +include/catch2/internal/catch_unique_name.hpp +include/catch2/internal/catch_unique_ptr.hpp +include/catch2/internal/catch_void_type.hpp +include/catch2/internal/catch_wildcard_pattern.hpp +include/catch2/internal/catch_windows_h_proxy.hpp +include/catch2/internal/catch_xmlwriter.hpp +include/catch2/matchers/catch_matchers.hpp +include/catch2/matchers/catch_matchers_all.hpp +include/catch2/matchers/catch_matchers_container_properties.hpp +include/catch2/matchers/catch_matchers_contains.hpp +include/catch2/matchers/catch_matchers_exception.hpp +include/catch2/matchers/catch_matchers_floating_point.hpp +include/catch2/matchers/catch_matchers_predicate.hpp +include/catch2/matchers/catch_matchers_quantifiers.hpp +include/catch2/matchers/catch_matchers_string.hpp +include/catch2/matchers/catch_matchers_templated.hpp +include/catch2/matchers/catch_matchers_vector.hpp +include/catch2/matchers/internal/catch_matchers_impl.hpp +include/catch2/reporters/catch_reporter_automake.hpp +include/catch2/reporters/catch_reporter_common_base.hpp +include/catch2/reporters/catch_reporter_compact.hpp +include/catch2/reporters/catch_reporter_console.hpp +include/catch2/reporters/catch_reporter_cumulative_base.hpp +include/catch2/reporters/catch_reporter_event_listener.hpp +include/catch2/reporters/catch_reporter_helpers.hpp +include/catch2/reporters/catch_reporter_junit.hpp +include/catch2/reporters/catch_reporter_multi.hpp +include/catch2/reporters/catch_reporter_registrars.hpp +include/catch2/reporters/catch_reporter_sonarqube.hpp +include/catch2/reporters/catch_reporter_streaming_base.hpp +include/catch2/reporters/catch_reporter_tap.hpp +include/catch2/reporters/catch_reporter_teamcity.hpp +include/catch2/reporters/catch_reporter_xml.hpp +include/catch2/reporters/catch_reporters_all.hpp +lib/cmake/Catch2/Catch.cmake +lib/cmake/Catch2/Catch2Config.cmake +lib/cmake/Catch2/Catch2ConfigVersion.cmake +lib/cmake/Catch2/Catch2Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Catch2/Catch2Targets.cmake +lib/cmake/Catch2/CatchAddTests.cmake +lib/cmake/Catch2/ParseAndAddCatchTests.cmake +lib/libCatch2.so +lib/libCatch2.so.3.2.1 +lib/libCatch2Main.so +lib/libCatch2Main.so.3.2.1 +libdata/pkgconfig/catch2-with-main.pc +libdata/pkgconfig/catch2.pc +share/Catch2/gdbinit +share/Catch2/lldbinit