public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-02 23:01 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-02 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     5b22685646baa6311db6d7224971cff514e14dd6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Aug  2 23:01:24 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Aug  2 23:01:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b226856

sys-cluster/TCL: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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 000000000..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 000000000..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 000000000..c3967643f
--- /dev/null
+++ b/sys-cluster/TCL/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/bsc-pm/TCL/issues</bugs-to>
+		<remote-id type="github">bsc-pm/TCL</remote-id>
+	</upstream>
+	<use>
+		<flag name="fti">Enable <pkg>sys-cluster/fti</pkg> backend</flag>
+		<flag name="instrumentation">Build the instrumentation version</flag>
+		<flag name="scr">Enable <pkg>sys-cluster/scr</pkg> backend</flag>
+		<flag name="veloc">Enable <pkg>sys-cluster/veloc</pkg> backend</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-02 23:11 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-02 23:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f9b240bfbc66361e040ee00f8621cd80b63bce7c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Aug  2 23:10:48 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Aug  2 23:10:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9b240bf

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

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-02 23:47 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-02 23:47 UTC (permalink / raw
  To: gentoo-commits

commit:     a186aee987ea2b54a3526118524299b9b8c14f33
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Aug  2 23:11:54 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Aug  2 23:11:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a186aee9

sys-cluster/TCL: remove S

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-20  1:32 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-20  1:32 UTC (permalink / raw
  To: gentoo-commits

commit:     05b3cc50b7150da969370254095b9d1539dd094c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Aug 20 00:19:46 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Aug 20 00:19:46 2021 +0000
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 <lssndrbarbieri <AT> 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 @@
 	</upstream>
 	<use>
 		<flag name="fti">Enable <pkg>sys-cluster/fti</pkg> backend</flag>
-		<flag name="instrumentation">Build the instrumentation version</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="veloc">Enable <pkg>sys-cluster/veloc</pkg> backend</flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-21  0:48 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-21  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     2575fc5f58f5427f6bf03c01e98f950e47f78cb8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Aug 20 23:56:11 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Aug 20 23:56:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2575fc5f

sys-cluster/TCL: add performance version

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

 sys-cluster/TCL/TCL-1.0.ebuild | 4 +++-
 sys-cluster/TCL/metadata.xml   | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index de2080aff..ca53febd9 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -16,6 +16,7 @@ IUSE_TCL="
 	tcl-debug
 	tcl-instrumentation
 	tcl-instrumentation-debug
+	+tcl-performance
 "
 USE_EXPAND="TCL"
 IUSE="${IUSE_TCL} fti scr veloc"
@@ -31,7 +32,7 @@ DEPEND="${RDEPEND}"
 
 REQUIRED_USE="
 	|| ( fti scr veloc )
-	?? ( ${IUSE_TCL//+/} )
+	|| ( ${IUSE_TCL//+/} )
 "
 
 src_prepare() {
@@ -49,6 +50,7 @@ src_configure() {
 		$(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 14a2d4da2..ff9564c6b 100644
--- a/sys-cluster/TCL/metadata.xml
+++ b/sys-cluster/TCL/metadata.xml
@@ -15,6 +15,7 @@
 		<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>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-21  0:48 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-21  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     bffae5f9eb90d960eb0d83287b08829012104f0a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Aug 20 23:33:43 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Aug 20 23:33:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bffae5f9

sys-cluster/TCL: fix use constraints (again)

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

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

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index b4eb7020d..de2080aff 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -31,7 +31,7 @@ DEPEND="${RDEPEND}"
 
 REQUIRED_USE="
 	|| ( fti scr veloc )
-	|| ( ${IUSE_TCL//+/} )
+	?? ( ${IUSE_TCL//+/} )
 "
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/
@ 2021-08-22  2:00 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-22  2:00 UTC (permalink / raw
  To: gentoo-commits

commit:     eedb256a6e7ac99473f107a61f1be269f7b19e10
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Aug 22 01:17:17 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Aug 22 01:17:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eedb256a

sys-cluster/TCL: fix IUSE_EXPAND

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

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

diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild
index ca53febd9..9da088e2a 100644
--- a/sys-cluster/TCL/TCL-1.0.ebuild
+++ b/sys-cluster/TCL/TCL-1.0.ebuild
@@ -18,7 +18,7 @@ IUSE_TCL="
 	tcl-instrumentation-debug
 	+tcl-performance
 "
-USE_EXPAND="TCL"
+IUSE_EXPAND="TCL"
 IUSE="${IUSE_TCL} fti scr veloc"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-22  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-20  1:32 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2021-08-22  2:00 Alessandro Barbieri
2021-08-21  0:48 Alessandro Barbieri
2021-08-21  0:48 Alessandro Barbieri
2021-08-02 23:47 Alessandro Barbieri
2021-08-02 23:11 Alessandro Barbieri
2021-08-02 23:01 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox