commit:     602f6bb7a7d786c471c0a52218d85692f407c551
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May 26 23:51:09 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri May 27 11:28:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=602f6bb7

sys-cluster/TCL: move TCL use expand to profiles/desc

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 profiles/desc/tcl.desc         |  9 +++++++++
 sys-cluster/TCL/TCL-1.0.ebuild | 18 +++++++++---------
 sys-cluster/TCL/metadata.xml   |  4 ----
 3 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/profiles/desc/tcl.desc b/profiles/desc/tcl.desc
new file mode 100644
index 000000000..acf4047ac
--- /dev/null
+++ b/profiles/desc/tcl.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of TCL USE_EXPAND flags.
+
+debug - Build the debug version
+instrumentation - Build the instrumentation version
+instrumentation-debug - Build the instrumentation-debug version
+performance - Build the performance version

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index 18aac3d50..d5dab80cc 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,10 +13,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_TCL="
-       tcl-debug
-       tcl-instrumentation
-       tcl-instrumentation-debug
-       +tcl-performance
+       tcl_debug
+       tcl_instrumentation
+       tcl_instrumentation-debug
+       +tcl_performance
 "
 IUSE="${IUSE_TCL} fti scr veloc"
 
@@ -46,10 +46,10 @@ src_configure() {
                --includedir="${EPREFIX}/usr/include/TCL"
                --with-mpi="${EPREFIX}/usr"
 
-               $(use_enable tcl-debug debug)
-               $(use_enable tcl-instrumentation instrumentation)
-               $(use_enable tcl-instrumentation-debug instrumentation-debug)
-               $(use_enable tcl-performance performance)
+               $(use_enable tcl_debug debug)
+               $(use_enable tcl_instrumentation instrumentation)
+               $(use_enable tcl_instrumentation-debug instrumentation-debug)
+               $(use_enable tcl_performance performance)
        )
 
        if use fti; then

diff --git a/sys-cluster/TCL/metadata.xml b/sys-cluster/TCL/metadata.xml
index ff9564c6b..57b2447ec 100644
--- a/sys-cluster/TCL/metadata.xml
+++ b/sys-cluster/TCL/metadata.xml
@@ -12,10 +12,6 @@
        <use>
                <flag name="fti">Enable <pkg>sys-cluster/fti</pkg> 
backend</flag>
                <flag name="scr">Enable <pkg>sys-cluster/scr</pkg> 
backend</flag>
-               <flag name="tcl-debug">Build the debug version</flag>
-               <flag name="tcl-instrumentation">Build the instrumentation 
version</flag>
-               <flag name="tcl-instrumentation-debug">Build the 
instrumentation-debug version</flag>
-               <flag name="tcl-performance">Build the performance 
version</flag>
                <flag name="veloc">Enable <pkg>sys-cluster/veloc</pkg> 
backend</flag>
        </use>
 </pkgmetadata>

Reply via email to