Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/tcsh/
Date: Sat, 02 Jan 2021 15:45:24
Message-Id: 1609602303.ec82de4526dacd81ca3d08c4ebfeeeafe69a21da.dilfridge@gentoo
1 commit: ec82de4526dacd81ca3d08c4ebfeeeafe69a21da
2 Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 15:19:30 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 15:45:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec82de45
7
8 app-shells/tcsh: Remove old
9
10 Bug: https://bugs.gentoo.org/706316
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>
13
14 app-shells/tcsh/Manifest | 2 -
15 app-shells/tcsh/tcsh-6.20.00.ebuild | 101 --------------------------------
16 app-shells/tcsh/tcsh-6.21.00-r1.ebuild | 103 ---------------------------------
17 3 files changed, 206 deletions(-)
18
19 diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest
20 index be2bb6c3223..e7de9ecf0e8 100644
21 --- a/app-shells/tcsh/Manifest
22 +++ b/app-shells/tcsh/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST tcsh-6.20.00.tar.gz 1001696 BLAKE2B dfebde21c70f236e1070a93621a331ce1a53efab4496c44f25b51e98e843a8d0e3ca503da46a4fc0177b57b682e3ecc07f8120cde25ecf466c8ff094df5f9463 SHA512 c5635393c22341e62fb9a0b953ddf8871a876ab09deb08c98237f93afa9257b4a3381d1db65eefe769e22ef845db29ab7bc78773f1f609d73c8205689a6683e9
25 -DIST tcsh-6.21.00.tar.gz 1001909 BLAKE2B 7f2be382a3a344d55e0785eace79377e20dd2cd2eb9e9533168fbb6286631cdcd35bdc06cd42d9439a29a7cd1a911416bfe6b0245065535aebdf5adb58d2c301 SHA512 d7f46588a35b9cd01cfa33d0f9bbae09e9692605b5c045c2b58e66dba958ab904ddfe45aa7361767034e6cc03a34ad9ba4d14fa836df723bade29f3f6a18a46c
26 DIST tcsh-6.22.02.tar.gz 1006405 BLAKE2B f18b2c48958b4d38a0f55b0df8563564b2a3b34becf02eda8802d7f5e2194082bf96c46323d606c2e6bd2a26aaed303bae3132d03515274407c63b713583dde7 SHA512 32d271b568c63265ea4c98494f5e60b37c3a3fc2594e8763b8f6f0b09018ab9db7ef6f951120b37f7880ccf04ba3a2559e30dc08d24f4ba9dc36853238d55980
27 DIST tcsh-gentoo-patches-r1.9.tar.bz2 2488 BLAKE2B 58924e623c75068cdc686be61755bdbcf8d0949a2141ac532ac089f80ff083b2c9f6767038b9fc52171a00ed82c558b83216327c87b41f51c3648343869cd5b6 SHA512 9903e9c3e2279abcac09a3235f3c5db9f42156c18137eb651ede195ca2b069f0b5bc6105fed33666b69796c4ebf03e4efe63cd9beba1898bac7297a2f74bfd3d
28
29 diff --git a/app-shells/tcsh/tcsh-6.20.00.ebuild b/app-shells/tcsh/tcsh-6.20.00.ebuild
30 deleted file mode 100644
31 index dcafd9fc770..00000000000
32 --- a/app-shells/tcsh/tcsh-6.20.00.ebuild
33 +++ /dev/null
34 @@ -1,101 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit eutils flag-o-matic autotools prefix
41 -
42 -CONFVER="1.9"
43 -
44 -DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
45 -HOMEPAGE="https://www.tcsh.org/"
46 -SRC_URI="
47 - ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz
48 - https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
53 -IUSE="nls doc"
54 -RESTRICT="test"
55 -
56 -# we need gettext because we run autoconf (AM_ICONV)
57 -RDEPEND="
58 - >=sys-libs/ncurses-5.1:0=
59 - virtual/libiconv"
60 -DEPEND="${RDEPEND}
61 - sys-devel/gettext
62 - doc? ( dev-lang/perl )"
63 -
64 -CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
65 -
66 -PATCHES=(
67 - "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792
68 - "${FILESDIR}"/${PN}-6.20.00-use-ncurses-tinfo.patch
69 - "${FILESDIR}"/${PN}-6.18.01-aix.patch
70 -)
71 -
72 -src_prepare() {
73 - epatch "${PATCHES[@]}"
74 -
75 - eautoreconf
76 -
77 - # fix gencat usage
78 - sed \
79 - -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
80 - -i nls/Makefile.in || die
81 -
82 - # use sysmalloc (for larger alloc sets) on Darwin also
83 - sed -i -e 's/__MACHTEN__/__MACH__/' config_f.h || die
84 -
85 - # unify ECHO behaviour
86 - echo "#undef ECHO_STYLE" >> config_f.h
87 - echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h
88 -
89 - eprefixify "${CONFDIR}"/*
90 - # activate the right default PATH
91 - if [[ -z ${EPREFIX} ]] ; then
92 - sed -i \
93 - -e 's/^#MAIN//' -e '/^#PREFIX/d' \
94 - "${CONFDIR}"/csh.login || die
95 - else
96 - sed -i \
97 - -e 's/^#PREFIX//' -e '/^#MAIN/d' \
98 - "${CONFDIR}"/csh.login || die
99 - fi
100 -
101 - eapply_user
102 -}
103 -
104 -src_configure() {
105 - # make tcsh look and live along the lines of the prefix
106 - append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'"
107 - append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'"
108 - append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'"
109 - append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'"
110 - append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'"
111 -
112 - econf \
113 - --prefix="${EPREFIX:-}" \
114 - --datarootdir='${prefix}/usr/share' \
115 - $(use_enable nls)
116 -}
117 -
118 -src_install() {
119 - emake DESTDIR="${D}" install install.man
120 -
121 - DOCS=( FAQ Fixes NewThings Ported README WishList Y2K )
122 - if use doc ; then
123 - perl tcsh.man2html tcsh.man || die
124 - HTML_DOCS=( tcsh.html/*.html )
125 - fi
126 - einstalldocs
127 -
128 - insinto /etc
129 - doins \
130 - "${CONFDIR}"/csh.cshrc \
131 - "${CONFDIR}"/csh.login
132 -
133 - # bug #119703: add csh -> tcsh symlink
134 - dosym tcsh /bin/csh
135 -}
136
137 diff --git a/app-shells/tcsh/tcsh-6.21.00-r1.ebuild b/app-shells/tcsh/tcsh-6.21.00-r1.ebuild
138 deleted file mode 100644
139 index 5008f7b80c2..00000000000
140 --- a/app-shells/tcsh/tcsh-6.21.00-r1.ebuild
141 +++ /dev/null
142 @@ -1,103 +0,0 @@
143 -# Copyright 1999-2020 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=6
147 -
148 -inherit eutils flag-o-matic autotools prefix
149 -
150 -CONFVER="1.9"
151 -
152 -DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
153 -HOMEPAGE="https://www.tcsh.org/"
154 -SRC_URI="
155 - ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz
156 - https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2"
157 -
158 -LICENSE="BSD"
159 -SLOT="0"
160 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
161 -IUSE="nls doc"
162 -RESTRICT="test"
163 -
164 -# we need gettext because we run autoconf (AM_ICONV)
165 -RDEPEND="
166 - >=sys-libs/ncurses-5.1:0=
167 - virtual/libiconv"
168 -DEPEND="${RDEPEND}
169 - sys-devel/gettext
170 - doc? ( dev-lang/perl )"
171 -
172 -CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
173 -
174 -PATCHES=(
175 - "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792
176 - "${FILESDIR}"/${PN}-6.18.01-aix.patch
177 - "${FILESDIR}"/${PN}-6.21.00-no-nls.patch
178 - "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch
179 - "${FILESDIR}"/${PN}-6.21.00-fno-common.patch # upstream
180 -)
181 -
182 -src_prepare() {
183 - epatch "${PATCHES[@]}"
184 -
185 - eautoreconf
186 -
187 - # fix gencat usage
188 - sed \
189 - -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
190 - -i nls/Makefile.in || die
191 -
192 - # use sysmalloc (for larger alloc sets) on Darwin also
193 - sed -i -e 's/__MACHTEN__/__MACH__/' config_f.h || die
194 -
195 - # unify ECHO behaviour
196 - echo "#undef ECHO_STYLE" >> config_f.h
197 - echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h
198 -
199 - eprefixify "${CONFDIR}"/*
200 - # activate the right default PATH
201 - if [[ -z ${EPREFIX} ]] ; then
202 - sed -i \
203 - -e 's/^#MAIN//' -e '/^#PREFIX/d' \
204 - "${CONFDIR}"/csh.login || die
205 - else
206 - sed -i \
207 - -e 's/^#PREFIX//' -e '/^#MAIN/d' \
208 - "${CONFDIR}"/csh.login || die
209 - fi
210 -
211 - eapply_user
212 -}
213 -
214 -src_configure() {
215 - # make tcsh look and live along the lines of the prefix
216 - append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'"
217 - append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'"
218 - append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'"
219 - append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'"
220 - append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'"
221 -
222 - econf \
223 - --prefix="${EPREFIX:-}" \
224 - --datarootdir='${prefix}/usr/share' \
225 - $(use_enable nls)
226 -}
227 -
228 -src_install() {
229 - emake DESTDIR="${D}" install install.man
230 -
231 - DOCS=( FAQ Fixes NewThings Ported README.md WishList Y2K )
232 - if use doc ; then
233 - perl tcsh.man2html tcsh.man || die
234 - HTML_DOCS=( tcsh.html/*.html )
235 - fi
236 - einstalldocs
237 -
238 - insinto /etc
239 - doins \
240 - "${CONFDIR}"/csh.cshrc \
241 - "${CONFDIR}"/csh.login
242 -
243 - # bug #119703: add csh -> tcsh symlink
244 - dosym tcsh /bin/csh
245 -}