FreeBSD Bugzilla – Attachment 234664 Details for
Bug 264652
devel/catch: Update to 3.0.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
catch2.patch (text/plain), 12.01 KB, created by
Yuri Victorovich
on 2022-06-13 15:19:23 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2022-06-13 15:19:23 UTC
Size:
12.01 KB
patch
obsolete
>diff --git a/devel/Makefile b/devel/Makefile >index 5bff0303af9f..d1fdf94fd8c6 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -319,6 +319,7 @@ > SUBDIR += cargo-generate > SUBDIR += cask > SUBDIR += catch >+ SUBDIR += catch2 > SUBDIR += cbang > SUBDIR += cbrowser > SUBDIR += cc65 >diff --git a/devel/catch/Makefile b/devel/catch/Makefile >index 38fc74acb6de..44a1a475377b 100644 >--- a/devel/catch/Makefile >+++ b/devel/catch/Makefile >@@ -24,6 +24,8 @@ NO_ARCH= yes > > OPTIONS_DEFINE= DOCS > >+CONFLICTS= catch2 >+ > do-test: > ${BUILD_WRKSRC}/projects/SelfTest > >diff --git a/devel/catch2/Makefile b/devel/catch2/Makefile >new file mode 100644 >index 000000000000..3672a363c778 >--- /dev/null >+++ b/devel/catch2/Makefile >@@ -0,0 +1,35 @@ >+PORTNAME= catch2 >+DISTVERSIONPREFIX= v >+DISTVERSION= 3.0.1 >+PORTREVISION= 0 >+CATEGORIES= devel >+ >+MAINTAINER= gahr@FreeBSD.org >+COMMENT= Test framework for C++ >+ >+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 # 5 tests fail, see https://github.com/catchorg/Catch2/issues/2458 >+ >+PORTDOCS= * >+ >+OPTIONS_DEFINE= DOCS >+ >+CONFLICTS= catch >+ >+post-install: >+ # remove empty directories, see https://github.com/catchorg/Catch2/issues/2457 >+ @${RMDIR} \ >+ ${STAGEDIR}${PREFIX}/include/catch2/benchmark/internal \ >+ ${STAGEDIR}${PREFIX}/include/catch2/generators/internal >+ >+.include <bsd.port.mk> >diff --git a/devel/catch2/distinfo b/devel/catch2/distinfo >new file mode 100644 >index 000000000000..bcceab0d6159 >--- /dev/null >+++ b/devel/catch2/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1655092825 >+SHA256 (catchorg-Catch2-v3.0.1_GH0.tar.gz) = 8c4173c68ae7da1b5b505194a0c2d6f1b2aef4ec1e3e7463bde451f26bbaf4e7 >+SIZE (catchorg-Catch2-v3.0.1_GH0.tar.gz) = 1020413 >diff --git a/devel/catch2/files/patch-src_CMakeLists.txt b/devel/catch2/files/patch-src_CMakeLists.txt >new file mode 100644 >index 000000000000..6e070c831c2d >--- /dev/null >+++ b/devel/catch2/files/patch-src_CMakeLists.txt >@@ -0,0 +1,20 @@ >+--- src/CMakeLists.txt.orig 2022-06-13 04:06:52 UTC >++++ src/CMakeLists.txt >+@@ -265,7 +265,7 @@ set(REPORTER_FILES ${REPORTER_HEADERS} ${REPORTER_SOUR >+ >+ # Fixme: STATIC because for dynamic, we would need to handle visibility >+ # and I don't want to do the annotations right now >+-add_library(Catch2 STATIC >++add_library(Catch2 >+ ${REPORTER_FILES} >+ ${INTERNAL_FILES} >+ ${BENCHMARK_HEADERS} >+@@ -318,7 +318,7 @@ target_include_directories(Catch2 >+ ) >+ >+ >+-add_library(Catch2WithMain STATIC >++add_library(Catch2WithMain >+ ${SOURCES_DIR}/internal/catch_main.cpp >+ ) >+ add_build_reproducibility_settings(Catch2WithMain) >diff --git a/devel/catch2/pkg-descr b/devel/catch2/pkg-descr >new file mode 100644 >index 000000000000..b10871a76929 >--- /dev/null >+++ b/devel/catch2/pkg-descr >@@ -0,0 +1,4 @@ >+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). >+ >+WWW: https://github.com/catchorg/Catch2 >diff --git a/devel/catch2/pkg-plist b/devel/catch2/pkg-plist >new file mode 100644 >index 000000000000..b608cd0f2ab6 >--- /dev/null >+++ b/devel/catch2/pkg-plist >@@ -0,0 +1,171 @@ >+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_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_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_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_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_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/libCatch2Main.so >+libdata/pkgconfig/catch2-with-main.pc >+libdata/pkgconfig/catch2.pc >+share/Catch2/gdbinit >+share/Catch2/lldbinit >diff --git a/devel/rapidfuzz-cpp/Makefile b/devel/rapidfuzz-cpp/Makefile >index 9208efb220a0..90792ae047f7 100644 >--- a/devel/rapidfuzz-cpp/Makefile >+++ b/devel/rapidfuzz-cpp/Makefile >@@ -9,7 +9,7 @@ COMMENT= Rapid fuzzy string matching in C++ using the levenshtein distance > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-TEST_DEPENDS= catch>0:devel/catch >+TEST_DEPENDS= catch2>0:devel/catch2 > > USES= cmake:testing compiler:c++11-lib >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264652
:
234658
| 234664