Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/iverilog/
Date: Sun, 05 Jan 2020 10:10:27
Message-Id: 1578218985.4bbf7865096bfbbeb861ac51585e6fb3ba9f6ded.juippis@gentoo
1 commit: 4bbf7865096bfbbeb861ac51585e6fb3ba9f6ded
2 Author: Huang Rui <vowstar <AT> gmail <DOT> com>
3 AuthorDate: Mon Dec 23 02:45:38 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 10:09:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bbf7865
7
8 sci-electronics/iverilog: bump to 10.3
9
10 Bump iverilog version to 10.3
11
12 Follow these URL:
13 * http://iverilog.icarus.com
14 * https://github.com/steveicarus/iverilog
15 Update LICENSE to LGPL-2.1
16 Rewrite ebuild to download file from iverilog official github repo
17 Update maintainer list, add proxy-maint
18 Add github upstream https://github.com/steveicarus/iverilog
19 Bump the version with bugfixes
20 Replace autoconf.sh to make it utilize the autotools eclass
21 Fix upstream parallel compilation bug
22 Add https://github.com/steveicarus/iverilog in HOMEPAGE array
23 Happy new year 2020
24
25 Tested from my overlay:
26 https://github.com/vowstar/vowstar-overlay/
27
28 Closes: https://bugs.gentoo.org/687080
29 Closes: https://bugs.gentoo.org/701122
30 Closes: https://bugs.gentoo.org/704344
31 Package-Manager: Portage-2.3.82, Repoman-2.3.20
32 Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
33 Closes: https://github.com/gentoo/gentoo/pull/14096
34 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
35
36 sci-electronics/iverilog/Manifest | 1 +
37 sci-electronics/iverilog/iverilog-10.3.ebuild | 68 +++++++++++++++++++++++++++
38 sci-electronics/iverilog/metadata.xml | 31 ++++++++----
39 3 files changed, 90 insertions(+), 10 deletions(-)
40
41 diff --git a/sci-electronics/iverilog/Manifest b/sci-electronics/iverilog/Manifest
42 index 2459fd7d45c..19e0b1a4411 100644
43 --- a/sci-electronics/iverilog/Manifest
44 +++ b/sci-electronics/iverilog/Manifest
45 @@ -1,3 +1,4 @@
46 +DIST iverilog-10.3.tar.gz 1600835 BLAKE2B 107c57c61fb27c18f4020f7853bf6ca83d1a86fdc73c57ea207828baf6b7a26d42e43ce7b33580f050a4c0b8f63bca6accecf678323a3bbbee1eb9c1d8fa2caa SHA512 67076e19a208576c21a0462ff7d15d00a9d47740c47518a5523bd928b3118360d85eb84c317963717d15e5246ece3727259f6ff3baf59e195340530cc9086a1d
47 DIST verilog-0.9.6.tar.gz 1219982 BLAKE2B 12f7dfb1ab8b7e4524cf0a3061ce801bfa741015fc1446aef7ffe51c42d76b5d0578e78ce13cd8c3fb6bac580e9da1ed11ca03e1fd02f8cb75dd74425546f851 SHA512 63c18f211eb9711547db65b859551063129cf18acb1196eaa88562f194231079fe929a6f7b8fbe2160863c521f02dde079e792f1b0bbe1c2514deafd55d5288c
48 DIST verilog-0.9.7.tar.gz 1238088 BLAKE2B c0b173b4857abc0d35ad05d9f11d5265763c92e625aadb1b487978c40e0679725b8e6de0fc05cc8e4bc7a6db6e1d9abacf886942b05e27d8513b9586cca156f9 SHA512 1a81f132c667f5cd33a11156364a366806ef9b6ef59b86f69df852af79cc92db17df8db0bace4e3c14929b0110df0aa7d83f35f664057e715842acf7bd21c1f5
49 DIST verilog-10.2.tar.gz 1695227 BLAKE2B ea2488de55ef60a248e7f5ffd5e06c6d86d57f3cff4536cb64a727ab70d8868847e53beec093e21243a1e81ede021b0ccde771d66ce1d986f737b5d925aaff11 SHA512 21e0861ee994daf0a98d0da3e0ad665e37cba4669faa873ae57d05eb41794b6cc2948c88cc07ebe1e9266850ad2bad189096ae6911b9c4064f772279d0901aef
50
51 diff --git a/sci-electronics/iverilog/iverilog-10.3.ebuild b/sci-electronics/iverilog/iverilog-10.3.ebuild
52 new file mode 100644
53 index 00000000000..145ceb786d7
54 --- /dev/null
55 +++ b/sci-electronics/iverilog/iverilog-10.3.ebuild
56 @@ -0,0 +1,68 @@
57 +# Copyright 1999-2020 Gentoo Authors
58 +# Distributed under the terms of the GNU General Public License v2
59 +
60 +EAPI=7
61 +
62 +inherit autotools
63 +
64 +GITHUB_PV=$(ver_rs 1- '_')
65 +
66 +DESCRIPTION="A Verilog simulation and synthesis tool"
67 +HOMEPAGE="
68 + http://iverilog.icarus.com
69 + https://github.com/steveicarus/iverilog
70 +"
71 +
72 +if [[ ${PV} == "9999" ]] ; then
73 + inherit git-r3
74 + EGIT_REPO_URI="https://github.com/steveicarus/${PN}.git"
75 +else
76 + SRC_URI="https://github.com/steveicarus/${PN}/archive/v${GITHUB_PV}.tar.gz -> ${P}.tar.gz"
77 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
78 + S="${WORKDIR}/${PN}-${GITHUB_PV}"
79 +fi
80 +
81 +LICENSE="LGPL-2.1"
82 +SLOT="0"
83 +IUSE="examples"
84 +
85 +# If you are building from git, you will also need gperf to generate
86 +# the configure scripts.
87 +RDEPEND="
88 + sys-libs/readline:0
89 + sys-libs/zlib
90 +"
91 +
92 +DEPEND="
93 + dev-util/gperf
94 + ${RDEPEND}
95 +"
96 +
97 +src_prepare() {
98 + default
99 +
100 + # From upstreams autoconf.sh, to make it utilize the autotools eclass
101 + # Here translate the autoconf.sh, equivalent to the following code
102 + # > sh autoconf.sh
103 +
104 + # Fix build fail problem when using large job number, make it parallel safe
105 + echo ".NOTPARALLEL: install" >> ./Makefile.in || die
106 +
107 + # Autoconf in root ...
108 + eautoconf --force
109 + # Precompiling lexor_keyword.gperf
110 + gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
111 + # Precompiling vhdlpp/lexor_keyword.gperf
112 + cd vhdlpp || die
113 + 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
114 +}
115 +
116 +src_install() {
117 + local DOCS=( *.txt )
118 + default
119 +
120 + if use examples; then
121 + dodoc -r examples
122 + docompress -x /usr/share/doc/${PF}/examples
123 + fi
124 +}
125
126 diff --git a/sci-electronics/iverilog/metadata.xml b/sci-electronics/iverilog/metadata.xml
127 index 21d969b3bbd..edc7fde50a3 100644
128 --- a/sci-electronics/iverilog/metadata.xml
129 +++ b/sci-electronics/iverilog/metadata.xml
130 @@ -1,14 +1,25 @@
131 <?xml version="1.0" encoding="UTF-8"?>
132 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
133 <pkgmetadata>
134 - <maintainer type="project">
135 - <email>sci-electronics@g.o</email>
136 - <name>Gentoo Electronics Project</name>
137 - </maintainer>
138 - <longdescription>
139 - Icarus Verilog is a Verilog simulation and synthesis tool. It operates as a
140 - compiler, compiling source code writen in Verilog (IEEE-1364) into some target
141 - format. The compiler proper is intended to parse and elaborate design
142 - descriptions written to the IEEE standard IEEE Std 1364-2001.
143 - </longdescription>
144 + <maintainer type="person">
145 + <email>vowstar@×××××.com</email>
146 + <name>Huang Rui</name>
147 + </maintainer>
148 + <maintainer type="project">
149 + <email>sci-electronics@g.o</email>
150 + <name>Gentoo Electronics Project</name>
151 + </maintainer>
152 + <maintainer type="project">
153 + <email>proxy-maint@g.o</email>
154 + <name>Proxy Maintainers</name>
155 + </maintainer>
156 + <upstream>
157 + <remote-id type="github">steveicarus/iverilog</remote-id>
158 + </upstream>
159 + <longdescription>
160 + Icarus Verilog is a Verilog simulation and synthesis tool. It operates as a
161 + compiler, compiling source code writen in Verilog (IEEE-1364) into some target
162 + format. The compiler proper is intended to parse and elaborate design
163 + descriptions written to the IEEE standard IEEE Std 1364-2001.
164 + </longdescription>
165 </pkgmetadata>