commit:     ba877f4bb25b2d5dae136f88902843cea81bc0a5
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Wed May 28 16:11:13 2025 +0000
Commit:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Wed May 28 16:11:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba877f4b

dev-cpp/units: add 2.3.4

Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>

 dev-cpp/units/Manifest           |  1 +
 dev-cpp/units/units-2.3.4.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/dev-cpp/units/Manifest b/dev-cpp/units/Manifest
index 10258e3638..36503ed8a4 100644
--- a/dev-cpp/units/Manifest
+++ b/dev-cpp/units/Manifest
@@ -1 +1,2 @@
 DIST units-2.3.3.tar.gz 1612045 BLAKE2B 
f81461e28d2cfe331ada2a0d1c0276d6a6c52825f2ec28caf2160e80aaa343ccc947892fe6be6133c5a80f277ac1767df49b66a10ad3ed573b57e6af16acd385
 SHA512 
40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031
+DIST units-2.3.4.tar.gz 1125818 BLAKE2B 
dd84266bdfba116d7f675600a6dbf3925fd071892ffdfec11392b70b74026dab96628c606d48a5284a8c1661a390245543083eebd9691896008154a8c3fca037
 SHA512 
2280782fe020fb60fe16f304105de73b30fa51c36e075bfa9b4d0c9d585936084802dd8cca6b1967ad10c7ad949afce27937050184151c2a67f2113f14c38c1b

diff --git a/dev-cpp/units/units-2.3.4.ebuild b/dev-cpp/units/units-2.3.4.ebuild
new file mode 100644
index 0000000000..8964bf8a55
--- /dev/null
+++ b/dev-cpp/units/units-2.3.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A compile-time, header-only, dimensional analysis and unit 
conversion library"
+HOMEPAGE="https://github.com/nholthaus/units";
+SRC_URI="https://github.com/nholthaus/units/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.3.3-disable-failing-tests.patch"
+)
+
+src_configure() {
+       local mycmakeargs+=(
+               -DBUILD_TESTS="$(usex test ON OFF)"
+       )
+       cmake_src_configure
+}

Reply via email to