summaryrefslogtreecommitdiff
path: root/dev-cpp/expected-lite/expected-lite-0.9.0.ebuild
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2025-09-23 23:36:46 +0200
committerSam James <sam@gentoo.org>2025-10-03 01:30:08 +0100
commitc4c5bba1c50f9369365b5cdddbfa315b41b9e0cb (patch)
treee5bc04498f659055d5f8cdf5a2c92a9656c80fc1 /dev-cpp/expected-lite/expected-lite-0.9.0.ebuild
parent39f5b923dbcdb0f3440a5da36701ac3a7810d1cf (diff)
downloadgentoo-c4c5bba1c50f9369365b5cdddbfa315b41b9e0cb.tar.gz
gentoo-c4c5bba1c50f9369365b5cdddbfa315b41b9e0cb.tar.bz2
gentoo-c4c5bba1c50f9369365b5cdddbfa315b41b9e0cb.zip
dev-cpp/expected-lite: Bump to 0.9.0
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43916 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/expected-lite/expected-lite-0.9.0.ebuild')
-rw-r--r--dev-cpp/expected-lite/expected-lite-0.9.0.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/expected-lite/expected-lite-0.9.0.ebuild b/dev-cpp/expected-lite/expected-lite-0.9.0.ebuild
new file mode 100644
index 000000000000..8b4a7b3add9a
--- /dev/null
+++ b/dev-cpp/expected-lite/expected-lite-0.9.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="Expected objects in C++11 and later in a single-file header-only library"
+HOMEPAGE="https://github.com/martinmoene/expected-lite"
+
+SRC_URI="https://github.com/martinmoene/expected-lite/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DEXPECTED_LITE_OPT_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}