Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/iverilog/
Date: Sun, 28 Feb 2021 17:39:15
Message-Id: 1614533947.123a8fca20c9ad42fef0d58e2312bb7e65caab55.sam@gentoo
1 commit: 123a8fca20c9ad42fef0d58e2312bb7e65caab55
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 17:36:55 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 17:39:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123a8fca
7
8 sci-electronics/iverilog: cleanup old where possible
9
10 Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sci-electronics/iverilog/iverilog-10.3-r1.ebuild | 75 ------------------------
14 sci-electronics/iverilog/iverilog-10.3-r2.ebuild | 71 ----------------------
15 2 files changed, 146 deletions(-)
16
17 diff --git a/sci-electronics/iverilog/iverilog-10.3-r1.ebuild b/sci-electronics/iverilog/iverilog-10.3-r1.ebuild
18 deleted file mode 100644
19 index 8a107b99189..00000000000
20 --- a/sci-electronics/iverilog/iverilog-10.3-r1.ebuild
21 +++ /dev/null
22 @@ -1,75 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit autotools
29 -
30 -GITHUB_PV=$(ver_rs 1- '_')
31 -
32 -DESCRIPTION="A Verilog simulation and synthesis tool"
33 -HOMEPAGE="
34 - http://iverilog.icarus.com
35 - https://github.com/steveicarus/iverilog
36 -"
37 -
38 -if [[ ${PV} == "9999" ]] ; then
39 - inherit git-r3
40 - EGIT_REPO_URI="https://github.com/steveicarus/${PN}.git"
41 -else
42 - SRC_URI="https://github.com/steveicarus/${PN}/archive/v${GITHUB_PV}.tar.gz -> ${P}.tar.gz"
43 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
44 - S="${WORKDIR}/${PN}-${GITHUB_PV}"
45 -fi
46 -
47 -LICENSE="LGPL-2.1"
48 -SLOT="0"
49 -IUSE="examples"
50 -
51 -# If you are building from git, you will also need gperf to generate
52 -# the configure scripts.
53 -RDEPEND="
54 - sys-libs/readline:=
55 - sys-libs/zlib
56 -"
57 -
58 -DEPEND="
59 - dev-util/gperf
60 - sys-devel/bison
61 - sys-devel/flex
62 - ${RDEPEND}
63 -"
64 -
65 -PATCHES=(
66 - "${FILESDIR}"/${PN}-10.3-file-missing.patch #705412
67 - "${FILESDIR}"/${PN}-10.3-fno-common.patch #706366
68 -)
69 -
70 -src_prepare() {
71 - default
72 -
73 - # From upstreams autoconf.sh, to make it utilize the autotools eclass
74 - # Here translate the autoconf.sh, equivalent to the following code
75 - # > sh autoconf.sh
76 -
77 - # Autoconf in root ...
78 - eautoconf --force
79 - # Precompiling lexor_keyword.gperf
80 - gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
81 - # Precompiling vhdlpp/lexor_keyword.gperf
82 - cd vhdlpp || die
83 - gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
84 -}
85 -
86 -src_install() {
87 - local DOCS=( *.txt )
88 - # Default build fails with parallel jobs,
89 - # https://github.com/steveicarus/iverilog/pull/294
90 - emake installdirs DESTDIR="${D}"
91 - default
92 -
93 - if use examples; then
94 - dodoc -r examples
95 - docompress -x /usr/share/doc/${PF}/examples
96 - fi
97 -}
98
99 diff --git a/sci-electronics/iverilog/iverilog-10.3-r2.ebuild b/sci-electronics/iverilog/iverilog-10.3-r2.ebuild
100 deleted file mode 100644
101 index be0e7690095..00000000000
102 --- a/sci-electronics/iverilog/iverilog-10.3-r2.ebuild
103 +++ /dev/null
104 @@ -1,71 +0,0 @@
105 -# Copyright 1999-2020 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -inherit autotools
111 -
112 -GITHUB_PV=$(ver_rs 1- '_')
113 -
114 -DESCRIPTION="A Verilog simulation and synthesis tool"
115 -HOMEPAGE="
116 - http://iverilog.icarus.com
117 - https://github.com/steveicarus/iverilog
118 -"
119 -
120 -if [[ ${PV} == "9999" ]] ; then
121 - inherit git-r3
122 - EGIT_REPO_URI="https://github.com/steveicarus/${PN}.git"
123 -else
124 - SRC_URI="https://github.com/steveicarus/${PN}/archive/v${GITHUB_PV}.tar.gz -> ${P}.tar.gz"
125 - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
126 - S="${WORKDIR}/${PN}-${GITHUB_PV}"
127 -fi
128 -
129 -LICENSE="LGPL-2.1"
130 -SLOT="0"
131 -
132 -DEPEND="
133 - sys-libs/readline:=
134 - sys-libs/zlib
135 -"
136 -RDEPEND="${DEPEND}"
137 -BDEPEND="dev-util/gperf
138 - sys-devel/bison
139 - sys-devel/flex
140 -"
141 -
142 -PATCHES=(
143 - "${FILESDIR}"/${PN}-10.3-file-missing.patch #705412
144 - "${FILESDIR}"/${PN}-10.3-fno-common.patch #706366
145 - "${FILESDIR}"/${PN}-10.3-gen-bison-header.patch #734760
146 -)
147 -
148 -src_prepare() {
149 - default
150 -
151 - # From upstreams autoconf.sh, to make it utilize the autotools eclass
152 - # Here translate the autoconf.sh, equivalent to the following code
153 - # > sh autoconf.sh
154 -
155 - # Autoconf in root ...
156 - eautoconf
157 -
158 - # Precompiling lexor_keyword.gperf
159 - gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
160 - # Precompiling vhdlpp/lexor_keyword.gperf
161 - cd vhdlpp || die
162 - gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
163 -}
164 -
165 -src_install() {
166 - local DOCS=( *.txt )
167 -
168 - # Default build fails with parallel jobs,
169 - # https://github.com/steveicarus/iverilog/pull/294
170 - emake installdirs DESTDIR="${ED}"
171 - default
172 -
173 - dodoc -r examples
174 - docompress -x /usr/share/doc/${PF}/examples
175 -}