Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
Date: Sun, 10 Mar 2019 15:16:31
Message-Id: 1552230969.51f7025773d6221bac66e64453349b8979f8a486.zlogene@gentoo
1 commit: 51f7025773d6221bac66e64453349b8979f8a486
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 10 15:16:09 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 15:16:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f70257
7
8 dev-embedded/sdcc: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-embedded/sdcc/Manifest | 2 -
14 dev-embedded/sdcc/sdcc-3.5.0.ebuild | 115 --------------------------------
15 dev-embedded/sdcc/sdcc-3.8.0.ebuild | 128 ------------------------------------
16 3 files changed, 245 deletions(-)
17
18 diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
19 index ce848d246fa..9e9fbf6092d 100644
20 --- a/dev-embedded/sdcc/Manifest
21 +++ b/dev-embedded/sdcc/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST sdcc-doc-3.5.0.tar.bz2 1000775 BLAKE2B 30cd31990788060ebc792d98b072d4d72ce72176bf09374084246bfe02a8164ab083fb9cfe7fb6ee246b523dce7163d494f2161eb7537f972408f03bc9541426 SHA512 43de0c19ad538b4495218b04e5ab6a886fd9945c8a82c400e9a53314547f5d6ab0529989274faecc2d954f35f8fe60f338f09f93536b62a305203d2119df597e
24 DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8ddaf3ed0f9f810bf8cb9fcb5b10eb2cd96099d83c5a0fda240cdd3d11fd247e576a67a32047a4f7a705b8401637 SHA512 63319b7c344b320600e6a7c158d1a5e69abe595dfd6b8d32a95f15678c3bc2f6fe72c959516c4b1f812deb089854c6a51c31438ef6a6c7f9fcb4d419d8cce3cf
25 -DIST sdcc-src-3.5.0.tar.bz2 10504517 BLAKE2B 16102ebd55026826100b453db20e00fa599ce6ad72f1466c32deb7211f09188048f35ac8ddd5987b7a3ad5fad79f2e2ee833da60e22a26b107c5e9e0e7c9be09 SHA512 a5842945da065ab566b7e073782e92f851da48c160990d49b76ab4773fe1c14286cab399fb7f2456432e4043ee7ce07c3b149aeb103c51f85a33fdc5f8798f4e
26 DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a
27
28 diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
29 deleted file mode 100644
30 index 5a4e83b451d..00000000000
31 --- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
32 +++ /dev/null
33 @@ -1,115 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="5"
38 -
39 -inherit eutils toolchain-funcs
40 -
41 -if [[ ${PV} == "9999" ]] ; then
42 - ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
43 - inherit subversion
44 - docs_compile() { return 0; }
45 -else
46 - SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
47 - doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
48 - KEYWORDS="amd64 x86"
49 - docs_compile() { return 1; }
50 -fi
51 -
52 -DESCRIPTION="Small device C compiler (for various microprocessors)"
53 -HOMEPAGE="http://sdcc.sourceforge.net/"
54 -
55 -LICENSE="GPL-2 ZLIB
56 - non-free? ( MicroChip-SDCC )
57 - packihx? ( public-domain )"
58 -SLOT="0"
59 -IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8
60 -ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc"
61 -
62 -REQUIRED_USE="
63 - mcs51? ( sdbinutils )
64 - ds390? ( sdbinutils )
65 - ds400? ( sdbinutils )
66 - hc08? ( sdbinutils )
67 - s08? ( sdbinutils )"
68 -
69 -RESTRICT="strip"
70 -
71 -RDEPEND="dev-libs/boost:=
72 - sys-libs/ncurses:=
73 - sys-libs/readline:0=
74 - >=dev-embedded/gputils-0.13.7
75 - boehm-gc? ( dev-libs/boehm-gc:= )
76 - !dev-embedded/sdcc-svn"
77 -DEPEND="${RDEPEND}
78 - dev-util/gperf"
79 -if docs_compile ; then
80 - DEPEND+="
81 - doc? (
82 - >=app-office/lyx-1.3.4
83 - dev-tex/latex2html
84 - )"
85 -fi
86 -
87 -src_prepare() {
88 - # Fix conflicting variable names between Gentoo and sdcc
89 - find \
90 - '(' -name 'Makefile*.in' -o -name 'configure' ')' \
91 - -exec sed -r -i \
92 - -e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
93 - {} + || die
94 -
95 - # https://sourceforge.net/p/sdcc/bugs/2398/
96 - sed -i '1iAR = @AR@' Makefile.common.in || die
97 - sed -i \
98 - -e "/^AR =/s:=.*:=$(tc-getAR):" \
99 - support/cpp/Makefile.in || die
100 -
101 - # Make sure timestamps don't get messed up.
102 - [[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
103 -}
104 -
105 -src_configure() {
106 - # sdbinutils subdir doesn't pass down --docdir properly, so need to
107 - # expand $(datarootdir) ourselves.
108 - econf \
109 - ac_cv_prog_STRIP=true \
110 - ac_cv_prog_AS="$(tc-getAS)" \
111 - ac_cv_prog_AR="$(tc-getAR)" \
112 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
113 - --without-ccache \
114 - $(use_enable mcs51 mcs51-port) \
115 - $(use_enable z80 z80-port) \
116 - $(use_enable z180 z180-port) \
117 - $(use_enable r2k r2k-port) \
118 - $(use_enable r3ka r3ka-port) \
119 - $(use_enable gbz80 gbz80-port) \
120 - $(use_enable tlcs90 tlcs90-port) \
121 - $(use_enable ds390 ds390-port) \
122 - $(use_enable ds400 ds400-port) \
123 - $(use_enable pic14 pic14-port) \
124 - $(use_enable pic16 pic16-port) \
125 - $(use_enable hc08 hc08-port) \
126 - $(use_enable s08 s08-port) \
127 - $(use_enable stm8 stm8-port) \
128 - $(use_enable ucsim ucsim) \
129 - $(use_enable device-lib device-lib) \
130 - $(use_enable packihx packihx) \
131 - $(use_enable sdcpp sdcpp) \
132 - $(use_enable sdcdb sdcdb) \
133 - $(use_enable sdbinutils sdbinutils) \
134 - $(use_enable non-free non-free) \
135 - $(use_enable boehm-gc libgc) \
136 - $(docs_compile && use_enable doc || echo --disable-doc)
137 -}
138 -
139 -src_install() {
140 - default
141 - dodoc doc/*.txt
142 - find "${D}" -name .deps -exec rm -rf {} + || die
143 -
144 - if use doc ; then
145 - docs_compile || cd "${WORKDIR}"/doc
146 - dohtml -r *
147 - fi
148 -}
149
150 diff --git a/dev-embedded/sdcc/sdcc-3.8.0.ebuild b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
151 deleted file mode 100644
152 index 570c8091c70..00000000000
153 --- a/dev-embedded/sdcc/sdcc-3.8.0.ebuild
154 +++ /dev/null
155 @@ -1,128 +0,0 @@
156 -# Copyright 1999-2019 Gentoo Authors
157 -# Distributed under the terms of the GNU General Public License v2
158 -
159 -EAPI=6
160 -inherit autotools toolchain-funcs
161 -
162 -if [[ ${PV} == "9999" ]] ; then
163 - ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
164 - inherit subversion
165 -else
166 - SRC_URI="
167 - mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
168 - doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
169 - "
170 - KEYWORDS="~amd64 ~x86"
171 -fi
172 -
173 -DESCRIPTION="Small device C compiler (for various microprocessors)"
174 -HOMEPAGE="http://sdcc.sourceforge.net/"
175 -
176 -LICENSE="
177 - GPL-2 ZLIB
178 - non-free? ( MicroChip-SDCC )
179 - packihx? ( public-domain )
180 -"
181 -SLOT="0"
182 -SDCC_PORTS="
183 - avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
184 - z80
185 -"
186 -IUSE="
187 - ${SDCC_PORTS}
188 - +boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
189 -"
190 -
191 -REQUIRED_USE="
192 - ds390? ( sdbinutils )
193 - ds400? ( sdbinutils )
194 - hc08? ( sdbinutils )
195 - mcs51? ( sdbinutils )
196 - s08? ( sdbinutils )
197 - || ( ${SDCC_PORTS} )
198 -"
199 -
200 -RESTRICT="strip"
201 -
202 -RDEPEND="
203 - dev-libs/boost:=
204 - sys-libs/ncurses:=
205 - sys-libs/readline:0=
206 - >=dev-embedded/gputils-0.13.7
207 - boehm-gc? ( dev-libs/boehm-gc:= )
208 - !dev-embedded/sdcc-svn
209 -"
210 -DEPEND="
211 - ${RDEPEND}
212 - dev-util/gperf
213 -"
214 -PATCHES=(
215 - "${FILESDIR}"/${PN}-3.8.0-override-override.patch
216 -)
217 -
218 -src_prepare() {
219 - # Fix conflicting variable names between Gentoo and sdcc
220 - find \
221 - '(' -name 'Makefile*.in' -o -name 'configure' ')' \
222 - -exec sed -r -i \
223 - -e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
224 - {} + || die
225 -
226 - # https://sourceforge.net/p/sdcc/bugs/2398/
227 - sed -i -e '1iAR = @AR@' Makefile.common.in || die
228 - sed -i \
229 - -e "/^AR =/s:=.*:=$(tc-getAR):" \
230 - support/cpp/Makefile.in || die
231 -
232 - # Make sure timestamps don't get messed up.
233 - [[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
234 -
235 - default
236 - eautoreconf
237 -}
238 -
239 -src_configure() {
240 - # sdbinutils subdir doesn't pass down --docdir properly, so need to
241 - # expand $(datarootdir) ourselves.
242 - econf \
243 - ac_cv_prog_AR="$(tc-getAR)" \
244 - ac_cv_prog_AS="$(tc-getAS)" \
245 - ac_cv_prog_STRIP=true \
246 - $(use_enable avr avr-port) \
247 - $(use_enable boehm-gc libgc) \
248 - $(use_enable device-lib) \
249 - $(use_enable ds390 ds390-port) \
250 - $(use_enable ds400 ds400-port) \
251 - $(use_enable gbz80 gbz80-port) \
252 - $(use_enable hc08 hc08-port) \
253 - $(use_enable mcs51 mcs51-port) \
254 - $(use_enable non-free) \
255 - $(use_enable packihx) \
256 - $(use_enable pic14 pic14-port) \
257 - $(use_enable pic16 pic16-port) \
258 - $(use_enable r2k r2k-port) \
259 - $(use_enable r3ka r3ka-port) \
260 - $(use_enable s08 s08-port) \
261 - $(use_enable sdbinutils) \
262 - $(use_enable sdcdb) \
263 - $(use_enable sdcpp) \
264 - $(use_enable stm8 stm8-port) \
265 - $(use_enable tlcs90 tlcs90-port) \
266 - $(use_enable ucsim) \
267 - $(use_enable z180 z180-port) \
268 - $(use_enable z80 z80-port) \
269 - --disable-doc \
270 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
271 - --without-ccache
272 -}
273 -
274 -src_install() {
275 - default
276 - dodoc doc/*.txt
277 - find "${D}" -name .deps -exec rm -rf {} + || die
278 -
279 - if use doc && [[ ${PV} != "9999" ]]; then
280 - cd "${WORKDIR}"/doc
281 - dodoc -r *
282 - fi
283 -}