commit: 57144bcf8538ee98ed6d36caad7dbd96919ea7ad Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Jul 25 23:20:38 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sun Jul 25 23:20:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57144bcf
sys-cluster/otf2: initial import Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> sys-cluster/otf2/Manifest | 1 + sys-cluster/otf2/metadata.xml | 11 +++++++++ sys-cluster/otf2/otf2-2.3.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/sys-cluster/otf2/Manifest b/sys-cluster/otf2/Manifest new file mode 100644 index 000000000..4ff1ad525 --- /dev/null +++ b/sys-cluster/otf2/Manifest @@ -0,0 +1 @@ +DIST otf2-2.3.tar.gz 5321226 BLAKE2B a217ac2bcc0fa777dccc99a0f90a143b3cfea66ff717cfe66f68d2d59407023b1f0e419d9c4275d27f201fa3df0c5a89d4730052039144b02a2136e390e85fbb SHA512 c27c768f178e512c46683667d70bc2ad3871b17b8978356b13917d3fc12b49b4ee5d5767e9e10a247bbc7f2e911aaae7455bfec8f36704236d55c16454fa0a4c diff --git a/sys-cluster/otf2/metadata.xml b/sys-cluster/otf2/metadata.xml new file mode 100644 index 000000000..0c04defae --- /dev/null +++ b/sys-cluster/otf2/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <use> + <flag name="sionlib">Enable <pkg>sys-cluster/sionlib</pkg> support</flag> + </use> +</pkgmetadata> diff --git a/sys-cluster/otf2/otf2-2.3.ebuild b/sys-cluster/otf2/otf2-2.3.ebuild new file mode 100644 index 000000000..078fda868 --- /dev/null +++ b/sys-cluster/otf2/otf2-2.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit python-single-r1 + +DESCRIPTION="highly scalable, memory efficient event trace data format" +HOMEPAGE="https://www.vi-hps.org/projects/score-p" +SRC_URI="http://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug sionlib test" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') + + sionlib? ( sys-cluster/sionlib[tools] ) +" +DEPEND="${RDEPEND}" + +#RESTRICT="!test? ( test )" +RESTRICT="test" #tests are failing +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_configure() { + local myconf=( + --disable-platform-mic + --disable-static + --enable-shared + + $(use_enable test backend-test-runs) + $(use_enable debug) + $(use_with sionlib) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}
