dev-cpp/expected: new package, add 1.1.0

Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
Marc Schiffbauer
2025-03-22 13:44:33 +01:00
parent 2078415300
commit 5805b5d3a8
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST expected-1.1.0.tar.gz 23747 BLAKE2B dd2431ad240d0209aecc52d62dd40bc88fc34691c59386c4fd5f862b52a17f1d659e5feca018e1d57b900e2ee1093a25eb27b39da86d3af8429d4d2542f56ac6 SHA512 ce970c31582869af9d0b3349f386db207dd4881db0bdfd3744331b0a62fe2886dde598a75882fb00254afa3549fb9d4c2bd1ff7682744891d403edfd4ff73492

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2025 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 ~x86"
RESTRICT="test"
src_configure() {
local mycmakeargs=(
-Wno-dev
-DEXPECTED_BUILD_TESTS=OFF
)
cmake_src_configure
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mschiff@gentoo.org</email>
<name>Marc Schiffbauer</name>
</maintainer>
<upstream>
<remote-id type="github">TartanLlama/expected</remote-id>
<bugs-to>https://github.com/TartanLlama//expected/issues</bugs-to>
<changelog>https://github.com/TartanLlama//expected/releases</changelog>
</upstream>
</pkgmetadata>