View | Details | Raw Unified | Return to bug 264652 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 319-324 Link Here
319
    SUBDIR += cargo-generate
319
    SUBDIR += cargo-generate
320
    SUBDIR += cask
320
    SUBDIR += cask
321
    SUBDIR += catch
321
    SUBDIR += catch
322
    SUBDIR += catch2
322
    SUBDIR += cbang
323
    SUBDIR += cbang
323
    SUBDIR += cbrowser
324
    SUBDIR += cbrowser
324
    SUBDIR += cc65
325
    SUBDIR += cc65
(-)b/devel/catch/Makefile (+2 lines)
Lines 24-29 NO_ARCH= yes Link Here
24
24
25
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
26
26
27
CONFLICTS=	catch2
28
27
do-test:
29
do-test:
28
	${BUILD_WRKSRC}/projects/SelfTest
30
	${BUILD_WRKSRC}/projects/SelfTest
29
31
(-)b/devel/catch2/Makefile (+35 lines)
Added Link Here
1
PORTNAME=	catch2
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	3.0.1
4
PORTREVISION=	0
5
CATEGORIES=	devel
6
7
MAINTAINER=	gahr@FreeBSD.org
8
COMMENT=	Test framework for C++
9
10
LICENSE=	BSL
11
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
12
13
USES=		cmake:testing compiler:c++14-lang pathfix python:build,test
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	catchorg
16
GH_PROJECT=	Catch2
17
18
CMAKE_ARGS=	-DCMAKE_INSTALL_DOCDIR=${DOCSDIR} \
19
		-DPython3_EXECUTABLE=${PYTHON_CMD}
20
CMAKE_ON=	BUILD_SHARED_LIBS
21
CMAKE_TESTING_ON=	CATCH_DEVELOPMENT_BUILD BUILD_TESTING CATCH_BUILD_TESTING # 5 tests fail, see https://github.com/catchorg/Catch2/issues/2458
22
23
PORTDOCS=	*
24
25
OPTIONS_DEFINE=	DOCS
26
27
CONFLICTS=	catch
28
29
post-install:
30
	# remove empty directories, see https://github.com/catchorg/Catch2/issues/2457
31
	@${RMDIR} \
32
		${STAGEDIR}${PREFIX}/include/catch2/benchmark/internal \
33
		${STAGEDIR}${PREFIX}/include/catch2/generators/internal
34
35
.include <bsd.port.mk>
(-)b/devel/catch2/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1655092825
2
SHA256 (catchorg-Catch2-v3.0.1_GH0.tar.gz) = 8c4173c68ae7da1b5b505194a0c2d6f1b2aef4ec1e3e7463bde451f26bbaf4e7
3
SIZE (catchorg-Catch2-v3.0.1_GH0.tar.gz) = 1020413
(-)b/devel/catch2/files/patch-src_CMakeLists.txt (+20 lines)
Added Link Here
1
--- src/CMakeLists.txt.orig	2022-06-13 04:06:52 UTC
2
+++ src/CMakeLists.txt
3
@@ -265,7 +265,7 @@ set(REPORTER_FILES ${REPORTER_HEADERS} ${REPORTER_SOUR
4
 
5
 # Fixme: STATIC because for dynamic, we would need to handle visibility
6
 # and I don't want to do the annotations right now
7
-add_library(Catch2 STATIC
8
+add_library(Catch2
9
   ${REPORTER_FILES}
10
   ${INTERNAL_FILES}
11
   ${BENCHMARK_HEADERS}
12
@@ -318,7 +318,7 @@ target_include_directories(Catch2
13
 )
14
 
15
 
16
-add_library(Catch2WithMain STATIC
17
+add_library(Catch2WithMain
18
     ${SOURCES_DIR}/internal/catch_main.cpp
19
 )
20
 add_build_reproducibility_settings(Catch2WithMain)
(-)b/devel/catch2/pkg-descr (+4 lines)
Added Link Here
1
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm
2
automated test framework for C++ and Objective-C (and, maybe, C).
3
4
WWW: https://github.com/catchorg/Catch2
(-)b/devel/catch2/pkg-plist (+171 lines)
Added Link Here
1
include/catch2/benchmark/catch_benchmark.hpp
2
include/catch2/benchmark/catch_benchmark_all.hpp
3
include/catch2/benchmark/catch_chronometer.hpp
4
include/catch2/benchmark/catch_clock.hpp
5
include/catch2/benchmark/catch_constructor.hpp
6
include/catch2/benchmark/catch_environment.hpp
7
include/catch2/benchmark/catch_estimate.hpp
8
include/catch2/benchmark/catch_execution_plan.hpp
9
include/catch2/benchmark/catch_optimizer.hpp
10
include/catch2/benchmark/catch_outlier_classification.hpp
11
include/catch2/benchmark/catch_sample_analysis.hpp
12
include/catch2/benchmark/detail/catch_analyse.hpp
13
include/catch2/benchmark/detail/catch_benchmark_function.hpp
14
include/catch2/benchmark/detail/catch_complete_invoke.hpp
15
include/catch2/benchmark/detail/catch_estimate_clock.hpp
16
include/catch2/benchmark/detail/catch_measure.hpp
17
include/catch2/benchmark/detail/catch_repeat.hpp
18
include/catch2/benchmark/detail/catch_run_for_at_least.hpp
19
include/catch2/benchmark/detail/catch_stats.hpp
20
include/catch2/benchmark/detail/catch_timing.hpp
21
include/catch2/catch_all.hpp
22
include/catch2/catch_approx.hpp
23
include/catch2/catch_assertion_info.hpp
24
include/catch2/catch_assertion_result.hpp
25
include/catch2/catch_config.hpp
26
include/catch2/catch_message.hpp
27
include/catch2/catch_section_info.hpp
28
include/catch2/catch_session.hpp
29
include/catch2/catch_tag_alias.hpp
30
include/catch2/catch_tag_alias_autoregistrar.hpp
31
include/catch2/catch_template_test_macros.hpp
32
include/catch2/catch_test_case_info.hpp
33
include/catch2/catch_test_macros.hpp
34
include/catch2/catch_test_spec.hpp
35
include/catch2/catch_timer.hpp
36
include/catch2/catch_tostring.hpp
37
include/catch2/catch_totals.hpp
38
include/catch2/catch_translate_exception.hpp
39
include/catch2/catch_user_config.hpp
40
include/catch2/catch_version.hpp
41
include/catch2/catch_version_macros.hpp
42
include/catch2/generators/catch_generator_exception.hpp
43
include/catch2/generators/catch_generators.hpp
44
include/catch2/generators/catch_generators_adapters.hpp
45
include/catch2/generators/catch_generators_all.hpp
46
include/catch2/generators/catch_generators_random.hpp
47
include/catch2/generators/catch_generators_range.hpp
48
include/catch2/interfaces/catch_interfaces_all.hpp
49
include/catch2/interfaces/catch_interfaces_capture.hpp
50
include/catch2/interfaces/catch_interfaces_config.hpp
51
include/catch2/interfaces/catch_interfaces_enum_values_registry.hpp
52
include/catch2/interfaces/catch_interfaces_exception.hpp
53
include/catch2/interfaces/catch_interfaces_generatortracker.hpp
54
include/catch2/interfaces/catch_interfaces_registry_hub.hpp
55
include/catch2/interfaces/catch_interfaces_reporter.hpp
56
include/catch2/interfaces/catch_interfaces_reporter_factory.hpp
57
include/catch2/interfaces/catch_interfaces_reporter_registry.hpp
58
include/catch2/interfaces/catch_interfaces_tag_alias_registry.hpp
59
include/catch2/interfaces/catch_interfaces_testcase.hpp
60
include/catch2/internal/catch_assertion_handler.hpp
61
include/catch2/internal/catch_case_insensitive_comparisons.hpp
62
include/catch2/internal/catch_case_sensitive.hpp
63
include/catch2/internal/catch_clara.hpp
64
include/catch2/internal/catch_commandline.hpp
65
include/catch2/internal/catch_compiler_capabilities.hpp
66
include/catch2/internal/catch_config_android_logwrite.hpp
67
include/catch2/internal/catch_config_counter.hpp
68
include/catch2/internal/catch_config_uncaught_exceptions.hpp
69
include/catch2/internal/catch_config_wchar.hpp
70
include/catch2/internal/catch_console_colour.hpp
71
include/catch2/internal/catch_console_width.hpp
72
include/catch2/internal/catch_container_nonmembers.hpp
73
include/catch2/internal/catch_context.hpp
74
include/catch2/internal/catch_debug_console.hpp
75
include/catch2/internal/catch_debugger.hpp
76
include/catch2/internal/catch_decomposer.hpp
77
include/catch2/internal/catch_enforce.hpp
78
include/catch2/internal/catch_enum_values_registry.hpp
79
include/catch2/internal/catch_errno_guard.hpp
80
include/catch2/internal/catch_exception_translator_registry.hpp
81
include/catch2/internal/catch_fatal_condition_handler.hpp
82
include/catch2/internal/catch_floating_point_helpers.hpp
83
include/catch2/internal/catch_istream.hpp
84
include/catch2/internal/catch_lazy_expr.hpp
85
include/catch2/internal/catch_leak_detector.hpp
86
include/catch2/internal/catch_list.hpp
87
include/catch2/internal/catch_message_info.hpp
88
include/catch2/internal/catch_meta.hpp
89
include/catch2/internal/catch_move_and_forward.hpp
90
include/catch2/internal/catch_noncopyable.hpp
91
include/catch2/internal/catch_optional.hpp
92
include/catch2/internal/catch_output_redirect.hpp
93
include/catch2/internal/catch_platform.hpp
94
include/catch2/internal/catch_polyfills.hpp
95
include/catch2/internal/catch_preprocessor.hpp
96
include/catch2/internal/catch_preprocessor_remove_parens.hpp
97
include/catch2/internal/catch_random_number_generator.hpp
98
include/catch2/internal/catch_random_seed_generation.hpp
99
include/catch2/internal/catch_reporter_registry.hpp
100
include/catch2/internal/catch_reporter_spec_parser.hpp
101
include/catch2/internal/catch_result_type.hpp
102
include/catch2/internal/catch_reusable_string_stream.hpp
103
include/catch2/internal/catch_run_context.hpp
104
include/catch2/internal/catch_section.hpp
105
include/catch2/internal/catch_sharding.hpp
106
include/catch2/internal/catch_singletons.hpp
107
include/catch2/internal/catch_source_line_info.hpp
108
include/catch2/internal/catch_startup_exception_registry.hpp
109
include/catch2/internal/catch_stdstreams.hpp
110
include/catch2/internal/catch_stream_end_stop.hpp
111
include/catch2/internal/catch_string_manip.hpp
112
include/catch2/internal/catch_stringref.hpp
113
include/catch2/internal/catch_tag_alias_registry.hpp
114
include/catch2/internal/catch_template_test_registry.hpp
115
include/catch2/internal/catch_test_case_info_hasher.hpp
116
include/catch2/internal/catch_test_case_registry_impl.hpp
117
include/catch2/internal/catch_test_case_tracker.hpp
118
include/catch2/internal/catch_test_failure_exception.hpp
119
include/catch2/internal/catch_test_macro_impl.hpp
120
include/catch2/internal/catch_test_registry.hpp
121
include/catch2/internal/catch_test_spec_parser.hpp
122
include/catch2/internal/catch_textflow.hpp
123
include/catch2/internal/catch_to_string.hpp
124
include/catch2/internal/catch_uncaught_exceptions.hpp
125
include/catch2/internal/catch_unique_name.hpp
126
include/catch2/internal/catch_unique_ptr.hpp
127
include/catch2/internal/catch_void_type.hpp
128
include/catch2/internal/catch_wildcard_pattern.hpp
129
include/catch2/internal/catch_windows_h_proxy.hpp
130
include/catch2/internal/catch_xmlwriter.hpp
131
include/catch2/matchers/catch_matchers.hpp
132
include/catch2/matchers/catch_matchers_all.hpp
133
include/catch2/matchers/catch_matchers_container_properties.hpp
134
include/catch2/matchers/catch_matchers_contains.hpp
135
include/catch2/matchers/catch_matchers_exception.hpp
136
include/catch2/matchers/catch_matchers_floating_point.hpp
137
include/catch2/matchers/catch_matchers_predicate.hpp
138
include/catch2/matchers/catch_matchers_quantifiers.hpp
139
include/catch2/matchers/catch_matchers_string.hpp
140
include/catch2/matchers/catch_matchers_templated.hpp
141
include/catch2/matchers/catch_matchers_vector.hpp
142
include/catch2/matchers/internal/catch_matchers_impl.hpp
143
include/catch2/reporters/catch_reporter_automake.hpp
144
include/catch2/reporters/catch_reporter_common_base.hpp
145
include/catch2/reporters/catch_reporter_compact.hpp
146
include/catch2/reporters/catch_reporter_console.hpp
147
include/catch2/reporters/catch_reporter_cumulative_base.hpp
148
include/catch2/reporters/catch_reporter_event_listener.hpp
149
include/catch2/reporters/catch_reporter_helpers.hpp
150
include/catch2/reporters/catch_reporter_junit.hpp
151
include/catch2/reporters/catch_reporter_multi.hpp
152
include/catch2/reporters/catch_reporter_registrars.hpp
153
include/catch2/reporters/catch_reporter_sonarqube.hpp
154
include/catch2/reporters/catch_reporter_streaming_base.hpp
155
include/catch2/reporters/catch_reporter_tap.hpp
156
include/catch2/reporters/catch_reporter_teamcity.hpp
157
include/catch2/reporters/catch_reporter_xml.hpp
158
include/catch2/reporters/catch_reporters_all.hpp
159
lib/cmake/Catch2/Catch.cmake
160
lib/cmake/Catch2/Catch2Config.cmake
161
lib/cmake/Catch2/Catch2ConfigVersion.cmake
162
lib/cmake/Catch2/Catch2Targets-%%CMAKE_BUILD_TYPE%%.cmake
163
lib/cmake/Catch2/Catch2Targets.cmake
164
lib/cmake/Catch2/CatchAddTests.cmake
165
lib/cmake/Catch2/ParseAndAddCatchTests.cmake
166
lib/libCatch2.so
167
lib/libCatch2Main.so
168
libdata/pkgconfig/catch2-with-main.pc
169
libdata/pkgconfig/catch2.pc
170
share/Catch2/gdbinit
171
share/Catch2/lldbinit
(-)b/devel/rapidfuzz-cpp/Makefile (-1 / +1 lines)
Lines 9-15 COMMENT= Rapid fuzzy string matching in C++ using the levenshtein distance Link Here
9
LICENSE=	MIT
9
LICENSE=	MIT
10
LICENSE_FILE=	${WRKSRC}/LICENSE
10
LICENSE_FILE=	${WRKSRC}/LICENSE
11
11
12
TEST_DEPENDS=	catch>0:devel/catch
12
TEST_DEPENDS=	catch2>0:devel/catch2
13
13
14
USES=		cmake:testing compiler:c++11-lib
14
USES=		cmake:testing compiler:c++11-lib
15
15

Return to bug 264652