commit:     c2a771afa68d9a1d89e73846fa598918c62a6a77
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Aug  1 23:29:27 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Aug  1 23:29:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2a771af

sys-cluster/libyogrt: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/libyogrt/Manifest             |  1 +
 sys-cluster/libyogrt/libyogrt-1.24.ebuild | 36 +++++++++++++++++++++++++++++++
 sys-cluster/libyogrt/metadata.xml         | 24 +++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/sys-cluster/libyogrt/Manifest b/sys-cluster/libyogrt/Manifest
new file mode 100644
index 000000000..125fe5bc6
--- /dev/null
+++ b/sys-cluster/libyogrt/Manifest
@@ -0,0 +1 @@
+DIST libyogrt-1.24.tar.gz 37803 BLAKE2B 
b79310d7a0b7f32d3bab5582640006386ea5fa15ee169b7104c4c194948a4c2282d7a4fb748e3dd98a17096d289f63f97204201533620aa5d5c0181ae40f76c6
 SHA512 
e761a5ff397b55da0769c7a42a03a170efe9d52102166aa6ccdb9a8949bd844f201a4a4a1e1010320a82132d0b19b468c1ee74e42af603f341232d6a5147d745

diff --git a/sys-cluster/libyogrt/libyogrt-1.24.ebuild 
b/sys-cluster/libyogrt/libyogrt-1.24.ebuild
new file mode 100644
index 000000000..a2e48b40d
--- /dev/null
+++ b/sys-cluster/libyogrt/libyogrt-1.24.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Your One Get Remaining Time library"
+HOMEPAGE="https://github.com/LLNL/libyogrt";
+SRC_URI="https://github.com/LLNL/libyogrt/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="slurm" #lsf moab lcrm
+
+RDEPEND="slurm? ( sys-cluster/slurm )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+       AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+       local myconf
+
+       use slurm && myconf+=( "--with-slurm=${EPREFIX}/usr" )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sys-cluster/libyogrt/metadata.xml 
b/sys-cluster/libyogrt/metadata.xml
new file mode 100644
index 000000000..8b2ca13ec
--- /dev/null
+++ b/sys-cluster/libyogrt/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <longdescription lang="en">
+This library provides functions to query a resource manager for the time 
remaining in a job.
+It supports:
+LCRM
+LSF
+MOAB
+SLURM
+AIX w/ SLURM
+       </longdescription>
+       <use>
+               <flag name="slurm">Add support for the slurm resource 
manager</flag>
+       </use>
+       <upstream>
+               <bugs-to>https://github.com/LLNL/libyogrt/issues</bugs-to>
+               <remote-id type="github">LLNL/libyogrt</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to