[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/TCL/, profiles/desc/

2022-05-28 Thread Andrew Ammerlaan
commit: 602f6bb7a7d786c471c0a52218d85692f407c551
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 23:51:09 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri May 27 11:28:07 2022 +
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  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 0..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 @@

Enable sys-cluster/fti 
backend
Enable sys-cluster/scr 
backend
-   Build the debug version
-   Build the instrumentation 
version
-   Build the 
instrumentation-debug version
-   Build the performance 
version
Enable sys-cluster/veloc 
backend

 



[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/TCL/

2021-08-20 Thread Florian Schmaus
commit: 05b3cc50b7150da969370254095b9d1539dd094c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Aug 20 00:19:46 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Aug 20 00:19:46 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05b3cc50

sys-cluster/TCL: move some use to use expand

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/TCL/TCL-1.0.ebuild | 24 +++-
 sys-cluster/TCL/metadata.xml   |  4 +++-
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index a09aeaf0e..b4eb7020d 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -12,7 +12,13 @@ 
SRC_URI="https://github.com/bsc-pm/TCL/archive/refs/tags/v${PV}.tar.gz -> ${P}.t
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="debug fti instrumentation scr veloc"
+IUSE_TCL="
+   tcl-debug
+   tcl-instrumentation
+   tcl-instrumentation-debug
+"
+USE_EXPAND="TCL"
+IUSE="${IUSE_TCL} fti scr veloc"
 
 RDEPEND="
virtual/mpi
@@ -22,7 +28,11 @@ RDEPEND="
veloc? ( sys-cluster/veloc )
 "
 DEPEND="${RDEPEND}"
-REQUIRED_USE="|| ( fti scr veloc )"
+
+REQUIRED_USE="
+   || ( fti scr veloc )
+   || ( ${IUSE_TCL//+/} )
+"
 
 src_prepare() {
default
@@ -36,15 +46,11 @@ src_configure() {
--includedir="${EPREFIX}/usr/include/TCL"
--with-mpi="${EPREFIX}/usr"
 
-   $(use_enable debug)
-   $(use_enable instrumentation)
+   $(use_enable tcl-debug debug)
+   $(use_enable tcl-instrumentation instrumentation)
+   $(use_enable tcl-instrumentation-debug instrumentation-debug)
)
 
-   if use debug && use instrumentation; then
-   myconf+=( "--enable-instrumentation-debug" )
-   else
-   myconf+=( "--disable-instrumentation-debug" )
-   fi
if use fti; then
myconf+=( "--with-fti=${EPREFIX}/usr" )
else

diff --git a/sys-cluster/TCL/metadata.xml b/sys-cluster/TCL/metadata.xml
index c3967643f..14a2d4da2 100644
--- a/sys-cluster/TCL/metadata.xml
+++ b/sys-cluster/TCL/metadata.xml
@@ -11,8 +11,10 @@


Enable sys-cluster/fti 
backend
-   Build the instrumentation 
version
Enable sys-cluster/scr 
backend
+   Build the debug version
+   Build the instrumentation 
version
+   Build the 
instrumentation-debug version
Enable sys-cluster/veloc 
backend

 



[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/TCL/

2021-08-03 Thread Andrew Ammerlaan
commit: a186aee987ea2b54a3526118524299b9b8c14f33
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Aug  2 23:11:54 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Aug  2 23:11:54 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a186aee9

sys-cluster/TCL: remove S

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/TCL/TCL-1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index cfeac3c94..a09aeaf0e 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -8,7 +8,6 @@ inherit autotools
 DESCRIPTION="Transparent Checkpointing Library"
 HOMEPAGE="https://github.com/bsc-pm/TCL;
 SRC_URI="https://github.com/bsc-pm/TCL/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-#S="${WORKDIR}/${PN}-version-${PV}"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/TCL/

2021-08-03 Thread Andrew Ammerlaan
commit: f9b240bfbc66361e040ee00f8621cd80b63bce7c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Aug  2 23:10:48 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Aug  2 23:10:48 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9b240bf

sys-cluster/TCL: update EAPI 7 -> 8

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/TCL/TCL-1.0.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index 01ad7ac5c..cfeac3c94 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2019-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
@@ -41,14 +41,16 @@ src_configure() {
$(use_enable instrumentation)
)
 
+   if use debug && use instrumentation; then
+   myconf+=( "--enable-instrumentation-debug" )
+   else
+   myconf+=( "--disable-instrumentation-debug" )
+   fi
if use fti; then
myconf+=( "--with-fti=${EPREFIX}/usr" )
else
myconf+=( "--without-fti" )
fi
-   if use instrumentation; then
-   myconf+=( $(use_enable instrumentation-debug debug) )
-   fi
if use scr; then
myconf+=( "--with-scr=${EPREFIX}/usr" )
else
@@ -66,5 +68,5 @@ src_configure() {
 src_install() {
default
dodoc NEWS AUTHORS INSTALL
-find "${ED}" -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/TCL/

2021-08-03 Thread Andrew Ammerlaan
commit: 5b22685646baa6311db6d7224971cff514e14dd6
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Aug  2 23:01:24 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Aug  2 23:01:24 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b226856

sys-cluster/TCL: initial import

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/TCL/Manifest   |  1 +
 sys-cluster/TCL/TCL-1.0.ebuild | 70 ++
 sys-cluster/TCL/metadata.xml   | 18 +++
 3 files changed, 89 insertions(+)

diff --git a/sys-cluster/TCL/Manifest b/sys-cluster/TCL/Manifest
new file mode 100644
index 0..6fb55fba5
--- /dev/null
+++ b/sys-cluster/TCL/Manifest
@@ -0,0 +1 @@
+DIST TCL-1.0.tar.gz 26572 BLAKE2B 
d36d7f1f406b141358e803b00c0f8abb6eede322e69cae9d99f3e5e8edeba40035cb88549d72e0d6f53048fb29c5ed8dc942286660f50da9e7f6f13a3a266902
 SHA512 
abc3eea6926501431295af3e88a870ef0da29301a34b71a4c00fcc22fe4e132a6377aeae45281254f9f5e3a99124f595e2e371ee7fc058c4830e58d4077a9793

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
new file mode 100644
index 0..01ad7ac5c
--- /dev/null
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Transparent Checkpointing Library"
+HOMEPAGE="https://github.com/bsc-pm/TCL;
+SRC_URI="https://github.com/bsc-pm/TCL/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+#S="${WORKDIR}/${PN}-version-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug fti instrumentation scr veloc"
+
+RDEPEND="
+   virtual/mpi
+
+   fti? ( sys-cluster/fti )
+   scr? ( sys-cluster/scr )
+   veloc? ( sys-cluster/veloc )
+"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="|| ( fti scr veloc )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --disable-static
+   --enable-shared
+   --includedir="${EPREFIX}/usr/include/TCL"
+   --with-mpi="${EPREFIX}/usr"
+
+   $(use_enable debug)
+   $(use_enable instrumentation)
+   )
+
+   if use fti; then
+   myconf+=( "--with-fti=${EPREFIX}/usr" )
+   else
+   myconf+=( "--without-fti" )
+   fi
+   if use instrumentation; then
+   myconf+=( $(use_enable instrumentation-debug debug) )
+   fi
+   if use scr; then
+   myconf+=( "--with-scr=${EPREFIX}/usr" )
+   else
+   myconf+=( "--without-scr" )
+   fi
+   if use veloc; then
+   myconf+=( "--with-veloc=${EPREFIX}/usr" )
+   else
+   myconf+=( "--without-veloc" )
+   fi
+
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+   dodoc NEWS AUTHORS INSTALL
+find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sys-cluster/TCL/metadata.xml b/sys-cluster/TCL/metadata.xml
new file mode 100644
index 0..c3967643f
--- /dev/null
+++ b/sys-cluster/TCL/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   lssndrbarbi...@gmail.com
+   Alessandro Barbieri
+   
+   
+   https://github.com/bsc-pm/TCL/issues
+   bsc-pm/TCL
+   
+   
+   Enable sys-cluster/fti 
backend
+   Build the instrumentation 
version
+   Enable sys-cluster/scr 
backend
+   Enable sys-cluster/veloc 
backend
+   
+