diff --git a/sys-cluster/otf2/Manifest b/sys-cluster/otf2/Manifest new file mode 100644 index 0000000000..4ff1ad5251 --- /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 0000000000..0c04defaed --- /dev/null +++ b/sys-cluster/otf2/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + Enable sys-cluster/sionlib support + + diff --git a/sys-cluster/otf2/otf2-2.3.ebuild b/sys-cluster/otf2/otf2-2.3.ebuild new file mode 100644 index 0000000000..078fda8688 --- /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 +}