Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bison/
Date: Fri, 25 Dec 2020 14:24:50
Message-Id: 1608906250.85942e18a70c35fd13f71b4d96e2a38c3131674c.whissi@gentoo
1 commit: 85942e18a70c35fd13f71b4d96e2a38c3131674c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 14:24:10 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 14:24:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85942e18
7
8 sys-devel/bison: drop old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-devel/bison/Manifest | 4 --
14 sys-devel/bison/bison-3.1.ebuild | 89 --------------------------------
15 sys-devel/bison/bison-3.7.1-r1.ebuild | 95 -----------------------------------
16 3 files changed, 188 deletions(-)
17
18 diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
19 index 67df01c6847..7bda9479b11 100644
20 --- a/sys-devel/bison/Manifest
21 +++ b/sys-devel/bison/Manifest
22 @@ -1,9 +1,5 @@
23 -DIST bison-3.1-patches-1.0.tar.xz 7268 BLAKE2B 9195c00be1706664762598926913cd8fc18a32a6ae6ae4ec58748d5e8fc4877f63258db51cbe3bf84f3345ea0fc7c27d2e1190632c529615d9e6922baef74915 SHA512 5569b7901b40ea01eb7bccdc1b090207bc1ea6c50d144b561b2725ae79f3bcd51e7ea4e8ea37b60ea50ff4882e82110a07986cba1d2397a0333e7e01ae466e79
24 -DIST bison-3.1.tar.xz 1990536 BLAKE2B 6223642f2934927ca118410e2655f7c677bb1d3d981875ca2224f5aa344a43efbbbea34e79dff94ea489853e505b1d7f5920f4d159d1464ce61d8956ca0401ad SHA512 2a8e217ffb55ed5b1fcc989377ac348a066e62b8a4b0b0da40c3c7202f3ea487b2aab6a704a10b48d2d17673be0e22f6ff1be91fc05c4e0a57969b42a59d0152
25 DIST bison-3.6.3-patches-01.tar.xz 10316 BLAKE2B a99e12e69334371316e5841f8c86ed716a9fed108800a33099e99f8fe432374259bf5477188d054b6d474bc905f821939691fc97f0c891d17a79968466f0c7e3 SHA512 5c97a183232ad31f231580193ed1853aba18010703b0c22105eaf6834241c9828d180eaafbc5d1da751b2d45a7e8195493e10ca2321b35680b2b3cd4ec39e3ca
26 DIST bison-3.6.4.tar.xz 2472456 BLAKE2B d2efe7ff1a349efe5a8c79eb69aa296dbc7eb9fde549afc91986460f27976e033dd793e904dda2f919f11e011ff6c458805288dff4939dcd1ee20e2b316cb9e6 SHA512 041cd87f4ca6b012031719a49aa81e62d3c0817c6364289732e6a3cb9a0762498760e0f2ce84c03ca9e9b74eb74bdffd1b8b86d2b4a6e4a0d8c8a4b864b672dc
27 -DIST bison-3.7.1-patches-01.tar.xz 11072 BLAKE2B e68dc42fdeebd9c530d04ba906fb49dec3f2df0a68186a54de9671564ee47f9adc9ca4cb167ddaa3e15458dd339570191b2fe6debb33fdf47f29d1a7aa8d868f SHA512 d167f5278cf3136a96450b2bd664b2563c94205d7c82298951b0b08a6b4b0733101e25636f905c8d4033b5e6d1aaaddab70b7772c28e8c1d6c31a05e23df7ce5
28 -DIST bison-3.7.1.tar.xz 2605940 BLAKE2B a00e8af6a74100154d2dad1597c901f8473dbdcc57826eff947878c3568bfc9070d92857b3b3e349302e9fcfd67eb3287e7a04f6fcff3b897a6fecf43c1cd03d SHA512 9c4097b6ff26e819be14a9d4ef39f6f259c04627cd305e11da8e67897a369b2bba5ce96bf19fa5f6088670e90a9c5bc5c45172f8f482252aeec546b285dd0797
29 DIST bison-3.7.3-patches-01.tar.xz 11336 BLAKE2B 2648dacd99c64c366946dad34f9e5fd838b43257df47bf74e3a3b63b03099152b4884d9b1c5943ee5c47afb090369278874c5f2b40dfa69b3abfa4eaa556843f SHA512 a53d541a550cc45f6c677fb6fa830640b64ba2c9a4ab4e6aef1f52ecd5fa38501e2391707d66c2958dd7a139dfba74ae5734e80d15360a3aa544fdea8ecf5500
30 DIST bison-3.7.3.tar.xz 2613028 BLAKE2B a6f1063fb9441ae9102b29dc2786b7eb7104f7f13288d537080c26e7982e63f7a954abf1903f2a79a88578d88e9f3c30da8dcf12b7d6c89de0b60943186332c7 SHA512 34fe630749dc015f15a830ad13742c4b0b9163143a11e987c16954bee0451e819ec2fa7b43bd34c867e5ce72c758eb9070348d1d581c9435b9531a99caa46eed
31 DIST bison-3.7.4.tar.xz 2617336 BLAKE2B e49a4a6fba1dc93314133541c24c6619b465a81850d6b8c4ff63074df46fa7d6e1d9645797c14be32a87c0ffee6830b24e49137b6357d3284d736b407fe7d118 SHA512 3fc13ab21e28218afc9b7f1196a5607de7ff4403c4126df359848422a8057ac6c17ce4344864dd320b7c47a08d98e0f3e2929f25b06be3b1f1c867c0568f367c
32
33 diff --git a/sys-devel/bison/bison-3.1.ebuild b/sys-devel/bison/bison-3.1.ebuild
34 deleted file mode 100644
35 index 2b76fbf12f7..00000000000
36 --- a/sys-devel/bison/bison-3.1.ebuild
37 +++ /dev/null
38 @@ -1,89 +0,0 @@
39 -# Copyright 1999-2020 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI="6"
43 -
44 -inherit flag-o-matic
45 -
46 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
47 -HOMEPAGE="https://www.gnu.org/software/bison/"
48 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
49 - https://dev.gentoo.org/~whissi/dist/bison/${P}-patches-1.0.tar.xz"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
54 -IUSE="examples nls static test"
55 -RESTRICT="!test? ( test )"
56 -
57 -RDEPEND=">=sys-devel/m4-1.4.16"
58 -DEPEND="${RDEPEND}
59 - sys-devel/flex
60 - examples? ( dev-lang/perl )
61 - nls? ( sys-devel/gettext )
62 - test? ( dev-lang/perl )"
63 -
64 -DOCS=( AUTHORS ChangeLog-2012 NEWS README THANKS TODO ) # ChangeLog-1998 PACKAGING README-alpha README-release
65 -
66 -PATCHES=(
67 - "${WORKDIR}"/patches/${P}-optional-perl.patch #538300
68 - "${WORKDIR}"/patches/${P}-avoid_autoreconf.patch
69 -)
70 -
71 -src_prepare() {
72 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
73 - touch -r configure.ac old.configure.ac || die
74 - touch -r configure old.configure || die
75 -
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 - # Move to documentation directory and leave compressing for EAPI>=4
111 - mv "${ED%/}"/usr/share/${PN}/README "${ED%/}"/usr/share/doc/${PF}/README.data
112 -}
113 -
114 -pkg_postinst() {
115 - local f="${EROOT%/}/usr/bin/yacc"
116 - if [[ ! -e ${f} ]] ; then
117 - ln -s yacc.bison "${f}"
118 - fi
119 -}
120 -
121 -pkg_postrm() {
122 - # clean up the dead symlink when we get unmerged #377469
123 - local f="${EROOT%/}/usr/bin/yacc"
124 - if [[ -L ${f} && ! -e ${f} ]] ; then
125 - rm -f "${f}"
126 - fi
127 -}
128
129 diff --git a/sys-devel/bison/bison-3.7.1-r1.ebuild b/sys-devel/bison/bison-3.7.1-r1.ebuild
130 deleted file mode 100644
131 index a7ca1520993..00000000000
132 --- a/sys-devel/bison/bison-3.7.1-r1.ebuild
133 +++ /dev/null
134 @@ -1,95 +0,0 @@
135 -# Copyright 1999-2020 Gentoo Authors
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=7
139 -
140 -inherit flag-o-matic
141 -
142 -PATCH_TAR="${PN}-3.7.1-patches-01.tar.xz"
143 -
144 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
145 -HOMEPAGE="https://www.gnu.org/software/bison/"
146 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
147 - https://dev.gentoo.org/~whissi/dist/bison/${PATCH_TAR}
148 - https://dev.gentoo.org/~polynomial-c/dist/bison/${PATCH_TAR}"
149 -
150 -LICENSE="GPL-2"
151 -SLOT="0"
152 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
153 -IUSE="examples nls static test"
154 -RESTRICT="!test? ( test )"
155 -
156 -# gettext _IS_ required in RDEPEND because >=bison-3.7 links against
157 -# libtextstyle.so!!! (see bug #740754)
158 -DEPEND="
159 - >=sys-devel/m4-1.4.16
160 - >=sys-devel/gettext-0.21
161 -"
162 -RDEPEND="${DEPEND}"
163 -BDEPEND="
164 - sys-devel/flex
165 - examples? ( dev-lang/perl )
166 - test? ( dev-lang/perl )
167 -"
168 -
169 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
170 -
171 -PATCHES=(
172 - "${WORKDIR}"/patches/${PN}-3.5-optional-perl.patch #538300
173 - "${WORKDIR}"/patches/${PN}-3.7.1-avoid_autoreconf.patch
174 -)
175 -
176 -src_prepare() {
177 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
178 - touch -r configure.ac old.configure.ac || die
179 - touch -r configure old.configure || die
180 -
181 - default
182 -
183 - # Restore date after patching
184 - touch -r old.configure.ac configure.ac || die
185 - touch -r old.configure configure || die
186 -
187 - # The makefiles make the man page depend on the configure script
188 - # which we patched above. Touch it to prevent regeneration.
189 - touch doc/bison.1 || die #548778 #538300#9
190 -
191 - # Avoid regenerating the info page when the timezone is diff. #574492
192 - sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
193 -}
194 -
195 -src_configure() {
196 - use static && append-ldflags -static
197 -
198 - local myeconfargs=(
199 - $(use_enable examples)
200 - $(use_enable nls)
201 - )
202 - econf "${myeconfargs[@]}"
203 -}
204 -
205 -src_install() {
206 - default
207 -
208 - # This one is installed by dev-util/yacc
209 - mv "${ED}"/usr/bin/yacc{,.bison} || die
210 - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
211 -
212 - # We do not need liby.a
213 - rm -r "${ED}"/usr/lib* || die
214 -}
215 -
216 -pkg_postinst() {
217 - local f="${EROOT}/usr/bin/yacc"
218 - if [[ ! -e ${f} ]] ; then
219 - ln -s yacc.bison "${f}"
220 - fi
221 -}
222 -
223 -pkg_postrm() {
224 - # clean up the dead symlink when we get unmerged #377469
225 - local f="${EROOT}/usr/bin/yacc"
226 - if [[ -L ${f} && ! -e ${f} ]] ; then
227 - rm -f "${f}"
228 - fi
229 -}