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/TCL/, profiles/desc/
Date: Fri, 27 May 2022 11:28:18
Message-Id: 1653650887.602f6bb7a7d786c471c0a52218d85692f407c551.Alessandro-Barbieri@gentoo
1 commit: 602f6bb7a7d786c471c0a52218d85692f407c551
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu May 26 23:51:09 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri May 27 11:28:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=602f6bb7
7
8 sys-cluster/TCL: move TCL use expand to profiles/desc
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 profiles/desc/tcl.desc | 9 +++++++++
13 sys-cluster/TCL/TCL-1.0.ebuild | 18 +++++++++---------
14 sys-cluster/TCL/metadata.xml | 4 ----
15 3 files changed, 18 insertions(+), 13 deletions(-)
16
17 diff --git a/profiles/desc/tcl.desc b/profiles/desc/tcl.desc
18 new file mode 100644
19 index 000000000..acf4047ac
20 --- /dev/null
21 +++ b/profiles/desc/tcl.desc
22 @@ -0,0 +1,9 @@
23 +# Copyright 2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +# This file contains descriptions of TCL USE_EXPAND flags.
27 +
28 +debug - Build the debug version
29 +instrumentation - Build the instrumentation version
30 +instrumentation-debug - Build the instrumentation-debug version
31 +performance - Build the performance version
32
33 diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
34 index 18aac3d50..d5dab80cc 100644
35 --- a/sys-cluster/TCL/TCL-1.0.ebuild
36 +++ b/sys-cluster/TCL/TCL-1.0.ebuild
37 @@ -1,4 +1,4 @@
38 -# Copyright 2019-2021 Gentoo Authors
39 +# Copyright 2019-2022 Gentoo Authors
40 # Distributed under the terms of the GNU General Public License v2
41
42 EAPI=8
43 @@ -13,10 +13,10 @@ LICENSE="GPL-2"
44 SLOT="0"
45 KEYWORDS="~amd64"
46 IUSE_TCL="
47 - tcl-debug
48 - tcl-instrumentation
49 - tcl-instrumentation-debug
50 - +tcl-performance
51 + tcl_debug
52 + tcl_instrumentation
53 + tcl_instrumentation-debug
54 + +tcl_performance
55 "
56 IUSE="${IUSE_TCL} fti scr veloc"
57
58 @@ -46,10 +46,10 @@ src_configure() {
59 --includedir="${EPREFIX}/usr/include/TCL"
60 --with-mpi="${EPREFIX}/usr"
61
62 - $(use_enable tcl-debug debug)
63 - $(use_enable tcl-instrumentation instrumentation)
64 - $(use_enable tcl-instrumentation-debug instrumentation-debug)
65 - $(use_enable tcl-performance performance)
66 + $(use_enable tcl_debug debug)
67 + $(use_enable tcl_instrumentation instrumentation)
68 + $(use_enable tcl_instrumentation-debug instrumentation-debug)
69 + $(use_enable tcl_performance performance)
70 )
71
72 if use fti; then
73
74 diff --git a/sys-cluster/TCL/metadata.xml b/sys-cluster/TCL/metadata.xml
75 index ff9564c6b..57b2447ec 100644
76 --- a/sys-cluster/TCL/metadata.xml
77 +++ b/sys-cluster/TCL/metadata.xml
78 @@ -12,10 +12,6 @@
79 <use>
80 <flag name="fti">Enable <pkg>sys-cluster/fti</pkg> backend</flag>
81 <flag name="scr">Enable <pkg>sys-cluster/scr</pkg> backend</flag>
82 - <flag name="tcl-debug">Build the debug version</flag>
83 - <flag name="tcl-instrumentation">Build the instrumentation version</flag>
84 - <flag name="tcl-instrumentation-debug">Build the instrumentation-debug version</flag>
85 - <flag name="tcl-performance">Build the performance version</flag>
86 <flag name="veloc">Enable <pkg>sys-cluster/veloc</pkg> backend</flag>
87 </use>
88 </pkgmetadata>