jlec        14/11/30 15:33:05

  Modified:             ChangeLog
  Added:                bootchart2-0.14.7-r1.ebuild
  Removed:              bootchart2-0.14.7.ebuild
  Log:
  app-benchmarks/bootchart2: Fix sed, #530740
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.21                 app-benchmarks/bootchart2/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.21&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?rev=1.21&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog   24 Nov 2014 12:53:34 -0000      1.20
+++ ChangeLog   30 Nov 2014 15:33:05 -0000      1.21
@@ -1,6 +1,12 @@
 # ChangeLog for app-benchmarks/bootchart2
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.20 
2014/11/24 12:53:34 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.21 
2014/11/30 15:33:05 jlec Exp $
+
+*bootchart2-0.14.7-r1 (30 Nov 2014)
+
+  30 Nov 2014; Justin Lecher <[email protected]> -bootchart2-0.14.7.ebuild,
+  +bootchart2-0.14.7-r1.ebuild:
+  Fix sed, #530740
 
 *bootchart2-0.14.7 (24 Nov 2014)
 



1.1                  app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild?rev=1.1&view=markup
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

Index: bootchart2-0.14.7-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{3,4} )

inherit linux-info python-r1 systemd toolchain-funcs

DESCRIPTION="Performance analysis and visualization of the system boot process"
HOMEPAGE="https://github.com/mmeeks/bootchart/";
SRC_URI="https://github.com/mmeeks/bootchart/archive/${PV}.tar.gz -> 
${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="svg test X"

REQUIRED_USE="
        X? ( ${PYTHON_REQUIRED_USE} )
        test? ( X )"

RDEPEND="
        !app-benchmarks/bootchart
        X? (
                dev-python/pycairo[svg?,${PYTHON_USEDEP}]
                dev-python/pygtk[$(python_gen_usedep 'python2*')]
                ${PYTHON_DEPS}
                )
        sys-apps/lsb-release"
DEPEND="${PYTHON_DEPS}"

S="${WORKDIR}"/${PN%2}-${PV}

CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"

src_prepare() {
        tc-export CC
        sed \
                -e "/^install/s:py-install-compile::g" \
                -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
                -i Makefile || die
        sed \
                -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \
                -i bootchartd.conf bootchartd.in || die
}

src_test() {
        python_foreach_impl emake test
}

src_install() {
        export DOCDIR=/usr/share/doc/${PF}
        default

        # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we 
shouldn't
        # just change it. Since no libraries are installed, /lib is fine.
        keepdir /lib/bootchart/tmpfs

        installation() {
                python_domodule pybootchartgui

                python_newscript pybootchartgui.py pybootchartgui
        }
        use X && python_foreach_impl installation

        newinitd "${FILESDIR}"/${PN}.init ${PN}

}

pkg_postinst() {
        elog "If you are using an initrd during boot"
        echo
        elog "please add the init script to your default runlevel"
        elog "rc-update add bootchart2 default"
        echo
}




Reply via email to