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/wxparaver/
Date: Tue, 31 Aug 2021 07:45:45
Message-Id: 1630395898.3d11be9747d62445cf9c0c81dedf6fcd0a0f4b90.Alessandro-Barbieri@gentoo
1 commit: 3d11be9747d62445cf9c0c81dedf6fcd0a0f4b90
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 31 07:44:58 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Aug 31 07:44:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d11be97
7
8 sys-cluster/wxparaver: do not double install some doc, wxwidgets eclass
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 .../{wxparaver-4.9.0.ebuild => wxparaver-4.9.0-r1.ebuild} | 13 ++++++++-----
13 1 file changed, 8 insertions(+), 5 deletions(-)
14
15 diff --git a/sys-cluster/wxparaver/wxparaver-4.9.0.ebuild b/sys-cluster/wxparaver/wxparaver-4.9.0-r1.ebuild
16 similarity index 94%
17 rename from sys-cluster/wxparaver/wxparaver-4.9.0.ebuild
18 rename to sys-cluster/wxparaver/wxparaver-4.9.0-r1.ebuild
19 index ba10c93a5..26191463a 100644
20 --- a/sys-cluster/wxparaver/wxparaver-4.9.0.ebuild
21 +++ b/sys-cluster/wxparaver/wxparaver-4.9.0-r1.ebuild
22 @@ -7,8 +7,9 @@ DOCS_AUTODOC=0
23 DOCS_BUILDER="sphinx"
24 DOCS_DIR="docs/wxparaver_help_contents/sphinx/2.paraver_toolset/source"
25 PYTHON_COMPAT=( python3_{8..10} pypy3 )
26 +WX_GTK_VER="3.0-gtk3"
27
28 -inherit autotools python-any-r1 docs
29 +inherit autotools python-any-r1 docs wxwidgets
30
31 DESCRIPTION="paraver gui"
32 HOMEPAGE="
33 @@ -26,7 +27,6 @@ RDEPEND="
34 dev-libs/boost:=
35 dev-libs/openssl
36 sys-cluster/paraver-kernel
37 - x11-libs/wxGTK
38
39 extrae? ( sys-cluster/extrae )
40 "
41 @@ -46,6 +46,8 @@ src_prepare() {
42 }
43
44 src_configure() {
45 + setup-wxwidgets
46 +
47 local myconf=(
48 --disable-old-pcfparser
49 --with-boost="${EPREFIX}/usr"
50 @@ -73,7 +75,6 @@ src_compile() {
51 }
52
53 src_install() {
54 - default
55 # only a part of the docs can be built from source
56 if use doc; then
57 # remove a part of the prebuilt docs
58 @@ -89,8 +90,10 @@ src_install() {
59 # override eclass variable
60 unset HTML_DOCS
61 HTML_DOCS=( docs/wxparaver_help_contents/install/html/. )
62 - einstalldocs
63 +
64 + default
65 +
66 rm -r "${ED}/usr/share/doc/wxparaver_help_contents" || die
67 chrpath -d "${ED}/usr/bin/wxparaver.bin" || die
68 - find "${ED}" -name '*.la' -delete || die
69 +# find "${ED}" -name '*.la' -delete || die
70 }