Bug 270474 - devel/tl-expected: upgrade to 1.1.0
Summary: devel/tl-expected: upgrade to 1.1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: https://github.com/TartanLlama/expect...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 02:38 UTC by Henry Hu
Modified: 2023-03-29 12:53 UTC (History)
1 user (show)

See Also:


Attachments
patch for 1.1.0 (1.97 KB, patch)
2023-03-27 02:38 UTC, Henry Hu
henry.hu.sh: maintainer-approval+
Details | Diff
Poudriere build log on 13.1-RELEASE-p7 (24.92 KB, text/plain)
2023-03-27 02:39 UTC, Henry Hu
no flags Details
Poudriere build log on 12.3-RELEASE-p9 (14.80 KB, text/plain)
2023-03-27 02:39 UTC, Henry Hu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Hu 2023-03-27 02:38:55 UTC
Created attachment 241133 [details]
patch for 1.1.0

update tl-expected to 1.1.0. Changelog:

    Modify Conanfile to package expected as a header-only library in #56
    Move the error value when throwing an exception in .value rval overloads in #62
    Syntax highlight in README in #64
    Revamp CMake to be correct and easy to understand in #69
    Fix use of std::remove_cv in static_assert in #90
    Add deduction guide to tl::unexpected in #109
    Use move construction in swap implementation in #103
    Fix warnings in test in #92
    Test on many compilers in #123
    Remove undefined behaviour in #117
    Fixed issue #129 in #131
    remove submodule directory in #138

link: https://github.com/TartanLlama/expected/releases/tag/v1.1.0

Port changes: it no longer needs tl-cmake; on the other hand, now it needs catch2. The CMakeList.txt just fetches catch2 2.13.10 from github, so I'm doing the same in the port, although we do have a catch2 3.3.2 port.
Comment 1 Henry Hu 2023-03-27 02:39:25 UTC
Created attachment 241134 [details]
Poudriere build log on 13.1-RELEASE-p7
Comment 2 Henry Hu 2023-03-27 02:39:50 UTC
Created attachment 241135 [details]
Poudriere build log on 12.3-RELEASE-p9
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-03-29 07:11:33 UTC
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.


Thanks!
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2023-03-29 12:53:28 UTC
Committed,

Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-03-29 12:53:33 UTC
A commit in branch main references this bug:

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(-)