Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bison/
Date: Wed, 28 Dec 2022 00:33:09
Message-Id: 1672187538.a83b4567294ae59ffa494e6b06d457849ed01767.sam@gentoo
1 commit: a83b4567294ae59ffa494e6b06d457849ed01767
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 27 23:54:59 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 00:32:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83b4567
7
8 sys-devel/bison: drop 3.7.6, 3.8.2
9
10 Closes: https://bugs.gentoo.org/737026
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-devel/bison/Manifest | 2 -
14 sys-devel/bison/bison-3.7.6.ebuild | 91 -----------------------------------
15 sys-devel/bison/bison-3.8.2.ebuild | 99 --------------------------------------
16 3 files changed, 192 deletions(-)
17
18 diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
19 index 580d3f2c84a6..b6104c4e11c0 100644
20 --- a/sys-devel/bison/Manifest
21 +++ b/sys-devel/bison/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST bison-3.7.6-patches-01.tar.xz 10600 BLAKE2B c7907a327c2bbb82a2e575a864e71400f91cd4349a84f95b187ecaadefc1bfd595a91bce6c8c47e42423cace9cf78a4041fde3fdc489a4824aa3c10ca73be7cb SHA512 8f2ddee79b9678b9fd9a7a34f26d44f7c4472d0fc55c9fef8b418d27949b6a27309b7aa5ac3f4a5ad27c90ad7d92d824ffe767c77b0ed81de6b2897c91cd7560
24 -DIST bison-3.7.6.tar.xz 2627180 BLAKE2B 2f1015b517e46ff0870378b4d0dd489c8c737f31b2b69146bd7fbbae1e3adcdff0e4837cfdf1d238e8660ecc2b310ce87ec8940ed4989278b3df6cbb2d464e54 SHA512 6c1c9b825fbd2c94b8903f03a7e68e6832599f7bbd8d3c49864537c11b038c45a15de02fd36128d662af314334c83515bbc132df84e9acc6c651e98649c65bad
25 DIST bison-3.8.2.tar.xz 2817324 BLAKE2B e211b61494c911f55b72a8b70b5a48cdf4000ce9e675a1f1f52735bb8f57d93a3f8075341451263af9c9c531004907ae2b62b1873e7e4664c2cd26fa3b12271c SHA512 d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444
26 DIST bison-3.8.2.tar.xz.sig 195 BLAKE2B b9bd21adb5115d3d3174c94223fbc9cd33afa0e9c1805008e49f77ff154fc2b656d8a9e9503dc5290658ae2948a2ca7c0dbc812f62aec268d8f8bfafb6349096 SHA512 8bb7743ca326e81a6c091b1413e3c09bd43c7eabbb80bac0638ccd52bdf7e3395cce300a86acd95f4637a9ec8a1b0e9a4d3d25d95ab0a8f03e57fd82eb87a7ac
27
28 diff --git a/sys-devel/bison/bison-3.7.6.ebuild b/sys-devel/bison/bison-3.7.6.ebuild
29 deleted file mode 100644
30 index c54b97338114..000000000000
31 --- a/sys-devel/bison/bison-3.7.6.ebuild
32 +++ /dev/null
33 @@ -1,91 +0,0 @@
34 -# Copyright 1999-2022 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit flag-o-matic
40 -
41 -PATCH_TAR="${PN}-3.7.6-patches-01.tar.xz"
42 -
43 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
44 -HOMEPAGE="https://www.gnu.org/software/bison/"
45 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
46 - https://dev.gentoo.org/~whissi/dist/bison/${PATCH_TAR}
47 - https://dev.gentoo.org/~polynomial-c/dist/bison/${PATCH_TAR}"
48 -
49 -LICENSE="GPL-3+"
50 -SLOT="0"
51 -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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 -IUSE="examples nls static test"
53 -RESTRICT="!test? ( test )"
54 -
55 -# gettext _IS_ required in RDEPEND because >=bison-3.7 links against
56 -# libtextstyle.so!!! (see bug #740754)
57 -DEPEND="
58 - >=sys-devel/m4-1.4.16
59 - >=sys-devel/gettext-0.21
60 -"
61 -RDEPEND="${DEPEND}"
62 -BDEPEND="
63 - sys-devel/flex
64 - examples? ( dev-lang/perl )
65 - test? ( dev-lang/perl )
66 -"
67 -
68 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
69 -
70 -src_prepare() {
71 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
72 - touch -r configure.ac old.configure.ac || die
73 - touch -r configure old.configure || die
74 -
75 - eapply "${WORKDIR}"/patches
76 - default
77 -
78 - # Restore date after patching
79 - touch -r old.configure.ac configure.ac || die
80 - touch -r old.configure configure || die
81 -
82 - # The makefiles make the man page depend on the configure script
83 - # which we patched above. Touch it to prevent regeneration.
84 - touch doc/bison.1 || die #548778 #538300#9
85 -
86 - # Avoid regenerating the info page when the timezone is diff. #574492
87 - sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
88 -}
89 -
90 -src_configure() {
91 - use static && append-ldflags -static
92 -
93 - local myeconfargs=(
94 - $(use_enable examples)
95 - $(use_enable nls)
96 - )
97 - econf "${myeconfargs[@]}"
98 -}
99 -
100 -src_install() {
101 - default
102 -
103 - # This one is installed by dev-util/yacc
104 - mv "${ED}"/usr/bin/yacc{,.bison} || die
105 - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
106 -
107 - # We do not need liby.a
108 - rm -r "${ED}"/usr/lib* || die
109 -}
110 -
111 -pkg_postinst() {
112 - local f="${EROOT}/usr/bin/yacc"
113 - if [[ ! -e ${f} ]] ; then
114 - ln -s yacc.bison "${f}"
115 - fi
116 -}
117 -
118 -pkg_postrm() {
119 - # clean up the dead symlink when we get unmerged #377469
120 - local f="${EROOT}/usr/bin/yacc"
121 - if [[ -L ${f} && ! -e ${f} ]] ; then
122 - rm -f "${f}"
123 - fi
124 -}
125
126 diff --git a/sys-devel/bison/bison-3.8.2.ebuild b/sys-devel/bison/bison-3.8.2.ebuild
127 deleted file mode 100644
128 index 235b7ff655fa..000000000000
129 --- a/sys-devel/bison/bison-3.8.2.ebuild
130 +++ /dev/null
131 @@ -1,99 +0,0 @@
132 -# Copyright 1999-2022 Gentoo Authors
133 -# Distributed under the terms of the GNU General Public License v2
134 -
135 -EAPI=7
136 -
137 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bison.asc
138 -inherit flag-o-matic verify-sig
139 -
140 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
141 -HOMEPAGE="https://www.gnu.org/software/bison/"
142 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
143 -SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
144 -
145 -LICENSE="GPL-3+"
146 -SLOT="0"
147 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
148 -IUSE="examples nls static test"
149 -RESTRICT="!test? ( test )"
150 -
151 -# gettext _IS_ required in RDEPEND because >=bison-3.7 links against
152 -# libtextstyle.so!!! (see bug #740754)
153 -DEPEND="
154 - >=sys-devel/m4-1.4.16
155 - >=sys-devel/gettext-0.21
156 -"
157 -RDEPEND="${DEPEND}"
158 -BDEPEND="
159 - sys-devel/flex
160 - test? ( dev-lang/perl )
161 - verify-sig? ( sec-keys/openpgp-keys-bison )
162 -"
163 -
164 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
165 -
166 -src_prepare() {
167 - # Old logic when we needed to patch configure.ac
168 - # Keeping in case it's useful for future
169 -
170 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
171 - #touch -r configure.ac old.configure.ac || die
172 - #touch -r configure old.configure || die
173 -
174 - #eapply "${WORKDIR}"/patches
175 - #default
176 -
177 - # Restore date after patching
178 - #touch -r old.configure.ac configure.ac || die
179 - #touch -r old.configure configure || die
180 -
181 - # The makefiles make the man page depend on the configure script
182 - # which we patched above. Touch it to prevent regeneration.
183 - #touch doc/bison.1 || die #548778 #538300#9
184 -
185 - default
186 -
187 - # Avoid regenerating the info page when the timezone is diff. #574492
188 - sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
189 -}
190 -
191 -src_configure() {
192 - use static && append-ldflags -static
193 -
194 - local myeconfargs=(
195 - $(use_enable nls)
196 - )
197 -
198 - econf "${myeconfargs[@]}"
199 -}
200 -
201 -src_install() {
202 - default
203 -
204 - # This one is installed by dev-util/yacc
205 - mv "${ED}"/usr/bin/yacc{,.bison} || die
206 - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
207 -
208 - # We do not need liby.a
209 - rm -r "${ED}"/usr/lib* || die
210 -
211 - # Examples are about 200K, so let's make them optional still for now.
212 - if ! use examples ; then
213 - rm -r "${ED}"/usr/share/doc/${PF}/examples/ || die
214 - fi
215 -}
216 -
217 -pkg_postinst() {
218 - local f="${EROOT}/usr/bin/yacc"
219 - if [[ ! -e ${f} ]] ; then
220 - ln -s yacc.bison "${f}"
221 - fi
222 -}
223 -
224 -pkg_postrm() {
225 - # clean up the dead symlink when we get unmerged #377469
226 - local f="${EROOT}/usr/bin/yacc"
227 - if [[ -L ${f} && ! -e ${f} ]] ; then
228 - rm -f "${f}"
229 - fi
230 -}