mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
devel/expected: New port: C++11/14/17 std::expected with functional-style extensions
This commit is contained in:
parent
d8a793059b
commit
2d7c67e1b5
4 changed files with 40 additions and 0 deletions
|
@ -697,6 +697,7 @@
|
|||
SUBDIR += eventxx
|
||||
SUBDIR += exercisix
|
||||
SUBDIR += exomizer
|
||||
SUBDIR += expected
|
||||
SUBDIR += f77flow
|
||||
SUBDIR += fam
|
||||
SUBDIR += fastcrc
|
||||
|
|
34
devel/expected/Makefile
Normal file
34
devel/expected/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
PORTNAME= expected
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.1.0
|
||||
CATEGORIES= devel science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= C++11/14/17 std::expected with functional-style extensions
|
||||
WWW= https://tl.tartanllama.xyz/en/latest/ \
|
||||
https://github.com/TartanLlama/expected
|
||||
|
||||
LICENSE= CC0-1.0
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
TEST_DEPENDS= catch2>0:devel/catch2
|
||||
|
||||
USES= cmake:testing localbase
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= TartanLlama
|
||||
|
||||
CMAKE_OFF= EXPECTED_BUILD_TESTS \
|
||||
FETCHCONTENT_FULLY_DISCONNECTED # need connected mode for tests to fetch a specific old version of catch2
|
||||
CMAKE_TESTING_ON= EXPECTED_BUILD_TESTS
|
||||
|
||||
PLIST_FILES= include/tl/expected.hpp \
|
||||
share/cmake/tl-expected/tl-expected-config-version.cmake \
|
||||
share/cmake/tl-expected/tl-expected-config.cmake \
|
||||
share/cmake/tl-expected/tl-expected-targets.cmake
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
# tests as of 1.1.0: 100% tests passed, 0 tests failed out of 1
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/expected/distinfo
Normal file
3
devel/expected/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1744845545
|
||||
SHA256 (TartanLlama-expected-v1.1.0_GH0.tar.gz) = 1db357f46dd2b24447156aaf970c4c40a793ef12a8a9c2ad9e096d9801368df6
|
||||
SIZE (TartanLlama-expected-v1.1.0_GH0.tar.gz) = 23747
|
2
devel/expected/pkg-descr
Normal file
2
devel/expected/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
expected is a single header implementation of std::expected with
|
||||
functional-style extensions.
|
Loading…
Add table
Reference in a new issue