Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcl/
Date: Tue, 29 Oct 2019 07:36:18
Message-Id: 1572334557.bc146da7cab31b554da24a786d6ad164dcacb0fc.tupone@gentoo
1 commit: bc146da7cab31b554da24a786d6ad164dcacb0fc
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 29 07:35:57 2019 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 29 07:35:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc146da7
7
8 dev-lang/tcl: Remove SLOT 8.5
9
10 Closes: https://bugs.gentoo.org/697828
11 Package-Manager: Portage-2.3.76, Repoman-2.3.16
12 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
13
14 dev-lang/tcl/tcl-8.5.17-r100.ebuild | 93 -----------------------------------
15 dev-lang/tcl/tcl-8.5.17-r101.ebuild | 96 -------------------------------------
16 2 files changed, 189 deletions(-)
17
18 diff --git a/dev-lang/tcl/tcl-8.5.17-r100.ebuild b/dev-lang/tcl/tcl-8.5.17-r100.ebuild
19 deleted file mode 100644
20 index d34643083b6..00000000000
21 --- a/dev-lang/tcl/tcl-8.5.17-r100.ebuild
22 +++ /dev/null
23 @@ -1,93 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -# this ebuild is only for the libtcl8.5.so SONAME for ABI compat
28 -
29 -EAPI=5
30 -
31 -inherit autotools eutils flag-o-matic multilib toolchain-funcs versionator multilib-minimal
32 -
33 -MY_P="${PN}${PV/_beta/b}"
34 -
35 -DESCRIPTION="Tool Command Language"
36 -HOMEPAGE="http://www.tcl.tk/"
37 -SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
38 -
39 -LICENSE="tcltk"
40 -SLOT="8.5"
41 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
42 -IUSE="debug threads"
43 -
44 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
45 - !=dev-lang/tcl-8.5*:0"
46 -DEPEND="${RDEPEND}
47 - "
48 -
49 -SPARENT="${WORKDIR}/${MY_P}"
50 -S="${SPARENT}"/unix
51 -
52 -DOCS=()
53 -
54 -src_prepare() {
55 - epatch "${FILESDIR}"/${PN}-8.5.13-multilib.patch
56 -
57 - # Bug 125971
58 - epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
59 -
60 - # workaround stack check issues, bug #280934
61 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
62 -
63 - tc-export CC
64 -
65 - sed \
66 - -e '/chmod/s:555:755:g' \
67 - -i Makefile.in || die
68 -
69 - eautoconf
70 - multilib_copy_sources
71 -}
72 -
73 -multilib_src_configure() {
74 - # We went ahead and deleted the whole compat/ subdir which means
75 - # the configure tests to detect broken versions need to pass (else
76 - # we'll fail to build). This comes up when cross-compiling, but
77 - # might as well get a minor configure speed up normally.
78 - export ac_cv_func_memcmp_working="yes"
79 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
80 - export tcl_cv_strtod_buggy="no"
81 -
82 - econf \
83 - $(use_enable threads) \
84 - $(use_enable debug symbols)
85 -}
86 -
87 -multilib_src_install() {
88 - dolib.so libtcl8.5.so
89 - dolib.a libtclstub8.5.a
90 -
91 - #short version number
92 - local v1=$(get_version_component_range 1-2)
93 - local mylibdir=$(get_libdir)
94 -
95 - # fix the tclConfig.sh to eliminate refs to the build directory
96 - # and drop unnecessary -L inclusion to default system libdir
97 -
98 - sed \
99 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
100 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
101 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
102 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
103 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
104 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
105 - -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
106 - -i tclConfig.sh || die
107 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
108 - sed \
109 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
110 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
111 - -i tclConfig.sh || die
112 - fi
113 -
114 - insinto /usr/${mylibdir}/tcl${v1}
115 - doins tclConfig.sh
116 -}
117
118 diff --git a/dev-lang/tcl/tcl-8.5.17-r101.ebuild b/dev-lang/tcl/tcl-8.5.17-r101.ebuild
119 deleted file mode 100644
120 index 8edd0ea88b7..00000000000
121 --- a/dev-lang/tcl/tcl-8.5.17-r101.ebuild
122 +++ /dev/null
123 @@ -1,96 +0,0 @@
124 -# Copyright 1999-2018 Gentoo Authors
125 -# Distributed under the terms of the GNU General Public License v2
126 -
127 -# this ebuild is only for the libtcl8.5.so SONAME for ABI compat
128 -
129 -EAPI=5
130 -
131 -inherit autotools eutils flag-o-matic multilib toolchain-funcs versionator multilib-minimal
132 -
133 -MY_P="${PN}${PV/_beta/b}"
134 -
135 -DESCRIPTION="Tool Command Language"
136 -HOMEPAGE="http://www.tcl.tk/"
137 -SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
138 -
139 -LICENSE="tcltk"
140 -SLOT="8.5"
141 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
142 -IUSE="debug threads"
143 -
144 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
145 - !=dev-lang/tcl-8.5*:0"
146 -DEPEND="${RDEPEND}
147 - "
148 -
149 -SPARENT="${WORKDIR}/${MY_P}"
150 -S="${SPARENT}"/unix
151 -
152 -DOCS=()
153 -
154 -src_prepare() {
155 - epatch "${FILESDIR}"/${PN}-8.5.13-multilib.patch
156 -
157 - # Bug 125971
158 - epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
159 -
160 - # Bug 648570
161 - epatch "${FILESDIR}"/${PN}-8.6.8-libieee.patch
162 -
163 - # workaround stack check issues, bug #280934
164 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
165 -
166 - tc-export CC
167 -
168 - sed \
169 - -e '/chmod/s:555:755:g' \
170 - -i Makefile.in || die
171 -
172 - eautoconf
173 - multilib_copy_sources
174 -}
175 -
176 -multilib_src_configure() {
177 - # We went ahead and deleted the whole compat/ subdir which means
178 - # the configure tests to detect broken versions need to pass (else
179 - # we'll fail to build). This comes up when cross-compiling, but
180 - # might as well get a minor configure speed up normally.
181 - export ac_cv_func_memcmp_working="yes"
182 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
183 - export tcl_cv_strtod_buggy="no"
184 -
185 - econf \
186 - $(use_enable threads) \
187 - $(use_enable debug symbols)
188 -}
189 -
190 -multilib_src_install() {
191 - dolib.so libtcl8.5.so
192 - dolib.a libtclstub8.5.a
193 -
194 - #short version number
195 - local v1=$(get_version_component_range 1-2)
196 - local mylibdir=$(get_libdir)
197 -
198 - # fix the tclConfig.sh to eliminate refs to the build directory
199 - # and drop unnecessary -L inclusion to default system libdir
200 -
201 - sed \
202 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
203 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
204 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
205 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
206 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
207 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
208 - -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
209 - -i tclConfig.sh || die
210 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
211 - sed \
212 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
213 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
214 - -i tclConfig.sh || die
215 - fi
216 -
217 - insinto /usr/${mylibdir}/tcl${v1}
218 - doins tclConfig.sh
219 -}