commit:     6283b36f675e4fdb4a1802c17c8b96213de4d440
Author:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Sun Jun 11 01:05:17 2023 +0000
Commit:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Sun Jun 11 01:05:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6283b36f

dev-cpp/units: new package, add 2.3.3

Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>

 dev-cpp/units/Manifest           |  1 +
 dev-cpp/units/metadata.xml       | 11 +++++++++++
 dev-cpp/units/units-2.3.3.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/dev-cpp/units/Manifest b/dev-cpp/units/Manifest
new file mode 100644
index 000000000..10258e363
--- /dev/null
+++ b/dev-cpp/units/Manifest
@@ -0,0 +1 @@
+DIST units-2.3.3.tar.gz 1612045 BLAKE2B 
f81461e28d2cfe331ada2a0d1c0276d6a6c52825f2ec28caf2160e80aaa343ccc947892fe6be6133c5a80f277ac1767df49b66a10ad3ed573b57e6af16acd385
 SHA512 
40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031

diff --git a/dev-cpp/units/metadata.xml b/dev-cpp/units/metadata.xml
new file mode 100644
index 000000000..2ce46e4b2
--- /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>koce...@tutanota.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-2.3.3.ebuild b/dev-cpp/units/units-2.3.3.ebuild
new file mode 100644
index 000000000..b9d408ae3
--- /dev/null
+++ b/dev-cpp/units/units-2.3.3.ebuild
@@ -0,0 +1,24 @@
+# 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 )"
+
+src_configure() {
+       local mycmakeargs+=(
+               -DBUILD_TESTS="$(usex test ON OFF)"
+       )
+       cmake_src_configure
+}

Reply via email to