commit:     d133c1a44c9c966b4c1752526e54b190a4496c3e
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 15:20:11 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 16:11:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d133c1a4

dev-util/fatrace: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-util/fatrace/Manifest            |  1 +
 dev-util/fatrace/fatrace-0.12.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-util/fatrace/Manifest b/dev-util/fatrace/Manifest
index 01916f8..7f07331 100644
--- a/dev-util/fatrace/Manifest
+++ b/dev-util/fatrace/Manifest
@@ -1 +1,2 @@
 DIST fatrace-0.11.tar.bz2 19354 SHA256 
9aa04de50d8549c152f86fab0e2bf81df553af6548b4b31d72cb512b84d8e7b8 SHA512 
4849f5f2aff423f915caedb63323c3888146124f856e141090bdc8eeff812b473ed194116684edd7ca0f10239c7e765740f109f0da0d364cd231430f6f5da441
 WHIRLPOOL 
a4d631706c62c437ea0cdb61b1277b45d218e01a4ccdaaf12106fa6a25d624d23dfe943e2917095ed38ba2808574f041f7cd6b4ebad11e176c596017c8769660
+DIST fatrace-0.12.tar.bz2 19377 SHA256 
50e71706f2cad4efc37c23bd292a2d3aa53dd883506e910267b2eeb5b241f66b SHA512 
76dfc9dfc5c6b8e13f5d0c5c01c5c1b91093a5d980ded1f8fd776c9e861a6679eea193bcdd92b1c8770c9af346820300f186b7167ff4313e670f27ea31f765ea
 WHIRLPOOL 
5e5e54d75ecedc011d93957f5a4b3a45925246a40bbabcf269dfd3c8dc1ca88721b9ebc5b9902188cb1a56e16035cf171d040d4ce1551cdb9715ac58877df3f3

diff --git a/dev-util/fatrace/fatrace-0.12.ebuild 
b/dev-util/fatrace/fatrace-0.12.ebuild
new file mode 100644
index 00000000..8375595
--- /dev/null
+++ b/dev-util/fatrace/fatrace-0.12.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit linux-info python-r1 toolchain-funcs
+
+DESCRIPTION="report file access events from all running processes"
+HOMEPAGE="https://launchpad.net/fatrace";
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="powertop"
+
+RDEPEND="powertop? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="powertop? ( ${PYTHON_REQUIRED_USE} )"
+
+CONFIG_CHECK="~FANOTIFY"
+
+pkg_setup() {
+       use powertop && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-0.11-sysmacros.patch #580082
+       tc-export CC
+}
+
+src_install() {
+       dosbin fatrace
+       use powertop && dosbin power-usage-report
+
+       doman fatrace.1
+       dodoc NEWS
+}

Reply via email to