Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/fatrace/
Date: Wed, 25 Jan 2017 16:12:52
Message-Id: 1485360686.d133c1a44c9c966b4c1752526e54b190a4496c3e.xmw@gentoo
1 commit: d133c1a44c9c966b4c1752526e54b190a4496c3e
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 25 15:20:11 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 25 16:11:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d133c1a4
7
8 dev-util/fatrace: Version bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-util/fatrace/Manifest | 1 +
13 dev-util/fatrace/fatrace-0.12.ebuild | 41 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-util/fatrace/Manifest b/dev-util/fatrace/Manifest
17 index 01916f8..7f07331 100644
18 --- a/dev-util/fatrace/Manifest
19 +++ b/dev-util/fatrace/Manifest
20 @@ -1 +1,2 @@
21 DIST fatrace-0.11.tar.bz2 19354 SHA256 9aa04de50d8549c152f86fab0e2bf81df553af6548b4b31d72cb512b84d8e7b8 SHA512 4849f5f2aff423f915caedb63323c3888146124f856e141090bdc8eeff812b473ed194116684edd7ca0f10239c7e765740f109f0da0d364cd231430f6f5da441 WHIRLPOOL a4d631706c62c437ea0cdb61b1277b45d218e01a4ccdaaf12106fa6a25d624d23dfe943e2917095ed38ba2808574f041f7cd6b4ebad11e176c596017c8769660
22 +DIST fatrace-0.12.tar.bz2 19377 SHA256 50e71706f2cad4efc37c23bd292a2d3aa53dd883506e910267b2eeb5b241f66b SHA512 76dfc9dfc5c6b8e13f5d0c5c01c5c1b91093a5d980ded1f8fd776c9e861a6679eea193bcdd92b1c8770c9af346820300f186b7167ff4313e670f27ea31f765ea WHIRLPOOL 5e5e54d75ecedc011d93957f5a4b3a45925246a40bbabcf269dfd3c8dc1ca88721b9ebc5b9902188cb1a56e16035cf171d040d4ce1551cdb9715ac58877df3f3
23
24 diff --git a/dev-util/fatrace/fatrace-0.12.ebuild b/dev-util/fatrace/fatrace-0.12.ebuild
25 new file mode 100644
26 index 00000000..8375595
27 --- /dev/null
28 +++ b/dev-util/fatrace/fatrace-0.12.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +PYTHON_COMPAT=( python{3_4,3_5} )
37 +
38 +inherit linux-info python-r1 toolchain-funcs
39 +
40 +DESCRIPTION="report file access events from all running processes"
41 +HOMEPAGE="https://launchpad.net/fatrace"
42 +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="powertop"
48 +
49 +RDEPEND="powertop? ( ${PYTHON_DEPS} )"
50 +DEPEND="${RDEPEND}"
51 +REQUIRED_USE="powertop? ( ${PYTHON_REQUIRED_USE} )"
52 +
53 +CONFIG_CHECK="~FANOTIFY"
54 +
55 +pkg_setup() {
56 + use powertop && python-single-r1_pkg_setup
57 +}
58 +
59 +src_prepare() {
60 + epatch "${FILESDIR}"/${PN}-0.11-sysmacros.patch #580082
61 + tc-export CC
62 +}
63 +
64 +src_install() {
65 + dosbin fatrace
66 + use powertop && dosbin power-usage-report
67 +
68 + doman fatrace.1
69 + dodoc NEWS
70 +}