git: d9c19641522f - main - devel/tl-expected: upgrade to 1.1.0

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 29 Mar 2023 12:53:19 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d9c19641522f8b9a9a89d3ec0195d7aee3ae12a7

commit d9c19641522f8b9a9a89d3ec0195d7aee3ae12a7
Author:     Henry Hu <henry.hu.sh@gmail.com>
AuthorDate: 2023-03-29 07:07:47 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-03-29 12:48:41 +0000

    devel/tl-expected: upgrade to 1.1.0
    
    ChangeLog: https://github.com/TartanLlama/expected/releases/tag/v1.1.0
    
     * Modify Conanfile to package expected as a header-only library in
     * Move the error value when throwing an exception in .value rval overloads in
     * Syntax highlight in README in
     * Revamp CMake to be correct and easy to understand in
     * Fix use of std::remove_cv in static_assert in
     * Add deduction guide to tl::unexpected in
     * Use move construction in swap implementation in
     * Fix warnings in test in
     * Test on many compilers in
     * Remove undefined behaviour in
     * Fixed issue #129 in
     * remove submodule directory in
    
    PR:             270474
    Reported by:    henry.hu.sh@gmail.com (maintainer)
---
 devel/tl-expected/Makefile | 13 ++++++++-----
 devel/tl-expected/distinfo | 10 +++++-----
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/devel/tl-expected/Makefile b/devel/tl-expected/Makefile
index 32380585ff9d..fb8d711cf10b 100644
--- a/devel/tl-expected/Makefile
+++ b/devel/tl-expected/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		tl-expected
 DISTVERSIONPREFIX=	v
-DISTVERSION=		1.0.0
+DISTVERSION=		1.1.0
 CATEGORIES=		devel
 
 MAINTAINER=		henry.hu.sh@gmail.com
@@ -14,21 +14,24 @@ USES=			cmake
 USE_GITHUB=		yes
 GH_ACCOUNT=		TartanLlama
 GH_PROJECT=		expected
-GH_TUPLE=		TartanLlama:tl-cmake:284c6a3:tlcmake/cmake/tl-cmake
 NO_ARCH=		yes
-CMAKE_ARGS=		-DFETCHCONTENT_SOURCE_DIR_TL_CMAKE=${CMAKE_SOURCE_PATH}/cmake/tl-cmake
 
 OPTIONS_DEFINE=		TESTS
 OPTIONS_DEFAULT=
 
 TESTS_DESC=		Build tests
-TESTS_CMAKE_BOOL=	EXPECTED_ENABLE_TESTS
+TESTS_CMAKE_BOOL=	EXPECTED_BUILD_TESTS
+TESTS_CMAKE_ON=		-DFETCHCONTENT_SOURCE_DIR_CATCH2=${WRKSRC}/catch2
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MTESTS}
+GH_TUPLE=		catchorg:Catch2:v2.13.10:catch2/catch2
+.endif
+
 do-test:
 .if ${PORT_OPTIONS:MTESTS}
-	@${CONFIGURE_WRKSRC}/tests
+	@${CONFIGURE_WRKSRC}/tl-expected-tests
 .else
 	@${ECHO} Must build with TESTS on to run tests.
 .endif
diff --git a/devel/tl-expected/distinfo b/devel/tl-expected/distinfo
index 4f3e610a42dc..267f273e9392 100644
--- a/devel/tl-expected/distinfo
+++ b/devel/tl-expected/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1583119531
-SHA256 (TartanLlama-expected-v1.0.0_GH0.tar.gz) = 8f5124085a124113e75e3890b4e923e3a4de5b26a973b891b3deb40e19c03cee
-SIZE (TartanLlama-expected-v1.0.0_GH0.tar.gz) = 102672
-SHA256 (TartanLlama-tl-cmake-284c6a3_GH0.tar.gz) = cc69510c3aeb0ce1e4b86e0a04156c630bff5bf6ae2f47593d40cca89daf8369
-SIZE (TartanLlama-tl-cmake-284c6a3_GH0.tar.gz) = 755
+TIMESTAMP = 1679870359
+SHA256 (TartanLlama-expected-v1.1.0_GH0.tar.gz) = 1db357f46dd2b24447156aaf970c4c40a793ef12a8a9c2ad9e096d9801368df6
+SIZE (TartanLlama-expected-v1.1.0_GH0.tar.gz) = 23747
+SHA256 (catchorg-Catch2-v2.13.10_GH0.tar.gz) = d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943
+SIZE (catchorg-Catch2-v2.13.10_GH0.tar.gz) = 662225