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: Sat, 09 May 2020 00:43:04
Message-Id: 1588984974.c0d66ab55420715f00f9faa64f7ace2863d95014.polynomial-c@gentoo
1 commit: c0d66ab55420715f00f9faa64f7ace2863d95014
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 9 00:42:05 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat May 9 00:42:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d66ab5
7
8 sys-devel/bison: Removed old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-devel/bison/Manifest | 1 -
14 sys-devel/bison/bison-3.5.3.ebuild | 92 --------------------------------------
15 2 files changed, 93 deletions(-)
16
17 diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
18 index d9faa34f2e4..5624fdb3bda 100644
19 --- a/sys-devel/bison/Manifest
20 +++ b/sys-devel/bison/Manifest
21 @@ -5,7 +5,6 @@ DIST bison-3.3.2.tar.xz 2108612 BLAKE2B 84cf59c02ff4ba34c052ef2539cde8d5932145ab
22 DIST bison-3.4.2-patches-01.tar.xz 11152 BLAKE2B a0d0423e034cfa1dc45a542c05667a8226b535e82c260f638b67f4cf0f693b55b531bf310ed2e701ed7cc8b30f4b9ba9de61dcfcc64428fed38c9d528976b4bd SHA512 14341c52bf53d9fa58da0818626312b199ad1c14b2e0180589d6713d79caa6206070826e0ea65901cee0f6bf3122a7a9f8dad75a6c7d31cb11a31136e7d5a325
23 DIST bison-3.4.2.tar.xz 2240532 BLAKE2B fb3d90dc3f21075069684e5d9f8d6982353d909b8c62c4d9925a22319c9f486a4ad7e2629a8932449a3444580ed701357c326aa7cd778a68f66f8eeae70cdac1 SHA512 00d2b37187b93100ec4b220ce2752d12ccf68f9d0d39b380d375d36dd8a22aa1d6e60156918f95e4493f9531c5d42d8fad38fd807307b491c1ca7ca4177823d9
24 DIST bison-3.5.1-patches-01.tar.xz 9388 BLAKE2B 656cdc4fef308df3bc97c8f452ae75440909ed7eae13a8bdfc6b3b380f9d392ac3c9d300cb1e7a6d5548271b6ac63f5dfef594cbf9ef5322f97024468ed8e757 SHA512 195725726575998ff3d274d723ce3f605f9e1478601904668f165c1d9f628ed94380dfa65e546f12e3fc80b41aae7899774208510f382864dffde8545710f211
25 -DIST bison-3.5.3.tar.xz 2364904 BLAKE2B def6d9927746691ec06fa78637fe3bace015bd10e3d51389890489d864169f888aa7c7ea5400b8190766a0ab4b45f0edc1cb07dfd572b693e969e43a1b47d73e SHA512 888a1e8d4aeda3ff2d7d0a3a88b63bbfe89bdb718cc64d48c244e05fe6c6cd39526fd88143db379fef3071cf6c2dc2ab2fd69834c24acb23ed5f739584ff6308
26 DIST bison-3.5.4.tar.xz 2370252 BLAKE2B 38078224f2e8e99210b64948831942f91062c6c9a080bee627f1ab4542f01b15bf2d4ce33a9864ae37cd5fb9bcc21e7e3382f98086698be12e01916640dd11f9 SHA512 92f59122dc4d5cae1debdd5567253f269ef001c98582a5763a2051424fecb78e8710c80a09fc488f6784705e679a8bc82874bc11cc03e4eb83445cb9f418b331
27 DIST bison-3.6-patches-01.tar.xz 10140 BLAKE2B 7731f5ed15bd221f75a42961efa8a034383332344474c71db6d1c95bbeff6687f83e4a77f2330000f31787eb78d0826942a648c6f55b084632b2876e5810a5d4 SHA512 0325f4a5cf53ab4a51a4abe22bd53eb4023684d1b3bbe89de8a15769e0c76bc6746aebd36f1efa950f14228d194202b68de28b304260eeada4f85cecd1eb4675
28 DIST bison-3.6.tar.xz 2463276 BLAKE2B 4a846a16f6da7d34880215dcc4fde4699b86ad524ade111acc1aaca653e672f7a287a4d39a1a82601103fabf5a2f703f0e18f780f71196f37410322fcb0ac675 SHA512 968bbcfd1dffd10fb46ea4b3d49486d31b605f79ca88b8e2aa45fbafdb2fca3e1b0ac38564a9101681c8831cf423ea6a366f55d9497d21c05ddb3c7d66acb042
29
30 diff --git a/sys-devel/bison/bison-3.5.3.ebuild b/sys-devel/bison/bison-3.5.3.ebuild
31 deleted file mode 100644
32 index f2977ccb4e9..00000000000
33 --- a/sys-devel/bison/bison-3.5.3.ebuild
34 +++ /dev/null
35 @@ -1,92 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -inherit flag-o-matic
42 -
43 -PATCHES="${PN}-3.5.1-patches-01.tar.xz"
44 -
45 -DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
46 -HOMEPAGE="https://www.gnu.org/software/bison/"
47 -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
48 - mirror://gentoo/${PATCHES}
49 - https://dev.gentoo.org/~whissi/dist/bison/${PATCHES}
50 - https://dev.gentoo.org/~polynomial-c/dist/bison/${PATCHES}"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -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"
55 -IUSE="examples nls static test"
56 -RESTRICT="!test? ( test )"
57 -
58 -RDEPEND=">=sys-devel/m4-1.4.16"
59 -DEPEND="${RDEPEND}"
60 -BDEPEND="
61 - sys-devel/flex
62 - examples? ( dev-lang/perl )
63 - nls? ( sys-devel/gettext )
64 - test? ( dev-lang/perl )
65 -"
66 -
67 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 ChangeLog-1998 PACKAGING README-alpha README-release
68 -
69 -PATCHES=(
70 - "${WORKDIR}"/patches/${PN}-3.5-optional-perl.patch #538300
71 - "${WORKDIR}"/patches/${PN}-3.5.1-avoid_autoreconf.patch
72 -)
73 -
74 -src_prepare() {
75 - # Record date to avoid 'config.status --recheck' & regen of 'tests/package.m4'
76 - touch -r configure.ac old.configure.ac || die
77 - touch -r configure old.configure || die
78 -
79 - default
80 -
81 - # Restore date after patching
82 - touch -r old.configure.ac configure.ac || die
83 - touch -r old.configure configure || die
84 -
85 - # The makefiles make the man page depend on the configure script
86 - # which we patched above. Touch it to prevent regeneration.
87 - touch doc/bison.1 || die #548778 #538300#9
88 -
89 - # Avoid regenerating the info page when the timezone is diff. #574492
90 - sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
91 -}
92 -
93 -src_configure() {
94 - use static && append-ldflags -static
95 -
96 - local myeconfargs=(
97 - $(use_enable examples)
98 - $(use_enable nls)
99 - )
100 - econf "${myeconfargs[@]}"
101 -}
102 -
103 -src_install() {
104 - default
105 -
106 - # This one is installed by dev-util/yacc
107 - mv "${ED}"/usr/bin/yacc{,.bison} || die
108 - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die
109 -
110 - # We do not need liby.a
111 - rm -r "${ED}"/usr/lib* || die
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 -}