[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2024-02-29 Thread Joonas Niilola
commit: 888388225a24e021a960694457ea0302dc417a90
Author: Esteve Varela Colominas  gmail  com>
AuthorDate: Wed Feb 28 16:17:14 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 29 12:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88838822

dev-lang/jimtcl: Bump to 0.82

Signed-off-by: Esteve Varela Colominas  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34890
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/jimtcl/Manifest   |  1 +
 dev-lang/jimtcl/jimtcl-0.82.ebuild | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest
index a0a2b4b209a5..e88f0efc2798 100644
--- a/dev-lang/jimtcl/Manifest
+++ b/dev-lang/jimtcl/Manifest
@@ -1,2 +1,3 @@
 DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B 
f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb
 SHA512 
2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6
 DIST jimtcl-0.81.tar.gz 3977705 BLAKE2B 
d58a8f9d3a632e98a9737b57f9228e35f198eae47ff51b4a0401491f394980b95606e0986d0b79c84f9a8e77d562407882668c0d108275935fa65b21ce68b329
 SHA512 
5f798b15fd32673e2e2769e25c4dfeee43696e5bbd2d3ec3fd2f312fa49da9ef057fb4de81a10d3812dc07fb2e40ed79924b024e537e064d3213b10e06a416b6
+DIST jimtcl-0.82.tar.gz 4435258 BLAKE2B 
4db820177db1660961f5af2311d02e1d3c32f92bba63b95cdc2933adf4b20cc1133319e411b9a4f23bd2f39ce7c8b5f064641df16ab82948b0266c0670c8744b
 SHA512 
d0f8c8d515b9c7eee3ee2089a8fe9b8616b0541b7fca6b769132201c3a65a8216f9e8a333c6a3a4c2a8fa4754ab0c9d3c2bca3306b3b4db566d4f3e401a709fe

diff --git a/dev-lang/jimtcl/jimtcl-0.82.ebuild 
b/dev-lang/jimtcl/jimtcl-0.82.ebuild
new file mode 100644
index ..b639eeba52a5
--- /dev/null
+++ b/dev-lang/jimtcl/jimtcl-0.82.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs edo
+
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
+
+DESCRIPTION="Small footprint implementation of Tcl programming language"
+HOMEPAGE="http://jim.tcl.tk/;
+
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+IUSE="doc static-libs"
+
+DEPEND="
+   dev-lang/tcl:0
+"
+
+src_prepare() {
+   # Avoid tests that need networking
+   rm tests/ssl.test || die
+   default
+}
+
+src_configure() {
+   # Use the provided bootstrap tclsh, avoiding the script picking a 
different one
+   edo $(tc-getCC) -o jimsh0 autosetup/jimsh0.c
+
+   export CCACHE=none
+   econf --disable-docs --shared
+   if use static-libs; then
+   # The build does not support doing both simultaneously.
+   mkdir static-libs || die
+   cd static-libs || die
+   ECONF_SOURCE="${S}" econf --disable-docs
+   fi
+}
+
+src_compile() {
+   # Must build static-libs first.
+   use static-libs && emake -C static-libs V=1 libjim.a
+   emake V=1 all
+}
+
+src_install() {
+   default
+   use static-libs && dolib.a static-libs/libjim.a
+   use doc && dodoc Tcl_shipped.html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2022-12-18 Thread Sam James
commit: a5733bfc8224e39f71ca2e4bbdc5fffda2bd09bb
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 19 00:58:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 19 00:58:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5733bfc

dev-lang/jimtcl: Stabilize 0.81 amd64, #886691

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.81.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.81.ebuild 
b/dev-lang/jimtcl/jimtcl-0.81.ebuild
index 16ef188a467c..a9c394ba3643 100644
--- a/dev-lang/jimtcl/jimtcl-0.81.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.81.ebuild
@@ -4,7 +4,7 @@
 EAPI="8"
 
 SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 arm ~arm64 ~m68k ~mips ~s390 x86"
+KEYWORDS="amd64 arm ~arm64 ~m68k ~mips ~s390 x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2022-12-18 Thread Sam James
commit: b01c2b9c3b99f732f6d6e42511b820a78e25bf47
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 11:32:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 11:32:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01c2b9c

dev-lang/jimtcl: Stabilize 0.81 arm, #886691

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.81.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.81.ebuild 
b/dev-lang/jimtcl/jimtcl-0.81.ebuild
index 3554df35054f..c93b65004d63 100644
--- a/dev-lang/jimtcl/jimtcl-0.81.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.81.ebuild
@@ -4,7 +4,7 @@
 EAPI="8"
 
 SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~m68k ~mips ~s390 ~x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2022-04-23 Thread Sven Wegener
commit: f19d787cacf763db0281830885962a9dfe560d8a
Author: Sven Wegener  gentoo  org>
AuthorDate: Sat Apr 23 19:19:28 2022 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Sat Apr 23 19:35:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19d787c

dev-lang/jimtcl: Version bump to 0.81

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sven Wegener  gentoo.org>

 dev-lang/jimtcl/Manifest   |  1 +
 dev-lang/jimtcl/jimtcl-0.81.ebuild | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest
index d26471fa7ada..a0a2b4b209a5 100644
--- a/dev-lang/jimtcl/Manifest
+++ b/dev-lang/jimtcl/Manifest
@@ -1 +1,2 @@
 DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B 
f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb
 SHA512 
2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6
+DIST jimtcl-0.81.tar.gz 3977705 BLAKE2B 
d58a8f9d3a632e98a9737b57f9228e35f198eae47ff51b4a0401491f394980b95606e0986d0b79c84f9a8e77d562407882668c0d108275935fa65b21ce68b329
 SHA512 
5f798b15fd32673e2e2769e25c4dfeee43696e5bbd2d3ec3fd2f312fa49da9ef057fb4de81a10d3812dc07fb2e40ed79924b024e537e064d3213b10e06a416b6

diff --git a/dev-lang/jimtcl/jimtcl-0.81.ebuild 
b/dev-lang/jimtcl/jimtcl-0.81.ebuild
new file mode 100644
index ..3554df35054f
--- /dev/null
+++ b/dev-lang/jimtcl/jimtcl-0.81.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
+
+DESCRIPTION="Small footprint implementation of Tcl programming language"
+HOMEPAGE="http://jim.tcl.tk/;
+
+LICENSE="LGPL-2"
+SLOT="0/${PV}"
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="
+   dev-lang/tcl:0
+"
+
+src_configure() {
+   CCACHE=none econf --disable-docs --shared
+   if use static-libs ; then
+   # The build does not support doing both simultaneously.
+   mkdir static-libs || die
+   cd static-libs || die
+   CCACHE=none ECONF_SOURCE="${S}" econf --disable-docs
+   fi
+}
+
+src_compile() {
+   # Must build static-libs first.
+   use static-libs && emake -C static-libs libjim.a
+   emake all
+}
+
+src_install() {
+   default
+   ln -sf libjim.so.${PV} "${ED}"/usr/$(get_libdir)/libjim.so || die
+   use static-libs && dolib.a static-libs/libjim.a
+   use doc && dodoc Tcl_shipped.html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/files/, dev-lang/jimtcl/

2021-03-16 Thread Sam James
commit: 6c482893713cc649105cbc1f0b787077ab9e1f92
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 18:36:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 19:22:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c482893

dev-lang/jimtcl: drop 0.76

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/Manifest  |  1 -
 dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch | 15 -
 dev-lang/jimtcl/jimtcl-0.76.ebuild| 69 ---
 3 files changed, 85 deletions(-)

diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest
index 37fb80cd1cd..d26471fa7ad 100644
--- a/dev-lang/jimtcl/Manifest
+++ b/dev-lang/jimtcl/Manifest
@@ -1,2 +1 @@
-DIST jimtcl-0.76.zip 2326715 BLAKE2B 
50ea032cf46d2edeeecde1dc3b4deffcbd09b5dd3a6880963608b3f20616bf162fafc4ec2869bfe5de90231c4c9a29fb04710bd299cc5e8728ff20a86e46f32d
 SHA512 
50763ea897fb5393083749cdd9e57a3f3d2d6dbebc40ee6371b1b86ebfc2f515e9775cd2acd6627f0f81b54bd72cd8c74be5aa9d0dbefc7c16372887e07f6ea4
 DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B 
f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb
 SHA512 
2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6

diff --git a/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch 
b/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch
deleted file mode 100644
index 60850e0b6d0..000
--- a/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-always do a bootstrap w/local jimsh0 to avoid requiring tcl or jimtcl
-to be installed first.  the bootstrap prog is small too.
-
 a/autosetup/find-tclsh
-+++ b/autosetup/find-tclsh
-@@ -4,9 +4,6 @@
- d=`dirname "$0"`
- { "$d/jimsh0" "$d/test-tclsh"; } 2>/dev/null && exit 0
- PATH="$PATH:$d"; export PATH
--for tclsh in jimsh tclsh tclsh8.5 tclsh8.6; do
--  { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0
--done
- echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
- for cc in ${CC_FOR_BUILD:-cc} gcc; do
-   { $cc -o "$d/jimsh0" "$d/jimsh0.c"; } 2>/dev/null || continue

diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild 
b/dev-lang/jimtcl/jimtcl-0.76.ebuild
deleted file mode 100644
index 64ca59df29e..000
--- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-r3
-else
-   inherit vcs-snapshot
-   SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
-   KEYWORDS="amd64 arm ~arm64 ~m68k ~mips ~s390 x86"
-fi
-
-DESCRIPTION="Small footprint implementation of Tcl programming language"
-HOMEPAGE="http://jim.tcl.tk/;
-
-LICENSE="LGPL-2"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND=""
-DEPEND="doc? ( app-text/asciidoc )
-   app-arch/unzip"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-2_src_unpack
-   else
-   default
-   cd "${WORKDIR}"/msteveb-jimtcl-* || die
-   S=${PWD}
-   fi
-}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch
-}
-
-src_configure() {
-   CCACHE=None econf --with-jim-shared
-   if use static-libs ; then
-   # The build does not support doing both simultaneously.
-   mkdir static-libs || die
-   cd static-libs || die
-   CCACHE=None ECONF_SOURCE=${S} econf
-   fi
-}
-
-src_compile() {
-   # Must build static-libs first.
-   use static-libs && emake -C static-libs libjim.a
-   emake all
-   use doc && emake docs
-}
-
-src_install() {
-   dobin jimsh
-   use static-libs && dolib.a static-libs/libjim.a
-   ln -sf libjim.so.* libjim.so || die
-   dolib.so libjim.so*
-   insinto /usr/include
-   doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \
-   jim-win32compat.h jim-eventloop.h jim-config.h
-   dodoc AUTHORS README TODO
-   use doc && dohtml Tcl.html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2021-02-15 Thread Sam James
commit: 570654766767527a6a06999c88d55c166e65722e
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 15 10:47:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 15 10:47:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57065476

dev-lang/jimtcl: Stabilize 0.78-r2 arm, #769791

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.78-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
index 6fd17432574..0f5caf27651 100644
--- a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
 inherit eutils
 
 SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="amd64 ~arm ~arm64 ~m68k ~mips ~s390 x86"
+KEYWORDS="amd64 arm ~arm64 ~m68k ~mips ~s390 x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2021-02-11 Thread Sam James
commit: 04294a827ae4ced9d67dba0ddf2175c621c386cc
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 11 08:12:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 11 08:12:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04294a82

dev-lang/jimtcl: Stabilize 0.78-r2 x86, #769791

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.78-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
index 04dfe953cfb..6fd17432574 100644
--- a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
 inherit eutils
 
 SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~m68k ~mips ~s390 x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2021-02-09 Thread Sam James
commit: 9de434ee0d455223678ecade6ca51db86fa24de7
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 22:52:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 22:52:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de434ee

dev-lang/jimtcl: Stabilize 0.78-r2 amd64, #769791

Signed-off-by: Sam James  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.78-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
index 9b531ea12ea..04dfe953cfb 100644
--- a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -6,7 +6,7 @@ EAPI="7"
 inherit eutils
 
 SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/, dev-lang/jimtcl/files/

2019-07-20 Thread Michał Górny
commit: b11baed16e9180017bec5cabbc54e7fac8461367
Author: Eugene Bright  bright  gdn>
AuthorDate: Sun Jul  7 00:00:31 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 18:42:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11baed1

dev-lang/jimtcl-0.78-r2: Disable bootstrapping

Make `autosetup/autosetup-find-tclsh` scripts use system `tclsh`.
Forbid building `jimsh0`.

Closes: https://bugs.gentoo.org/675276
Signed-off-by: Eugene Bright  bright.gdn>
Signed-off-by: Michał Górny  gentoo.org>

 .../jimtcl/files/jimtcl-0.78-no-bootstrap.patch| 35 ++
 dev-lang/jimtcl/jimtcl-0.78-r2.ebuild  | 56 ++
 2 files changed, 91 insertions(+)

diff --git a/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch 
b/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch
new file mode 100644
index 000..dba8f1b5897
--- /dev/null
+++ b/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch
@@ -0,0 +1,35 @@
+From f59809579339c0a16fb2519e590b98b611438064 Mon Sep 17 00:00:00 2001
+From: Eugene Bright 
+Date: Sat, 20 Jul 2019 21:00:54 +0300
+Subject: [PATCH] autosetup/autosetup-find-tclsh: Rely on tclsh
+
+Never try to compile jimsh0. Use tclsh as build time dependency.
+---
+ autosetup/autosetup-find-tclsh | 12 ++--
+ 1 file changed, 2 insertions(+), 10 deletions(-)
+
+diff --git a/autosetup/autosetup-find-tclsh b/autosetup/autosetup-find-tclsh
+index dfe70f8..78b521e 100755
+--- a/autosetup/autosetup-find-tclsh
 b/autosetup/autosetup-find-tclsh
+@@ -3,15 +3,7 @@
+ # If not found, builds a bootstrap jimsh from source
+ # Prefer $autosetup_tclsh if is set in the environment
+ d=`dirname "$0"`
+-{ "$d/jimsh0" "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0
+ PATH="$PATH:$d"; export PATH
+-for tclsh in $autosetup_tclsh jimsh tclsh tclsh8.5 tclsh8.6; do
+-  { $tclsh "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0
+-done
+-echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
+-for cc in ${CC_FOR_BUILD:-cc} gcc; do
+-  { $cc -o "$d/jimsh0" "$d/jimsh0.c"; } 2>/dev/null || continue
+-  "$d/jimsh0" "$d/autosetup-test-tclsh" && exit 0
+-done
+-echo 1>&2 "No working C compiler found. Tried ${CC_FOR_BUILD:-cc} and gcc."
++tclsh "$d/autosetup-test-tclsh" 2>/dev/null && exit 0
++echo 1>&2 "Please install dev-lang/tcl:0"
+ echo false
+-- 
+2.20.1
+

diff --git a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
new file mode 100644
index 000..3ac6eaadb70
--- /dev/null
+++ b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit eutils
+
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
+
+DESCRIPTION="Small footprint implementation of Tcl programming language"
+HOMEPAGE="http://jim.tcl.tk/;
+
+LICENSE="LGPL-2"
+SLOT="0/78" # SONAME=libjim.so.0.78
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="
+   doc? ( app-text/asciidoc )
+   app-arch/unzip
+   dev-lang/tcl:0
+"
+
+PATCHES="
+   ${FILESDIR}/${PN}-0.78-no-bootstrap.patch
+"
+
+src_configure() {
+   CCACHE=None econf --with-jim-shared
+   if use static-libs ; then
+   # The build does not support doing both simultaneously.
+   mkdir static-libs || die
+   cd static-libs || die
+   CCACHE=None ECONF_SOURCE=${S} econf
+   fi
+}
+
+src_compile() {
+   # Must build static-libs first.
+   use static-libs && emake -C static-libs libjim.a
+   emake all
+   use doc && emake docs
+}
+
+src_install() {
+   dobin jimsh
+   use static-libs && dolib.a static-libs/libjim.a
+   ln -sf libjim.so.* libjim.so || die
+   dolib.so libjim.so*
+   insinto /usr/include
+   doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \
+   jim-win32compat.h jim-eventloop.h jim-config.h
+   dodoc AUTHORS README TODO
+   use doc && dohtml Tcl.html
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2019-07-20 Thread Michał Górny
commit: 214caa685add25c48f0f3af8a09a8aa00b59676c
Author: Eugene Bright  bright  gdn>
AuthorDate: Sun Jul  7 00:06:12 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 18:45:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214caa68

dev-lang/jimtcl-0.78-r2: EAPI=7 compliance

dohtml is replaces with docinto+dodoc.

Closes: https://bugs.gentoo.org/689378
Signed-off-by: Eugene Bright  bright.gdn>
Closes: https://github.com/gentoo/gentoo/pull/12396
Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/jimtcl/jimtcl-0.78-r2.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
index 3ac6eaadb70..7a48165e307 100644
--- a/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r2.ebuild
@@ -23,7 +23,7 @@ DEPEND="
 "
 
 PATCHES="
-   ${FILESDIR}/${PN}-0.78-no-bootstrap.patch
+   "${FILESDIR}"/${PN}-0.78-no-bootstrap.patch
 "
 
 src_configure() {
@@ -52,5 +52,8 @@ src_install() {
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \
jim-win32compat.h jim-eventloop.h jim-config.h
dodoc AUTHORS README TODO
-   use doc && dohtml Tcl.html
+   if use doc; then
+   docinto html
+   dodoc Tcl.html
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2019-02-18 Thread Sergei Trofimovich
commit: 6c94a31847870f809ae0550ad816e64cb83523fa
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Feb 18 08:14:45 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb 18 09:08:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c94a318

dev-lang/jimtcl: drop live ebuild

live ebuild is broken since around Dec 25 2017, commit 3499242f0065.
inherits were switched to git-r3, but git-2 helpers are used directly.

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lang/jimtcl/jimtcl-.ebuild | 62 --
 1 file changed, 62 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-.ebuild
deleted file mode 100644
index cd5797414a6..000
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit eutils
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
-fi
-
-DESCRIPTION="Small footprint implementation of Tcl programming language"
-HOMEPAGE="http://jim.tcl.tk/;
-
-LICENSE="LGPL-2"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND=""
-DEPEND="doc? ( app-text/asciidoc )
-   app-arch/unzip"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-2_src_unpack
-   else
-   default
-   fi
-}
-
-src_configure() {
-   CCACHE=None econf --with-jim-shared
-   if use static-libs ; then
-   # The build does not support doing both simultaneously.
-   mkdir static-libs || die
-   cd static-libs || die
-   CCACHE=None ECONF_SOURCE=${S} econf
-   fi
-}
-
-src_compile() {
-   # Must build static-libs first.
-   use static-libs && emake -C static-libs libjim.a
-   emake all
-   use doc && emake docs
-}
-
-src_install() {
-   dobin jimsh
-   use static-libs && dolib.a static-libs/libjim.a
-   ln -sf libjim.so.* libjim.so || die
-   dolib.so libjim.so*
-   insinto /usr/include
-   doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \
-   jim-win32compat.h jim-eventloop.h jim-config.h
-   dodoc AUTHORS README TODO
-   dodoc Tcl.html
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2019-02-18 Thread Sergei Trofimovich
commit: 5469158d791875d51f38bcee4c8a456ec593b853
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Feb 18 08:16:49 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb 18 09:08:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5469158d

dev-lang/jimtcl: add subslot based on SONAME

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../{jimtcl-0.78.ebuild => jimtcl-0.78-r1.ebuild} | 19 +++
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.78.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
similarity index 75%
rename from dev-lang/jimtcl/jimtcl-0.78.ebuild
rename to dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
index de965ef1a8b..812fe0d263f 100644
--- a/dev-lang/jimtcl/jimtcl-0.78.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
@@ -5,33 +5,20 @@ EAPI="7"
 
 inherit eutils
 
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
-fi
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/;
 
 LICENSE="LGPL-2"
-SLOT="0"
+SLOT="0/78" # SONAME=libjim.so.0.78
 IUSE="doc static-libs"
 
 RDEPEND=""
 DEPEND="doc? ( app-text/asciidoc )
app-arch/unzip"
 
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-2_src_unpack
-   else
-   default
-   fi
-}
-
 src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2019-02-16 Thread Alexey Shvetsov
commit: 28cd28f5dd96a74d456e2ba070b37439167a1606
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Sat Feb 16 20:40:23 2019 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Sat Feb 16 20:40:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28cd28f5

dev-lang/jimtcl: Version bump

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov  gentoo.org>

 dev-lang/jimtcl/Manifest  |  1 +
 .../jimtcl/{jimtcl-.ebuild => jimtcl-0.78.ebuild} | 13 +++--
 dev-lang/jimtcl/jimtcl-.ebuild| 15 ---
 3 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest
index c09ee68f127..37fb80cd1cd 100644
--- a/dev-lang/jimtcl/Manifest
+++ b/dev-lang/jimtcl/Manifest
@@ -1 +1,2 @@
 DIST jimtcl-0.76.zip 2326715 BLAKE2B 
50ea032cf46d2edeeecde1dc3b4deffcbd09b5dd3a6880963608b3f20616bf162fafc4ec2869bfe5de90231c4c9a29fb04710bd299cc5e8728ff20a86e46f32d
 SHA512 
50763ea897fb5393083749cdd9e57a3f3d2d6dbebc40ee6371b1b86ebfc2f515e9775cd2acd6627f0f81b54bd72cd8c74be5aa9d0dbefc7c16372887e07f6ea4
+DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B 
f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb
 SHA512 
2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-0.78.ebuild
similarity index 82%
copy from dev-lang/jimtcl/jimtcl-.ebuild
copy to dev-lang/jimtcl/jimtcl-0.78.ebuild
index 64b38756f80..de965ef1a8b 100644
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="7"
 
 inherit eutils
 
@@ -9,8 +9,7 @@ if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
inherit git-r3
 else
-   inherit vcs-snapshot
-   SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
+   SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
 fi
 
@@ -30,15 +29,9 @@ src_unpack() {
git-2_src_unpack
else
default
-   cd "${WORKDIR}"/msteveb-jimtcl-* || die
-   S=${PWD}
fi
 }
 
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch
-}
-
 src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-.ebuild
index 64b38756f80..cd5797414a6 100644
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ b/dev-lang/jimtcl/jimtcl-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="7"
 
 inherit eutils
 
@@ -9,8 +9,7 @@ if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
inherit git-r3
 else
-   inherit vcs-snapshot
-   SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
+   SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
 fi
 
@@ -30,15 +29,9 @@ src_unpack() {
git-2_src_unpack
else
default
-   cd "${WORKDIR}"/msteveb-jimtcl-* || die
-   S=${PWD}
fi
 }
 
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch
-}
-
 src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then
@@ -65,5 +58,5 @@ src_install() {
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \
jim-win32compat.h jim-eventloop.h jim-config.h
dodoc AUTHORS README TODO
-   use doc && dohtml Tcl.html
+   dodoc Tcl.html
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2018-01-04 Thread Michał Górny
commit: 5afeef3f4c40b4e2e72970c89a9e6ca34980428e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 10:05:29 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 21:56:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afeef3f

dev-lang/jimtcl: Add missing ||die

 dev-lang/jimtcl/jimtcl-0.76.ebuild | 8 
 dev-lang/jimtcl/jimtcl-.ebuild | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild 
b/dev-lang/jimtcl/jimtcl-0.76.ebuild
index 166bf52e88b..0c046194691 100644
--- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild
@@ -30,7 +30,7 @@ src_unpack() {
git-2_src_unpack
else
default
-   cd "${WORKDIR}"/msteveb-jimtcl-*
+   cd "${WORKDIR}"/msteveb-jimtcl-* || die
S=${PWD}
fi
 }
@@ -43,8 +43,8 @@ src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then
# The build does not support doing both simultaneously.
-   mkdir static-libs
-   cd static-libs
+   mkdir static-libs || die
+   cd static-libs || die
CCACHE=None ECONF_SOURCE=${S} econf
fi
 }
@@ -59,7 +59,7 @@ src_compile() {
 src_install() {
dobin jimsh
use static-libs && dolib.a static-libs/libjim.a
-   ln -sf libjim.so.* libjim.so
+   ln -sf libjim.so.* libjim.so || die
dolib.so libjim.so*
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-.ebuild
index c3f079c046f..64b38756f80 100644
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ b/dev-lang/jimtcl/jimtcl-.ebuild
@@ -30,7 +30,7 @@ src_unpack() {
git-2_src_unpack
else
default
-   cd "${WORKDIR}"/msteveb-jimtcl-*
+   cd "${WORKDIR}"/msteveb-jimtcl-* || die
S=${PWD}
fi
 }
@@ -43,8 +43,8 @@ src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then
# The build does not support doing both simultaneously.
-   mkdir static-libs
-   cd static-libs
+   mkdir static-libs || die
+   cd static-libs || die
CCACHE=None ECONF_SOURCE=${S} econf
fi
 }
@@ -59,7 +59,7 @@ src_compile() {
 src_install() {
dobin jimsh
use static-libs && dolib.a static-libs/libjim.a
-   ln -sf libjim.so.* libjim.so
+   ln -sf libjim.so.* libjim.so || die
dolib.so libjim.so*
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2018-01-04 Thread Michał Górny
commit: 398d7df6783c137e1021410de38a4379ca736c55
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 10:04:26 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 21:55:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398d7df6

dev-lang/jimtcl: Stop using awful multijob_* logic

The multijob logic adds a lot of complex, unmaintained and fragile bash
code with little gain. Moreover, makes build logs unreadable
by interspersing output from multiple configure runs.

Bug: https://bugs.gentoo.org/613322

 dev-lang/jimtcl/jimtcl-0.76.ebuild | 8 +++-
 dev-lang/jimtcl/jimtcl-.ebuild | 8 +++-
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild 
b/dev-lang/jimtcl/jimtcl-0.76.ebuild
index 3d5515b2e63..166bf52e88b 100644
--- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit multiprocessing eutils
+inherit eutils
 
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
@@ -40,15 +40,13 @@ src_prepare() {
 }
 
 src_configure() {
-   multijob_init
-   CCACHE=None multijob_child_init econf --with-jim-shared
+   CCACHE=None econf --with-jim-shared
if use static-libs ; then
# The build does not support doing both simultaneously.
mkdir static-libs
cd static-libs
-   CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
+   CCACHE=None ECONF_SOURCE=${S} econf
fi
-   multijob_finish
 }
 
 src_compile() {

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-.ebuild
index 3c79869f318..c3f079c046f 100644
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ b/dev-lang/jimtcl/jimtcl-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit multiprocessing eutils
+inherit eutils
 
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
@@ -40,15 +40,13 @@ src_prepare() {
 }
 
 src_configure() {
-   multijob_init
-   CCACHE=None multijob_child_init econf --with-jim-shared
+   CCACHE=None econf --with-jim-shared
if use static-libs ; then
# The build does not support doing both simultaneously.
mkdir static-libs
cd static-libs
-   CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf
+   CCACHE=None ECONF_SOURCE=${S} econf
fi
-   multijob_finish
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2018-01-04 Thread Michał Górny
commit: 79572f797d251072ccbb0bb9a51161f33415b6ea
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 10:03:13 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 21:55:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79572f79

dev-lang/jimtcl: Clean old up

 dev-lang/jimtcl/Manifest   |  4 --
 dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild | 37 --
 dev-lang/jimtcl/jimtcl-0.73.ebuild | 42 ---
 dev-lang/jimtcl/jimtcl-0.74-r1.ebuild  | 47 -
 dev-lang/jimtcl/jimtcl-0.75-r1.ebuild  | 71 --
 dev-lang/jimtcl/jimtcl-0.75.ebuild | 47 -
 6 files changed, 248 deletions(-)

diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest
index 289c3d0ca69..c09ee68f127 100644
--- a/dev-lang/jimtcl/Manifest
+++ b/dev-lang/jimtcl/Manifest
@@ -1,5 +1 @@
-DIST jimtcl-0.70_pre20110317.tar.gz 691917 BLAKE2B 
bfa844adb5356e46b72eb7af5d4754e96588dbf69f93efb8e7fea477d9fce325425275d4e8c5a86614c7aa3e62c5246545de16c0a3710a3aee42dcb7257f5084
 SHA512 
138000c97bf7f8c0c5d81cd98861684d382579ace0cb1f7b96f71dde721ca627bf4d7beeed2bc8528077da26353a41ee9bcdbabd44bd732082c42ad6c7f91c65
-DIST jimtcl-0.73.zip 2286098 BLAKE2B 
cff47c4a812ae02c2f8cbdfdb2f59d68ee1d8b325c7c21ae59c1a0c2e221b78ddc646dbabc473d3204b70967fbdd03adc50a57d8316c90854d10cf723815824a
 SHA512 
9d99eff13292ed1db95ca673be88b14c87e9ce1e28d3fab0b08e0ca0473765fa2e8e305fd5f67768d94ae47cc3e0bc3d0cec8ba4a54ad3d5c1359ee8e2d36f81
-DIST jimtcl-0.74.zip 2304607 BLAKE2B 
7c2d9e3969105efb3fcbf1ed6651df041de4de5a8a480de70796503c6c768a996dbb8e2245fca6fed67720baf7b940df90fc3508663086bce0ef91104db2955e
 SHA512 
6c7a1d45c15ac533aa35adaf5099712ca4ef456280121610a6621d5abb94505e93b165d36bb8ae4c27733118e2590774051c716f4c6bcb9bddca4d937d770a7b
-DIST jimtcl-0.75.zip 2319459 BLAKE2B 
484c844ffbe972ac99d564c8a6ebb9f034c069d23f714c2f0bbb9b085969075a3bd0e37ff6f11e68783a1eb9c77c122805382ef3a511895c6ae24e79e0c8ee4f
 SHA512 
f2ba7a3e97de0c49813594e8238fdbb4db426f0974e3441312bccc773984304bf5621d45a117f9e7bec1d2120b8797102a2ec38caf329fd3b42ba708e66fd84a
 DIST jimtcl-0.76.zip 2326715 BLAKE2B 
50ea032cf46d2edeeecde1dc3b4deffcbd09b5dd3a6880963608b3f20616bf162fafc4ec2869bfe5de90231c4c9a29fb04710bd299cc5e8728ff20a86e46f32d
 SHA512 
50763ea897fb5393083749cdd9e57a3f3d2d6dbebc40ee6371b1b86ebfc2f515e9775cd2acd6627f0f81b54bd72cd8c74be5aa9d0dbefc7c16372887e07f6ea4

diff --git a/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild 
b/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild
deleted file mode 100644
index fe34db13742..000
--- a/dev-lang/jimtcl/jimtcl-0.70_pre20110317.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-DESCRIPTION="Small footprint implementation of Tcl programming language"
-HOMEPAGE="http://jim.berlios.de/;
-SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz;
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-src_configure() {
-   ! use static-libs && myconf=--with-jim-shared
-   econf ${myconf} \
-   --with-jim-ext=nvp
-}
-
-src_compile() {
-   emake all docs || die
-}
-
-src_install() {
-   dobin jimsh || die "dobin failed"
-   use static-libs && {
-   dolib.a libjim.a || die "dolib failed"
-   } || {
-   dolib.so libjim.so || die "dolib failed"
-   }
-   insinto /usr/include
-   doins jim.h jimautoconf.h jim-subcmd.h jim-nvp.h jim-signal.h
-   doins jim-win32compat.h jim-eventloop.h jim-config.h
-   dodoc AUTHORS README TODO || die "dodoc failed"
-   dohtml Tcl.html || die "dohtml failed"
-}

diff --git a/dev-lang/jimtcl/jimtcl-0.73.ebuild 
b/dev-lang/jimtcl/jimtcl-0.73.ebuild
deleted file mode 100644
index cb175888434..000
--- a/dev-lang/jimtcl/jimtcl-0.73.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-DESCRIPTION="Small footprint implementation of Tcl programming language"
-HOMEPAGE="http://jim.tcl.tk;
-SRC_URI="https://github.com/msteveb/jimtcl/zipball/0.73 -> ${P}.zip"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 m68k s390 sh x86"
-IUSE="doc static-libs"
-DEPEND="doc? ( app-text/asciidoc )
-   app-arch/unzip"
-
-GIT_HASH="5b8ea68"
-S="${WORKDIR}"/msteveb-${PN}-${GIT_HASH}
-
-src_configure() {
-   ! use static-libs && myconf=--with-jim-shared
-   econf ${myconf}
-}
-
-src_compile() {
-   emake all
-   use doc && emake docs
-}
-
-src_install() {
-   dobin jimsh
-   use static-libs && {
-   dolib.a libjim.a
-   } || {
-   dolib.so libjim.so
-   }
-   insinto /usr/include
-   doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
-   doins jim-win32compat.h 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/jimtcl/

2017-12-25 Thread David Seifert
commit: 3499242f0065d174fb4a3837245b65e595edfa3e
Author: David Seifert  gentoo  org>
AuthorDate: Mon Dec 25 18:55:49 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 25 19:17:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3499242f

dev-lang/jimtcl: [QA] Port to git-r3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-lang/jimtcl/jimtcl-0.74-r1.ebuild | 13 +++--
 dev-lang/jimtcl/jimtcl-0.75-r1.ebuild |  6 +++---
 dev-lang/jimtcl/jimtcl-0.75.ebuild| 13 +++--
 dev-lang/jimtcl/jimtcl-0.76.ebuild|  6 +++---
 dev-lang/jimtcl/jimtcl-.ebuild|  6 +++---
 5 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild 
b/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild
index 56008de46ce..bba26a59e81 100644
--- a/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.74-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -31,13 +31,14 @@ src_compile() {
 
 src_install() {
dobin jimsh
-   use static-libs && {
+
+   if use static-libs; then
dolib.a libjim.a
-   } || {
+   else
dolib.so libjim.so.${PV}
-   dosym /usr/$(get_libdir)/libjim.so.${PV} \
-   /usr/$(get_libdir)/libjim.so
-   }
+   dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+   fi
+
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
doins jim-win32compat.h jim-eventloop.h jim-config.h

diff --git a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild 
b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
index d05b5040644..3c79869f318 100644
--- a/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-2
+   inherit git-r3
 else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"

diff --git a/dev-lang/jimtcl/jimtcl-0.75.ebuild 
b/dev-lang/jimtcl/jimtcl-0.75.ebuild
index 59a5c92d192..86af1bb8fb9 100644
--- a/dev-lang/jimtcl/jimtcl-0.75.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.75.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -31,13 +31,14 @@ src_compile() {
 
 src_install() {
dobin jimsh
-   use static-libs && {
+
+   if use static-libs; then
dolib.a libjim.a
-   } || {
+   else
dolib.so libjim.so.${PV}
-   dosym /usr/$(get_libdir)/libjim.so.${PV} \
-   /usr/$(get_libdir)/libjim.so
-   }
+   dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+   fi
+
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
doins jim-win32compat.h jim-eventloop.h jim-config.h

diff --git a/dev-lang/jimtcl/jimtcl-0.76.ebuild 
b/dev-lang/jimtcl/jimtcl-0.76.ebuild
index a82e24c9b20..3d5515b2e63 100644
--- a/dev-lang/jimtcl/jimtcl-0.76.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.76.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-2
+   inherit git-r3
 else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"

diff --git a/dev-lang/jimtcl/jimtcl-.ebuild 
b/dev-lang/jimtcl/jimtcl-.ebuild
index d05b5040644..3c79869f318 100644
--- a/dev-lang/jimtcl/jimtcl-.ebuild
+++ b/dev-lang/jimtcl/jimtcl-.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git;
-   inherit git-2
+   inherit git-r3
 else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"