summaryrefslogtreecommitdiff
path: root/dev-cpp/units
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-cpp/units
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-cpp/units')
-rw-r--r--dev-cpp/units/Manifest1
-rw-r--r--dev-cpp/units/metadata.xml11
-rw-r--r--dev-cpp/units/units-3.3.0.ebuild27
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-cpp/units/Manifest b/dev-cpp/units/Manifest
new file mode 100644
index 000000000000..7c3f1c5f581b
--- /dev/null
+++ b/dev-cpp/units/Manifest
@@ -0,0 +1 @@
+DIST units-3.3.0.tar.gz 1198638 BLAKE2B db2f821fc831835d00ca3a1284ec54050bc8c3017913f5bb835898bffd3a3f529380f89b9e29e091bb781e091a1f41dc3bbc9f4b2e57f257fafa196b81ab8195 SHA512 9cedc52e0405140b9a8014195f59f4deb2edd155fe78df76005eb721974c2a640975d9b959777be48f41c24f6a0a7047536649958da847e2aa8b0c3b9a6d139a
diff --git a/dev-cpp/units/metadata.xml b/dev-cpp/units/metadata.xml
new file mode 100644
index 000000000000..46d087b560aa
--- /dev/null
+++ b/dev-cpp/units/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kostadinshishmanov@protonmail.com</email>
+ <name>Kostadin Shishmanov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nholthaus/units</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/units/units-3.3.0.ebuild b/dev-cpp/units/units-3.3.0.ebuild
new file mode 100644
index 000000000000..1fc603ae2ab8
--- /dev/null
+++ b/dev-cpp/units/units-3.3.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2026 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 )"
+
+DEPEND="test? ( >=dev-cpp/gtest-1.17.0 )"
+
+src_configure() {
+ local mycmakeargs+=(
+ -DBUILD_TESTING="$(usex test ON OFF)"
+ -DUNITS_BUILD_TESTS="$(usex test ON OFF)"
+ )
+ cmake_src_configure
+}