From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5BEE21580B2 for ; Tue, 31 Aug 2021 06:08:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA3E0E0809; Tue, 31 Aug 2021 06:08:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61CF2E0809 for ; Tue, 31 Aug 2021 06:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 696EB335D30 for ; Tue, 31 Aug 2021 06:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D95957B for ; Tue, 31 Aug 2021 06:08:08 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1630390086.d04464d87af3a4672b4fb9184a1dfb2d704f29c4.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/wxparaver/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/wxparaver/Manifest sys-cluster/wxparaver/metadata.xml sys-cluster/wxparaver/wxparaver-4.9.0.ebuild X-VCS-Directories: sys-cluster/wxparaver/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: d04464d87af3a4672b4fb9184a1dfb2d704f29c4 X-VCS-Branch: dev Date: Tue, 31 Aug 2021 06:08:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ad794e7-b4fb-4a35-9ccd-32adc3e0ea66 X-Archives-Hash: 564505dc6a001cdfe9c1996dec812cdd commit: d04464d87af3a4672b4fb9184a1dfb2d704f29c4 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Aug 31 06:06:46 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Tue Aug 31 06:08:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d04464d8 sys-cluster/wxparaver: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/wxparaver/Manifest | 1 + sys-cluster/wxparaver/metadata.xml | 17 +++++ sys-cluster/wxparaver/wxparaver-4.9.0.ebuild | 96 ++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) diff --git a/sys-cluster/wxparaver/Manifest b/sys-cluster/wxparaver/Manifest new file mode 100644 index 000000000..525f910b2 --- /dev/null +++ b/sys-cluster/wxparaver/Manifest @@ -0,0 +1 @@ +DIST wxparaver-4.9.0.tar.gz 1045366 BLAKE2B 297e49160ce23591257002763025359a4269a3691b094b90d8a8f8fa648998cbbca068853a1e22ed878f68e786b5e8145c14c0bb2c95e4e05fecc01fa79e48a2 SHA512 b0b2cf4383549fc48f34cd3c754c6614798512ab712fa7c728ce20c4536768227625ea5b6b641746fc1780dd354a6da7cfecc48e8f19ecc9cdb9eddcb93c501d diff --git a/sys-cluster/wxparaver/metadata.xml b/sys-cluster/wxparaver/metadata.xml new file mode 100644 index 000000000..2b71a9da3 --- /dev/null +++ b/sys-cluster/wxparaver/metadata.xml @@ -0,0 +1,17 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + Enable extrae support + Enable OmpSs parallel version + Enable OpenMP parallel version + + + https://github.com/bsc-performance-tools/wxparaver/issues + bsc-performance-tools/wxparaver + + diff --git a/sys-cluster/wxparaver/wxparaver-4.9.0.ebuild b/sys-cluster/wxparaver/wxparaver-4.9.0.ebuild new file mode 100644 index 000000000..ba10c93a5 --- /dev/null +++ b/sys-cluster/wxparaver/wxparaver-4.9.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_AUTODOC=0 +DOCS_BUILDER="sphinx" +DOCS_DIR="docs/wxparaver_help_contents/sphinx/2.paraver_toolset/source" +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit autotools python-any-r1 docs + +DESCRIPTION="paraver gui" +HOMEPAGE=" + http://tools.bsc.es/paraver + https://github.com/bsc-performance-tools/wxparaver +" +SRC_URI="https://github.com/bsc-performance-tools/wxparaver/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="extrae ompss openmp" + +RDEPEND=" + dev-libs/boost:= + dev-libs/openssl + sys-cluster/paraver-kernel + x11-libs/wxGTK + + extrae? ( sys-cluster/extrae ) +" +DEPEND="${RDEPEND}" +BDEPEND="app-admin/chrpath" + +DOCS=( README NEWS AUTHORS ChangeLog ) + +src_unpack() { + default + gzip -d "${S}/docs/wxparaver_help_contents/install/man/paraver-toolset.1.gz" || die +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-old-pcfparser + --with-boost="${EPREFIX}/usr" + --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" + --with-debug-level=none + --with-openssl="${EPREFIX}/usr" + --with-paraver="${EPREFIX}/usr" + + $(use_enable ompss) + $(use_enable openmp) + ) + + if use extrae; then + myconf+=( "--with-extrae=${EPREFIX}/usr" ) + else + myconf+=( "--without-extrae" ) + fi + + econf "${myconf[@]}" || die +} + +src_compile() { + default + docs_compile +} + +src_install() { + default + # only a part of the docs can be built from source + if use doc; then + # remove a part of the prebuilt docs + rm -r "${S}/docs/wxparaver_help_contents/install/html/2.paraver_toolset" || die + # replace them with the newly built docs + mv "${S}/_build/html" "${S}/docs/wxparaver_help_contents/install/html/2.paraver_toolset" || die + # ideally this is the manpage just built from sphinx but I'm not sure it really is + doman "${S}/docs/wxparaver_help_contents/sphinx/2.paraver_toolset/build/man/paraver-toolset.1" + else + # install the prebuilt manpage + doman "${S}/docs/wxparaver_help_contents/install/man/paraver-toolset.1" + fi + # override eclass variable + unset HTML_DOCS + HTML_DOCS=( docs/wxparaver_help_contents/install/html/. ) + einstalldocs + rm -r "${ED}/usr/share/doc/wxparaver_help_contents" || die + chrpath -d "${ED}/usr/bin/wxparaver.bin" || die + find "${ED}" -name '*.la' -delete || die +}