Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
Date: Thu, 30 Apr 2020 15:10:56
Message-Id: 1588259407.68f0e11f3cd97856b4e0a8942cc2ba7e77387edf.asturm@gentoo
1 commit: 68f0e11f3cd97856b4e0a8942cc2ba7e77387edf
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 11:20:30 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 15:10:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f0e11f
7
8 app-benchmarks/bootchart2: Drop 0.14.8 (r0)
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild | 79 ----------------------
14 1 file changed, 79 deletions(-)
15
16 diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild
17 deleted file mode 100644
18 index 9795de0b3bf..00000000000
19 --- a/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild
20 +++ /dev/null
21 @@ -1,79 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI="5"
26 -
27 -PYTHON_COMPAT=( python2_7 python3_6 )
28 -
29 -inherit linux-info python-r1 systemd toolchain-funcs
30 -
31 -DESCRIPTION="Performance analysis and visualization of the system boot process"
32 -HOMEPAGE="https://github.com/mmeeks/bootchart/"
33 -SRC_URI="https://github.com/mmeeks/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
38 -IUSE="svg test X"
39 -RESTRICT="!test? ( test )"
40 -
41 -REQUIRED_USE="
42 - X? ( ${PYTHON_REQUIRED_USE} )
43 - test? ( X )"
44 -
45 -RDEPEND="
46 - !app-benchmarks/bootchart
47 - X? (
48 - dev-python/pycairo[svg(+)?,${PYTHON_USEDEP}]
49 - dev-python/pygtk[$(python_gen_usedep 'python2*')]
50 - ${PYTHON_DEPS}
51 - )
52 - sys-apps/lsb-release"
53 -DEPEND="${PYTHON_DEPS}"
54 -
55 -S="${WORKDIR}"/${PN%2}-${PV}
56 -
57 -CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
58 -
59 -src_prepare() {
60 - epatch "${FILESDIR}"/${PN}-0.14.7-sysmacros.patch #579922
61 - tc-export CC
62 - sed -i \
63 - -e "/^install/s:py-install-compile::g" \
64 - -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
65 - Makefile || die
66 - sed -i \
67 - -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \
68 - bootchartd.conf bootchartd.in || die
69 -}
70 -
71 -src_test() {
72 - python_foreach_impl emake test
73 -}
74 -
75 -src_install() {
76 - export DOCDIR=/usr/share/doc/${PF}
77 - default
78 -
79 - # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't
80 - # just change it. Since no libraries are installed, /lib is fine.
81 - keepdir /lib/bootchart/tmpfs
82 -
83 - installation() {
84 - python_domodule pybootchartgui
85 -
86 - python_newscript pybootchartgui.py pybootchartgui
87 - }
88 - use X && python_foreach_impl installation
89 -
90 - newinitd "${FILESDIR}"/${PN}.init ${PN}
91 -
92 -}
93 -
94 -pkg_postinst() {
95 - elog "If you are using an initrd during boot"
96 - echo
97 - elog "please add the init script to your default runlevel"
98 - elog "rc-update add bootchart2 default"
99 - echo
100 -}