1 |
jlec 14/11/30 15:33:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bootchart2-0.14.7-r1.ebuild |
5 |
Removed: bootchart2-0.14.7.ebuild |
6 |
Log: |
7 |
app-benchmarks/bootchart2: Fix sed, #530740 |
8 |
|
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.21 app-benchmarks/bootchart2/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.21&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.21&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?r1=1.20&r2=1.21 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v |
21 |
retrieving revision 1.20 |
22 |
retrieving revision 1.21 |
23 |
diff -u -r1.20 -r1.21 |
24 |
--- ChangeLog 24 Nov 2014 12:53:34 -0000 1.20 |
25 |
+++ ChangeLog 30 Nov 2014 15:33:05 -0000 1.21 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-benchmarks/bootchart2 |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.20 2014/11/24 12:53:34 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.21 2014/11/30 15:33:05 jlec Exp $ |
31 |
+ |
32 |
+*bootchart2-0.14.7-r1 (30 Nov 2014) |
33 |
+ |
34 |
+ 30 Nov 2014; Justin Lecher <jlec@g.o> -bootchart2-0.14.7.ebuild, |
35 |
+ +bootchart2-0.14.7-r1.ebuild: |
36 |
+ Fix sed, #530740 |
37 |
|
38 |
*bootchart2-0.14.7 (24 Nov 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bootchart2-0.14.7-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild,v 1.1 2014/11/30 15:33:05 jlec Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
57 |
|
58 |
inherit linux-info python-r1 systemd toolchain-funcs |
59 |
|
60 |
DESCRIPTION="Performance analysis and visualization of the system boot process" |
61 |
HOMEPAGE="https://github.com/mmeeks/bootchart/" |
62 |
SRC_URI="https://github.com/mmeeks/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz" |
63 |
|
64 |
SLOT="0" |
65 |
LICENSE="GPL-2" |
66 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
67 |
IUSE="svg test X" |
68 |
|
69 |
REQUIRED_USE=" |
70 |
X? ( ${PYTHON_REQUIRED_USE} ) |
71 |
test? ( X )" |
72 |
|
73 |
RDEPEND=" |
74 |
!app-benchmarks/bootchart |
75 |
X? ( |
76 |
dev-python/pycairo[svg?,${PYTHON_USEDEP}] |
77 |
dev-python/pygtk[$(python_gen_usedep 'python2*')] |
78 |
${PYTHON_DEPS} |
79 |
) |
80 |
sys-apps/lsb-release" |
81 |
DEPEND="${PYTHON_DEPS}" |
82 |
|
83 |
S="${WORKDIR}"/${PN%2}-${PV} |
84 |
|
85 |
CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" |
86 |
|
87 |
src_prepare() { |
88 |
tc-export CC |
89 |
sed \ |
90 |
-e "/^install/s:py-install-compile::g" \ |
91 |
-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \ |
92 |
-i Makefile || die |
93 |
sed \ |
94 |
-e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \ |
95 |
-i bootchartd.conf bootchartd.in || die |
96 |
} |
97 |
|
98 |
src_test() { |
99 |
python_foreach_impl emake test |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
export DOCDIR=/usr/share/doc/${PF} |
104 |
default |
105 |
|
106 |
# Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't |
107 |
# just change it. Since no libraries are installed, /lib is fine. |
108 |
keepdir /lib/bootchart/tmpfs |
109 |
|
110 |
installation() { |
111 |
python_domodule pybootchartgui |
112 |
|
113 |
python_newscript pybootchartgui.py pybootchartgui |
114 |
} |
115 |
use X && python_foreach_impl installation |
116 |
|
117 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
118 |
|
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
elog "If you are using an initrd during boot" |
123 |
echo |
124 |
elog "please add the init script to your default runlevel" |
125 |
elog "rc-update add bootchart2 default" |
126 |
echo |
127 |
} |