Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/launchmon/
Date: Tue, 13 Jul 2021 15:36:36
Message-Id: 1626183361.6e5f8eb2e78cc5913d85423f20caf49d519af52e.Alessandro-Barbieri@gentoo
1 commit: 6e5f8eb2e78cc5913d85423f20caf49d519af52e
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 13 13:36:01 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jul 13 13:36:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e5f8eb2
7
8 sys-cluster/launchmon: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sys-cluster/launchmon/Manifest | 1 +
13 .../launchmon/launchmon-1.0.2_p20210430.ebuild | 53 ++++++++++++++++++++++
14 sys-cluster/launchmon/metadata.xml | 19 ++++++++
15 3 files changed, 73 insertions(+)
16
17 diff --git a/sys-cluster/launchmon/Manifest b/sys-cluster/launchmon/Manifest
18 new file mode 100644
19 index 000000000..71d291fb1
20 --- /dev/null
21 +++ b/sys-cluster/launchmon/Manifest
22 @@ -0,0 +1 @@
23 +DIST launchmon-1.0.2_p20210430.tar.gz 303361 BLAKE2B e1aaed16fee557a33492bd7df2fa95fc9c42e76a2b246ae37522ca7ac36b244acb63ca74c67f91b33c542dbe9628cc67f163294b47595ab4aee4156aad22d55c SHA512 11e158d0a49b369355275117673f9810a65b79aa75d481c6103ca5e49a3b674e2d8cb3b04ec0ffa956cb9f08a6148a31ba859c5f0f8eb38a813ae0cdacdde347
24
25 diff --git a/sys-cluster/launchmon/launchmon-1.0.2_p20210430.ebuild b/sys-cluster/launchmon/launchmon-1.0.2_p20210430.ebuild
26 new file mode 100644
27 index 000000000..211de8df8
28 --- /dev/null
29 +++ b/sys-cluster/launchmon/launchmon-1.0.2_p20210430.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 2019-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +COMMIT="98ab769c53563f47c4319ce3c98ac394b4870bac"
37 +MYPV="$(ver_cut 1-3)"
38 +
39 +inherit autotools flag-o-matic
40 +
41 +DESCRIPTION="software infrastructure that enables HPC run-time tools to co-locate tool daemons with a parallel job"
42 +HOMEPAGE="https://github.com/LLNL/LaunchMON"
43 +SRC_URI="https://github.com/LLNL/LaunchMON/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
44 +S="${WORKDIR}/LaunchMON-${COMMIT}"
45 +
46 +LICENSE="LGPL-2.1"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="+munge tracing-cost"
50 +
51 +RDEPEND="
52 + dev-libs/boost:=
53 + dev-libs/libgcrypt
54 + dev-libs/libgpg-error
55 + virtual/libelf
56 +
57 + munge? ( sys-auth/munge )
58 +"
59 +DEPEND="${RDEPEND}"
60 +
61 +src_prepare() {
62 + default
63 + sed -e "s|m4_esyscmd.*|${MYPV})|g" -i configure.ac || die
64 + eautoreconf
65 +}
66 +
67 +src_configure() {
68 + append-cxxflags "-std=c++14"
69 + local sec="none"
70 + use munge && sec="munge"
71 + local myconf=(
72 + --enable-shared
73 + --enable-sec-${sec}
74 + $(use_enable tracing-cost)
75 + )
76 +
77 + econf "${myconf[@]}"
78 +}
79 +
80 +src_install() {
81 + default
82 + mv "${ED}/usr/etc" "${ED}" || die
83 +}
84
85 diff --git a/sys-cluster/launchmon/metadata.xml b/sys-cluster/launchmon/metadata.xml
86 new file mode 100644
87 index 000000000..065d9f33f
88 --- /dev/null
89 +++ b/sys-cluster/launchmon/metadata.xml
90 @@ -0,0 +1,19 @@
91 +<?xml version="1.0" encoding="UTF-8"?>
92 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 +<pkgmetadata>
94 + <maintainer type="person">
95 + <email>lssndrbarbieri@×××××.com</email>
96 + <name>Alessandro Barbieri</name>
97 + </maintainer>
98 + <longdescription lang="en">
99 +LaunchMON is a software infrastructure that enables HPC run-time tools to co-locate tool daemons with a parallel job. Its API allows a tool to identify all the remote processes of a job and to scalably launch daemons into the relevant nodes.
100 + </longdescription>
101 + <use>
102 + <flag name="munge">enable munge for connection authentication</flag>
103 + <flag name="tracing-cost">enable tracing cost measuring codes</flag>
104 + </use>
105 + <upstream>
106 + <bugs-to>https://github.com/LLNL/LaunchMON/issues</bugs-to>
107 + <remote-id type="github">LLNL/LaunchMON</remote-id>
108 + </upstream>
109 +</pkgmetadata>