Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
Date: Mon, 04 Dec 2017 15:16:42
Message-Id: 1512400556.d33bfed43ddf700a7668f4abcd77e2649a92b6d2.zerochaos@gentoo
1 commit: d33bfed43ddf700a7668f4abcd77e2649a92b6d2
2 Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 4 15:13:07 2017 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 4 15:15:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33bfed4
7
8 sys-power/powertop: drop old and unused 1.x
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 sys-power/powertop/Manifest | 3 +--
13 sys-power/powertop/powertop-1.13.ebuild | 43 ---------------------------------
14 2 files changed, 1 insertion(+), 45 deletions(-)
15
16 diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
17 index 80fbb4f41e2..65494a6cea1 100644
18 --- a/sys-power/powertop/Manifest
19 +++ b/sys-power/powertop/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa
22 DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9
23 -DIST powertop-2.8.tar.gz 670000 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132
24 +DIST powertop-2.8.tar.gz 670000 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80
25
26 diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild
27 deleted file mode 100644
28 index 2ed77ddd6c5..00000000000
29 --- a/sys-power/powertop/powertop-1.13.ebuild
30 +++ /dev/null
31 @@ -1,43 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=3
36 -
37 -inherit toolchain-funcs eutils
38 -
39 -DESCRIPTION="tool that helps you find what software is using the most power"
40 -HOMEPAGE="http://www.lesswatts.org/projects/powertop/"
41 -SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux"
46 -IUSE="unicode"
47 -
48 -DEPEND="sys-libs/ncurses[unicode?]
49 - sys-devel/gettext"
50 -RDEPEND="sys-libs/ncurses[unicode?]
51 - virtual/libintl
52 - sys-apps/pciutils"
53 -
54 -src_prepare() {
55 - sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile
56 - use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile
57 -}
58 -
59 -src_configure() {
60 - tc-export CC
61 -}
62 -
63 -src_install() {
64 - emake install DESTDIR="${ED}" || die
65 - dodoc Changelog README
66 - gunzip "${ED}"/usr/share/man/man1/powertop.1.gz
67 -}
68 -
69 -pkg_postinst() {
70 - echo
71 - einfo "For PowerTOP to work best, use a Linux kernel with the"
72 - einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)"
73 - echo
74 -}