diff options
-rw-r--r-- | app-benchmarks/bootchart2/ChangeLog | 11 | ||||
-rw-r--r-- | app-benchmarks/bootchart2/Manifest | 14 | ||||
-rw-r--r-- | app-benchmarks/bootchart2/bootchart2-0.14.2.ebuild | 67 | ||||
-rw-r--r-- | app-benchmarks/bootchart2/metadata.xml | 7 |
4 files changed, 99 insertions, 0 deletions
diff --git a/app-benchmarks/bootchart2/ChangeLog b/app-benchmarks/bootchart2/ChangeLog new file mode 100644 index 000000000000..e60090c6985e --- /dev/null +++ b/app-benchmarks/bootchart2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-benchmarks/bootchart2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.1 2012/04/02 07:19:16 jlec Exp $ + +*bootchart2-0.14.2 (02 Apr 2012) + + 02 Apr 2012; Justin Lecher <jlec@gentoo.org> +bootchart2-0.14.2.ebuild, + +metadata.xml: + New addition, ebuild after submission by Gustavo Sverzut Barbieri, Lucian + Muresan & Henry Gebhardt; #345695 + diff --git a/app-benchmarks/bootchart2/Manifest b/app-benchmarks/bootchart2/Manifest new file mode 100644 index 000000000000..4ca20cf82120 --- /dev/null +++ b/app-benchmarks/bootchart2/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +DIST bootchart2-0.14.2.tar.bz2 775770 RMD160 cdfc030c12060737768cd6f6b55be508a8c517bc SHA1 75b3db97c239e8eee4c3143e35f77505480ec415 SHA256 0a9c9cd4065a1ad4d9e27e36888cf6258bb8c830a719e1a4afbf3b1092e728a4 +EBUILD bootchart2-0.14.2.ebuild 1586 RMD160 68fa31d97564055aaf966f0dbee5a2cda124b2b7 SHA1 5df6c55d3e0f4bc82b955ba357583f5e150d443c SHA256 6a1b185aabdca92c3018093d63aa526377d04a69cbde6fb7f7c30083ae4ccdde +MISC ChangeLog 459 RMD160 f4373db6250b1f4185d1c7ce34b61ed45252b9fb SHA1 7022864d6fc401c5d1b9a7b0d2327eae4ce22718 SHA256 1f02517d2ba6db42a2c30d298cda3697bee273f4cbcfeef322529015537ec9ca +MISC metadata.xml 201 RMD160 a6c5202673c0843bd9d1453b78b3f6bddc62a1f7 SHA1 6c7c52b9cddff4c6507fe6e49be0bbd53611d236 SHA256 180014e727f4e39b95bfeadf7661f97f2a0c8fe30658a82cd676fac065c7b3c9 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREKAAYFAk95UvkACgkQgAnW8HDreRZleACfVgCyRDJ8AmxWQ2kagI81rZ7F +JSQAoJpwnbKspSWOOXm6J09S+5mcfyAJ +=XLmq +-----END PGP SIGNATURE----- diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.2.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.2.ebuild new file mode 100644 index 000000000000..41779baeb71b --- /dev/null +++ b/app-benchmarks/bootchart2/bootchart2-0.14.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2.ebuild,v 1.1 2012/04/02 07:19:16 jlec Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABI="2.7-pypy-*" + +inherit linux-info python systemd toolchain-funcs + +DESCRIPTION="Performance analysis and visualization of the system boot process" +HOMEPAGE="https://github.com/mmeeks/bootchart/" +SRC_URI="mirror://github/mmeeks/bootchart/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="svg" + +RDEPEND=" + !app-benchmarks/bootchart + dev-python/pycairo[svg=]" +DEPEND="${RDEPEND} +" + +CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" + +src_prepare() { + tc-export CC + sed \ + -e "/^install/s:py-install-compile::g" \ + -e "/^VER/s:0.14.1:0.14.2:g" \ + -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \ + -i Makefile || die +} + +src_install() { + export NO_PYTHON_COMPILE=0 + 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() { + emake \ + DESTDIR="${D}" \ + PY_SITEDIR=$(python_get_sitedir) \ + py-install-compile + } + python_execute_function installation +} + +src_test() { + testing() { + emake test + } + python_execute_function testing +} + +pkg_postinst() { + elog "Please review /usr/share/doc/${PF}/README" + elog "for further usage informations." +} diff --git a/app-benchmarks/bootchart2/metadata.xml b/app-benchmarks/bootchart2/metadata.xml new file mode 100644 index 000000000000..c845479d513e --- /dev/null +++ b/app-benchmarks/bootchart2/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> +</pkgmetadata> |