From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-benchmarks/bootchart2: ChangeLog bootchart2-0.14.2-r3.ebuild |
Date: | Tue, 29 May 2012 18:00:44 |
Message-Id: | 20120529180034.321F120047@flycatcher.gentoo.org |
1 | jlec 12/05/29 18:00:34 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bootchart2-0.14.2-r3.ebuild |
5 | Log: |
6 | app-benchmarks/bootchart2: Default on *getty as default |
7 | |
8 | (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.8 app-benchmarks/bootchart2/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.8&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.8&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?r1=1.7&r2=1.8 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v |
20 | retrieving revision 1.7 |
21 | retrieving revision 1.8 |
22 | diff -u -r1.7 -r1.8 |
23 | --- ChangeLog 15 May 2012 14:31:22 -0000 1.7 |
24 | +++ ChangeLog 29 May 2012 18:00:34 -0000 1.8 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-benchmarks/bootchart2 |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.7 2012/05/15 14:31:22 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.8 2012/05/29 18:00:34 jlec Exp $ |
30 | + |
31 | +*bootchart2-0.14.2-r3 (29 May 2012) |
32 | + |
33 | + 29 May 2012; Justin Lecher <jlec@g.o> +bootchart2-0.14.2-r3.ebuild: |
34 | + Default on *getty as default |
35 | |
36 | 15 May 2012; Justin Lecher <jlec@g.o> bootchart2-0.14.2-r1.ebuild, |
37 | bootchart2-0.14.2-r2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bootchart2-0.14.2-r3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild,v 1.1 2012/05/29 18:00:34 jlec Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | PYTHON_DEPEND="2" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | |
57 | inherit linux-info python systemd toolchain-funcs |
58 | |
59 | DESCRIPTION="Performance analysis and visualization of the system boot process" |
60 | HOMEPAGE="https://github.com/mmeeks/bootchart/" |
61 | SRC_URI="mirror://github/mmeeks/bootchart/${P}.tar.bz2" |
62 | |
63 | SLOT="0" |
64 | LICENSE="GPL-2" |
65 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
66 | IUSE="svg" |
67 | |
68 | RDEPEND=" |
69 | !app-benchmarks/bootchart |
70 | dev-python/pycairo[svg?] |
71 | dev-python/pygtk |
72 | sys-apps/lsb-release" |
73 | DEPEND="${RDEPEND}" |
74 | |
75 | CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" |
76 | |
77 | src_prepare() { |
78 | tc-export CC |
79 | sed \ |
80 | -e "/^install/s:py-install-compile::g" \ |
81 | -e "/^VER/s:0.14.1:0.14.2:g" \ |
82 | -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \ |
83 | -i Makefile || die |
84 | sed \ |
85 | -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty":g' \ |
86 | -i bootchartd.conf bootchartd.in || die |
87 | } |
88 | |
89 | src_test() { |
90 | testing() { |
91 | emake test |
92 | } |
93 | python_execute_function testing |
94 | } |
95 | |
96 | src_install() { |
97 | export NO_PYTHON_COMPILE=0 |
98 | export DOCDIR=/usr/share/doc/${PF} |
99 | default |
100 | |
101 | # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't |
102 | # just change it. Since no libraries are installed, /lib is fine. |
103 | keepdir /lib/bootchart/tmpfs |
104 | |
105 | installation() { |
106 | emake \ |
107 | DESTDIR="${D}" \ |
108 | PY_SITEDIR=$(python_get_sitedir) \ |
109 | py-install-compile |
110 | } |
111 | python_execute_function installation |
112 | |
113 | # does not like python3 as active interpreter |
114 | python_convert_shebangs 2 "${ED}"/usr/bin/pybootchartgui |
115 | |
116 | newinitd "${FILESDIR}"/${PN}.init ${PN} |
117 | } |
118 | |
119 | pkg_postinst() { |
120 | elog "Please add the init script to your default runlevel" |
121 | elog "rc-update add bootchart2 default" |
122 | echo |
123 | python_mod_optimize pybootchartgui |
124 | } |
125 | |
126 | pkg_postrm() { |
127 | python_mod_cleanup pybootchartgui |
128 | } |