sys-cluster/otf2: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-07-26 01:20:38 +02:00
parent c27e0053fa
commit 57144bcf85
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST otf2-2.3.tar.gz 5321226 BLAKE2B a217ac2bcc0fa777dccc99a0f90a143b3cfea66ff717cfe66f68d2d59407023b1f0e419d9c4275d27f201fa3df0c5a89d4730052039144b02a2136e390e85fbb SHA512 c27c768f178e512c46683667d70bc2ad3871b17b8978356b13917d3fc12b49b4ee5d5767e9e10a247bbc7f2e911aaae7455bfec8f36704236d55c16454fa0a4c

View File

@@ -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>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<use>
<flag name="sionlib">Enable <pkg>sys-cluster/sionlib</pkg> support</flag>
</use>
</pkgmetadata>

View File

@@ -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
}