dev-cpp/expected: add 1.3.1

Closes: https://bugs.gentoo.org/970941
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
Marc Schiffbauer
2026-03-06 19:52:13 +01:00
parent 6f938ff5b7
commit 77976c90c4
2 changed files with 26 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST expected-1.1.0.tar.gz 23747 BLAKE2B dd2431ad240d0209aecc52d62dd40bc88fc34691c59386c4fd5f862b52a17f1d659e5feca018e1d57b900e2ee1093a25eb27b39da86d3af8429d4d2542f56ac6 SHA512 ce970c31582869af9d0b3349f386db207dd4881db0bdfd3744331b0a62fe2886dde598a75882fb00254afa3549fb9d4c2bd1ff7682744891d403edfd4ff73492
DIST expected-1.3.1.tar.gz 24480 BLAKE2B 2c45c199a4f447b24b37b833d3af18c7b753849a0fa4599861bc1cbd3c87bcc9b534e3958de4b7f144e5c30544fcfcf738fa01d6df37edbe211ea8fe2084c8bd SHA512 764e11097fe6ff18499e0941288fbd1cac91fe68009e077ef803742d48dd38efa8cc57cd6207e7d384f577a11bcb9bff43d3d853ade20340af36fccaaa5d47ed

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Single header implementation of std::expected with functional-style extensions"
HOMEPAGE="https://github.com/TartanLlama/expected"
SRC_URI="https://github.com/TartanLlama/expected/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~loong ~x86"
RESTRICT="test"
src_configure() {
local mycmakeargs=(
-Wno-dev
-DEXPECTED_BUILD_TESTS=OFF
)
cmake_src_configure
}