Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bison/
Date: Mon, 07 Sep 2020 20:51:46
Message-Id: 1599511898.21d9b2059a69ae9c9db070dc030b9d7dacc1c795.polynomial-c@gentoo
1 commit: 21d9b2059a69ae9c9db070dc030b9d7dacc1c795
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 20:46:31 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 20:51:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d9b205
7
8 sys-devel/bison: Removed old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-devel/bison/Manifest | 2 -
14 sys-devel/bison/bison-3.7.ebuild | 92 ----------------------------------------
15 2 files changed, 94 deletions(-)
16
17 diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
18 index a91534b2c76..8fe2ad7b3d5 100644
19 --- a/sys-devel/bison/Manifest
20 +++ b/sys-devel/bison/Manifest
21 @@ -2,9 +2,7 @@ DIST bison-3.1-patches-1.0.tar.xz 7268 BLAKE2B 9195c00be1706664762598926913cd8fc
22 DIST bison-3.1.tar.xz 1990536 BLAKE2B 6223642f2934927ca118410e2655f7c677bb1d3d981875ca2224f5aa344a43efbbbea34e79dff94ea489853e505b1d7f5920f4d159d1464ce61d8956ca0401ad SHA512 2a8e217ffb55ed5b1fcc989377ac348a066e62b8a4b0b0da40c3c7202f3ea487b2aab6a704a10b48d2d17673be0e22f6ff1be91fc05c4e0a57969b42a59d0152
23 DIST bison-3.6.3-patches-01.tar.xz 10316 BLAKE2B a99e12e69334371316e5841f8c86ed716a9fed108800a33099e99f8fe432374259bf5477188d054b6d474bc905f821939691fc97f0c891d17a79968466f0c7e3 SHA512 5c97a183232ad31f231580193ed1853aba18010703b0c22105eaf6834241c9828d180eaafbc5d1da751b2d45a7e8195493e10ca2321b35680b2b3cd4ec39e3ca
24 DIST bison-3.6.4.tar.xz 2472456 BLAKE2B d2efe7ff1a349efe5a8c79eb69aa296dbc7eb9fde549afc91986460f27976e033dd793e904dda2f919f11e011ff6c458805288dff4939dcd1ee20e2b316cb9e6 SHA512 041cd87f4ca6b012031719a49aa81e62d3c0817c6364289732e6a3cb9a0762498760e0f2ce84c03ca9e9b74eb74bdffd1b8b86d2b4a6e4a0d8c8a4b864b672dc
25 -DIST bison-3.7-patches-01.tar.xz 10468 BLAKE2B 62d422fa0654d6d3e9f829edcfb9a6f0eb5ae60997aa9362bbbe280fc95d86114ff9399586acfa94f2a52564b4f745ca778ce016f102e2981caefb96575f56e8 SHA512 2703963df71871b6e4973d79f69ee95aa6cc22c342d852f136b16d636f90285f6921064616db66f10f29dbfce884a23f79c005e7ceaaf9ccd9a2e1c749b337ac
26 DIST bison-3.7.1-patches-01.tar.xz 11072 BLAKE2B e68dc42fdeebd9c530d04ba906fb49dec3f2df0a68186a54de9671564ee47f9adc9ca4cb167ddaa3e15458dd339570191b2fe6debb33fdf47f29d1a7aa8d868f SHA512 d167f5278cf3136a96450b2bd664b2563c94205d7c82298951b0b08a6b4b0733101e25636f905c8d4033b5e6d1aaaddab70b7772c28e8c1d6c31a05e23df7ce5
27 DIST bison-3.7.1.tar.xz 2605940 BLAKE2B a00e8af6a74100154d2dad1597c901f8473dbdcc57826eff947878c3568bfc9070d92857b3b3e349302e9fcfd67eb3287e7a04f6fcff3b897a6fecf43c1cd03d SHA512 9c4097b6ff26e819be14a9d4ef39f6f259c04627cd305e11da8e67897a369b2bba5ce96bf19fa5f6088670e90a9c5bc5c45172f8f482252aeec546b285dd0797
28 DIST bison-3.7.2-patches-02.tar.xz 99664 BLAKE2B 8f719265d16b42f398beef9ff9fde01c5f86d301421f64f8ac801cbc55af8d1258e1ae0f90e67b4de7bb8b25e99480acacc73815534f25e116f2f2b920ee9697 SHA512 bd99762a1f244755499efb400d2bb4399a5d21126eff253533b7f1320c8a4cd8513485cd176c90932029d720369182eb595ff36fa32ccaaa8d7048e46921e79b
29 DIST bison-3.7.2.tar.xz 2613404 BLAKE2B 7543c7df4496fbe6b9ab18ffb643a0d58eb63d0d1e91d67eaa6f9a7c805180c1cef02a640fd41eec228782a6758f82058dc4a45c13e3730b740883efad77498d SHA512 42eb501c246e9b4b24cb212c8da538b11b1944b997314105e67f88f22d73b7d00cf19b21e086aa7523630a2a24e1fd70a89d85a7e3003783990e08d31f711a27
30 -DIST bison-3.7.tar.xz 2601220 BLAKE2B 3ac140048baacebce47a9090e916815e6c30d9c8b0f9fe61a3724b46fbfddf5b8bf94be2bc533a718d84bdc8c73d579b5e43d576efd488a6f5b52424883bc5cf SHA512 f6c8f1522849b65046844bd51953b4f1e2c32818d8bca0b8e4a1035e72d6731d8a66bc307d4b20d1a576cac6cbe10aa1c66829112327f37938ace165e154ba6a
31
32 diff --git a/sys-devel/bison/bison-3.7.ebuild b/sys-devel/bison/bison-3.7.ebuild
33 deleted file mode 100644
34 index aa517bbd9c6..00000000000
35 --- a/sys-devel/bison/bison-3.7.ebuild
36 +++ /dev/null
37 @@ -1,92 +0,0 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=7
42 -
43 -inherit flag-o-matic
44 -
45 -PATCH_TAR="${PN}-3.7-patches-01.tar.xz"
46 -
47 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
48 -HOMEPAGE="https://www.gnu.org/software/bison/"
49 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
50 - mirror://gentoo/${PATCH_TAR}
51 - https://dev.gentoo.org/~whissi/dist/bison/${PATCH_TAR}
52 - https://dev.gentoo.org/~polynomial-c/dist/bison/${PATCH_TAR}"
53 -
54 -LICENSE="GPL-2"
55 -SLOT="0"
56 -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"
57 -IUSE="examples nls static test"
58 -RESTRICT="!test? ( test )"
59 -
60 -RDEPEND=">=sys-devel/m4-1.4.16"
61 -DEPEND="${RDEPEND}"
62 -BDEPEND="
63 - sys-devel/flex
64 - >=sys-devel/gettext-0.21
65 - examples? ( dev-lang/perl )
66 - test? ( dev-lang/perl )
67 -"
68 -
69 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
70 -
71 -PATCHES=(
72 - "${WORKDIR}"/patches/${PN}-3.5-optional-perl.patch #538300
73 - "${WORKDIR}"/patches/${PN}-3.7-avoid_autoreconf.patch
74 -)
75 -
76 -src_prepare() {
77 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
78 - touch -r configure.ac old.configure.ac || die
79 - touch -r configure old.configure || die
80 -
81 - default
82 -
83 - # Restore date after patching
84 - touch -r old.configure.ac configure.ac || die
85 - touch -r old.configure configure || die
86 -
87 - # The makefiles make the man page depend on the configure script
88 - # which we patched above. Touch it to prevent regeneration.
89 - touch doc/bison.1 || die #548778 #538300#9
90 -
91 - # Avoid regenerating the info page when the timezone is diff. #574492
92 - sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
93 -}
94 -
95 -src_configure() {
96 - use static && append-ldflags -static
97 -
98 - local myeconfargs=(
99 - $(use_enable examples)
100 - $(use_enable nls)
101 - )
102 - econf "${myeconfargs[@]}"
103 -}
104 -
105 -src_install() {
106 - default
107 -
108 - # This one is installed by dev-util/yacc
109 - mv "${ED}"/usr/bin/yacc{,.bison} || die
110 - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
111 -
112 - # We do not need liby.a
113 - rm -r "${ED}"/usr/lib* || die
114 -}
115 -
116 -pkg_postinst() {
117 - local f="${EROOT}/usr/bin/yacc"
118 - if [[ ! -e ${f} ]] ; then
119 - ln -s yacc.bison "${f}"
120 - fi
121 -}
122 -
123 -pkg_postrm() {
124 - # clean up the dead symlink when we get unmerged #377469
125 - local f="${EROOT}/usr/bin/yacc"
126 - if [[ -L ${f} && ! -e ${f} ]] ; then
127 - rm -f "${f}"
128 - fi
129 -}