Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/catalyst: catalyst-2.0.15.ebuild catalyst-9999.ebuild catalyst-2.9999.ebuild ChangeLog
Date: Thu, 02 Jan 2014 20:40:25
Message-Id: 20140102204019.ED1AB2004C@flycatcher.gentoo.org
1 jmbsvicetto 14/01/02 20:40:19
2
3 Modified: catalyst-2.0.15.ebuild catalyst-9999.ebuild
4 catalyst-2.9999.ebuild ChangeLog
5 Log:
6 Synchonize release and live ebuilds (2.9999 is special as it's tracking the 3.0 branch that provides a python install). 2.0.15 and earlier will be dropped when 2.0.16 is added to the tree.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
9
10 Revision Changes Path
11 1.2 dev-util/catalyst/catalyst-2.0.15.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild?r1=1.1&r2=1.2
16
17 Index: catalyst-2.0.15.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- catalyst-2.0.15.ebuild 14 Nov 2013 00:46:40 -0000 1.1
24 +++ catalyst-2.0.15.ebuild 2 Jan 2014 20:40:19 -0000 1.2
25 @@ -1,40 +1,52 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild,v 1.1 2013/11/14 00:46:40 mattst88 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.15.ebuild,v 1.2 2014/01/02 20:40:19 jmbsvicetto Exp $
31
32 -EAPI=3
33 -PYTHON_DEPEND="2"
34 +EAPI=5
35
36 if [[ ${PV} == *9999* ]]; then
37 + SRC_ECLASS="git-2"
38 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
39 - inherit git-2
40 + EGIT_MASTER="master"
41 SRC_URI=""
42 - S="${WORKDIR}/${PN}"
43 KEYWORDS=""
44 + S="${WORKDIR}/${PN}"
45 else
46 SRC_URI="mirror://gentoo/${P}.tar.bz2
47 - http://dev.gentoo.org/~mattst88/distfiles/${P}.tar.bz2"
48 + http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
49 + http://dev.gentoo.org/~mattst88/distfiles/${P}.tar.bz2
50 + http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2"
51 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
52 fi
53 -inherit eutils multilib python
54
55 -DESCRIPTION="release metatool used for creating releases based on Gentoo Linux"
56 +PYTHON_COMPAT=( python{2_6,2_7} )
57 +
58 +inherit eutils multilib python-single-r1 ${SRC_ECLASS}
59 +
60 +DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
61 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 -RESTRICT=""
66 IUSE="ccache kernel_linux"
67
68 -DEPEND="app-text/asciidoc"
69 -RDEPEND="app-arch/lbzip2
70 +DEPEND="
71 + app-text/asciidoc
72 + ${PYTHON_DEPS}
73 +"
74 +RDEPEND="
75 + app-arch/lbzip2
76 app-crypt/shash
77 virtual/cdrtools
78 - x86? ( >=sys-boot/syslinux-3.72 )
79 amd64? ( >=sys-boot/syslinux-3.72 )
80 - ccache? ( dev-util/ccache )
81 ia64? ( sys-fs/dosfstools )
82 - kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
83 + x86? ( >=sys-boot/syslinux-3.72 )
84 + ccache? ( dev-util/ccache )
85 + kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
86 + ${PYTHON_DEPS}
87 +"
88 +
89 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
90
91 pkg_setup() {
92 if use ccache ; then
93 @@ -44,39 +56,41 @@
94 ewarn "If this is not what you intended,"
95 ewarn "then you should add ccache to your USE."
96 fi
97 +
98 echo
99 einfo "The template spec files are now installed by default. You can find"
100 einfo "them under /usr/share/doc/${PF}/examples"
101 einfo "and they are considered to be the authorative source of information"
102 einfo "on catalyst."
103 echo
104 - if [[ ${PV} == *9999* ]]; then
105 - ewarn "The ${EGIT_BRANCH:-master} branch (what you get with this ${PV} ebuild) contains"
106 - ewarn "work-in-progress code. Be aware that it's likely that it will not"
107 - ewarn "be in a working state at any given point. Please do not file bugs"
108 - ewarn "until you have posted on the gentoo-catalyst mailing list and we"
109 - ewarn "have asked you to do so."
110 - fi
111 - python_set_active_version 2
112 -}
113
114 -src_prepare() {
115 - python_convert_shebangs 2 catalyst modules/catalyst_lock.py
116 + python-single-r1_pkg_setup
117 }
118
119 src_install() {
120 insinto /usr/$(get_libdir)/${PN}
121 exeinto /usr/$(get_libdir)/${PN}
122 doexe catalyst || die "copying catalyst"
123 +
124 if [[ ${PV} == 3.9999* ]]; then
125 doins -r modules files || die "copying files"
126 else
127 doins -r arch modules livecd || die "copying files"
128 fi
129 +
130 for x in targets/*; do
131 exeinto /usr/$(get_libdir)/${PN}/$x
132 doexe $x/* || die "copying ${x}"
133 done
134 +
135 + # Here is where we actually enable ccache
136 + use ccache && \
137 + sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' \
138 + files/catalyst.conf
139 +
140 + sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
141 + files/catalyst.conf
142 +
143 make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
144 insinto /etc/catalyst
145 doins files/catalyst.conf files/catalystrc || die "copying configuration"
146 @@ -84,17 +98,13 @@
147 doins examples/* || die
148 dodoc README AUTHORS
149 doman files/catalyst.1 files/catalyst-spec.5
150 - # Here is where we actually enable ccache
151 - use ccache && \
152 - dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
153 - /etc/catalyst/catalyst.conf
154 - dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
155 - /etc/catalyst/catalyst.conf
156 +
157 + python_fix_shebang "${ED}usr/$(get_libdir)/catalyst/catalyst"
158 + python_optimize "${ED}"
159 }
160
161 pkg_postinst() {
162 einfo "You can find more information about catalyst by checking out the"
163 einfo "catalyst project page at:"
164 einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
165 - echo
166 }
167
168
169
170 1.30 dev-util/catalyst/catalyst-9999.ebuild
171
172 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild?rev=1.30&view=markup
173 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild?rev=1.30&content-type=text/plain
174 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild?r1=1.29&r2=1.30
175
176 Index: catalyst-9999.ebuild
177 ===================================================================
178 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild,v
179 retrieving revision 1.29
180 retrieving revision 1.30
181 diff -u -r1.29 -r1.30
182 --- catalyst-9999.ebuild 31 Jul 2013 04:34:00 -0000 1.29
183 +++ catalyst-9999.ebuild 2 Jan 2014 20:40:19 -0000 1.30
184 @@ -1,40 +1,51 @@
185 -# Copyright 1999-2013 Gentoo Foundation
186 +# Copyright 1999-2014 Gentoo Foundation
187 # Distributed under the terms of the GNU General Public License v2
188 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild,v 1.29 2013/07/31 04:34:00 mattst88 Exp $
189 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild,v 1.30 2014/01/02 20:40:19 jmbsvicetto Exp $
190
191 -EAPI=3
192 -PYTHON_DEPEND="2"
193 +EAPI=5
194
195 if [[ ${PV} == *9999* ]]; then
196 + SRC_ECLASS="git-2"
197 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
198 - inherit git-2
199 + EGIT_MASTER="master"
200 SRC_URI=""
201 - S="${WORKDIR}/${PN}"
202 KEYWORDS=""
203 + S="${WORKDIR}/${PN}"
204 else
205 SRC_URI="mirror://gentoo/${P}.tar.bz2
206 - http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2"
207 + http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
208 + http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2"
209 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
210 fi
211 -inherit eutils multilib python
212
213 -DESCRIPTION="release metatool used for creating releases based on Gentoo Linux"
214 +PYTHON_COMPAT=( python{2_6,2_7} )
215 +
216 +inherit eutils multilib python-single-r1 ${SRC_ECLASS}
217 +
218 +DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
219 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
220
221 LICENSE="GPL-2"
222 SLOT="0"
223 -RESTRICT=""
224 IUSE="ccache kernel_linux"
225
226 -DEPEND="app-text/asciidoc"
227 -RDEPEND="app-arch/lbzip2
228 +DEPEND="
229 + app-text/asciidoc
230 + ${PYTHON_DEPS}
231 +"
232 +RDEPEND="
233 + app-arch/lbzip2
234 app-crypt/shash
235 virtual/cdrtools
236 - x86? ( >=sys-boot/syslinux-3.72 )
237 amd64? ( >=sys-boot/syslinux-3.72 )
238 - ccache? ( dev-util/ccache )
239 ia64? ( sys-fs/dosfstools )
240 - kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
241 + x86? ( >=sys-boot/syslinux-3.72 )
242 + ccache? ( dev-util/ccache )
243 + kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
244 + ${PYTHON_DEPS}
245 +"
246 +
247 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
248
249 pkg_setup() {
250 if use ccache ; then
251 @@ -44,39 +55,41 @@
252 ewarn "If this is not what you intended,"
253 ewarn "then you should add ccache to your USE."
254 fi
255 +
256 echo
257 einfo "The template spec files are now installed by default. You can find"
258 einfo "them under /usr/share/doc/${PF}/examples"
259 einfo "and they are considered to be the authorative source of information"
260 einfo "on catalyst."
261 echo
262 - if [[ ${PV} == *9999* ]]; then
263 - ewarn "The ${EGIT_BRANCH:-master} branch (what you get with this ${PV} ebuild) contains"
264 - ewarn "work-in-progress code. Be aware that it's likely that it will not"
265 - ewarn "be in a working state at any given point. Please do not file bugs"
266 - ewarn "until you have posted on the gentoo-catalyst mailing list and we"
267 - ewarn "have asked you to do so."
268 - fi
269 - python_set_active_version 2
270 -}
271
272 -src_prepare() {
273 - python_convert_shebangs 2 catalyst modules/catalyst_lock.py
274 + python-single-r1_pkg_setup
275 }
276
277 src_install() {
278 insinto /usr/$(get_libdir)/${PN}
279 exeinto /usr/$(get_libdir)/${PN}
280 doexe catalyst || die "copying catalyst"
281 +
282 if [[ ${PV} == 3.9999* ]]; then
283 doins -r modules files || die "copying files"
284 else
285 doins -r arch modules livecd || die "copying files"
286 fi
287 +
288 for x in targets/*; do
289 exeinto /usr/$(get_libdir)/${PN}/$x
290 doexe $x/* || die "copying ${x}"
291 done
292 +
293 + # Here is where we actually enable ccache
294 + use ccache && \
295 + sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' \
296 + files/catalyst.conf
297 +
298 + sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
299 + files/catalyst.conf
300 +
301 make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
302 insinto /etc/catalyst
303 doins files/catalyst.conf files/catalystrc || die "copying configuration"
304 @@ -84,17 +97,13 @@
305 doins examples/* || die
306 dodoc README AUTHORS
307 doman files/catalyst.1 files/catalyst-spec.5
308 - # Here is where we actually enable ccache
309 - use ccache && \
310 - dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
311 - /etc/catalyst/catalyst.conf
312 - dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
313 - /etc/catalyst/catalyst.conf
314 +
315 + python_fix_shebang "${ED}usr/$(get_libdir)/catalyst/catalyst"
316 + python_optimize "${ED}"
317 }
318
319 pkg_postinst() {
320 einfo "You can find more information about catalyst by checking out the"
321 einfo "catalyst project page at:"
322 einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
323 - echo
324 }
325
326
327
328 1.12 dev-util/catalyst/catalyst-2.9999.ebuild
329
330 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild?rev=1.12&view=markup
331 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild?rev=1.12&content-type=text/plain
332 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild?r1=1.11&r2=1.12
333
334 Index: catalyst-2.9999.ebuild
335 ===================================================================
336 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild,v
337 retrieving revision 1.11
338 retrieving revision 1.12
339 diff -u -r1.11 -r1.12
340 --- catalyst-2.9999.ebuild 16 Jun 2013 14:58:39 -0000 1.11
341 +++ catalyst-2.9999.ebuild 2 Jan 2014 20:40:19 -0000 1.12
342 @@ -1,35 +1,49 @@
343 -# Copyright 1999-2013 Gentoo Foundation
344 +# Copyright 1999-2014 Gentoo Foundation
345 # Distributed under the terms of the GNU General Public License v2
346 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild,v 1.11 2013/06/16 14:58:39 dolsen Exp $
347 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.9999.ebuild,v 1.12 2014/01/02 20:40:19 jmbsvicetto Exp $
348
349 -EAPI="5"
350 +EAPI=5
351 +
352 +if [[ ${PV} == *9999* ]]; then
353 + SRC_ECLASS="git-2"
354 + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
355 + EGIT_MASTER="master"
356 + EGIT_BRANCH="3.0"
357 + SRC_URI=""
358 + KEYWORDS=""
359 + S="${WORKDIR}/${PN}"
360 +else
361 + SRC_URI="mirror://gentoo/${P}.tar.bz2
362 + http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
363 + http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2"
364 + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
365 +fi
366
367 PYTHON_COMPAT=( python{2_6,2_7} )
368
369 -inherit distutils-r1 git-2
370 +inherit distutils-r1 multilib ${SRC_ECLASS}
371
372 -DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux."
373 +DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
374 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
375 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
376 -EGIT_MASTER="master"
377 -EGIT_BRANCH="3.0"
378 -SRC_URI=""
379
380 LICENSE="GPL-2"
381 SLOT="0"
382 IUSE="ccache doc kernel_linux"
383
384 -KEYWORDS=""
385 -
386 -DEPEND="app-text/asciidoc
387 - >=dev-python/snakeoil-0.5.2"
388 -
389 -RDEPEND="app-arch/lbzip2
390 +DEPEND="
391 + app-text/asciidoc
392 + >=dev-python/snakeoil-0.5.2
393 +"
394 +RDEPEND="
395 + app-arch/lbzip2
396 app-crypt/shash
397 virtual/cdrtools
398 - ccache? ( dev-util/ccache )
399 + amd64? ( >=sys-boot/syslinux-3.72 )
400 ia64? ( sys-fs/dosfstools )
401 - kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
402 + x86? ( >=sys-boot/syslinux-3.72 )
403 + ccache? ( dev-util/ccache )
404 + kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
405 +"
406
407 python_prepare_all() {
408 python_export_best
409
410
411
412 1.269 dev-util/catalyst/ChangeLog
413
414 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.269&view=markup
415 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.269&content-type=text/plain
416 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?r1=1.268&r2=1.269
417
418 Index: ChangeLog
419 ===================================================================
420 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v
421 retrieving revision 1.268
422 retrieving revision 1.269
423 diff -u -r1.268 -r1.269
424 --- ChangeLog 2 Jan 2014 20:30:23 -0000 1.268
425 +++ ChangeLog 2 Jan 2014 20:40:19 -0000 1.269
426 @@ -1,6 +1,12 @@
427 # ChangeLog for dev-util/catalyst
428 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
429 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.268 2014/01/02 20:30:23 jmbsvicetto Exp $
430 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.269 2014/01/02 20:40:19 jmbsvicetto Exp $
431 +
432 + 02 Jan 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
433 + catalyst-2.0.15.ebuild, catalyst-2.9999.ebuild, catalyst-9999.ebuild:
434 + Synchonize release and live ebuilds (2.9999 is special as it's tracking the
435 + 3.0 branch that provides a python install). 2.0.15 and earlier will be dropped
436 + when 2.0.16 is added to the tree.
437
438 *catalyst-2.0.9999 (02 Jan 2014)