commit:     5805b5d3a89fa1b980351ee135b666ca66464f06
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 22 12:44:33 2025 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 12:47:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5805b5d3

dev-cpp/expected: new package, add 1.1.0

Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 dev-cpp/expected/Manifest              |  1 +
 dev-cpp/expected/expected-1.1.0.ebuild | 25 +++++++++++++++++++++++++
 dev-cpp/expected/metadata.xml          | 13 +++++++++++++
 3 files changed, 39 insertions(+)

diff --git a/dev-cpp/expected/Manifest b/dev-cpp/expected/Manifest
new file mode 100644
index 000000000000..c82b091da8eb
--- /dev/null
+++ b/dev-cpp/expected/Manifest
@@ -0,0 +1 @@
+DIST expected-1.1.0.tar.gz 23747 BLAKE2B 
dd2431ad240d0209aecc52d62dd40bc88fc34691c59386c4fd5f862b52a17f1d659e5feca018e1d57b900e2ee1093a25eb27b39da86d3af8429d4d2542f56ac6
 SHA512 
ce970c31582869af9d0b3349f386db207dd4881db0bdfd3744331b0a62fe2886dde598a75882fb00254afa3549fb9d4c2bd1ff7682744891d403edfd4ff73492

diff --git a/dev-cpp/expected/expected-1.1.0.ebuild 
b/dev-cpp/expected/expected-1.1.0.ebuild
new file mode 100644
index 000000000000..b469c00638e5
--- /dev/null
+++ b/dev-cpp/expected/expected-1.1.0.ebuild
@@ -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
+}

diff --git a/dev-cpp/expected/metadata.xml b/dev-cpp/expected/metadata.xml
new file mode 100644
index 000000000000..082d3676bdbf
--- /dev/null
+++ b/dev-cpp/expected/metadata.xml
@@ -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>[email protected]</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>

Reply via email to