Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
Date: Sun, 23 Feb 2020 17:55:38
Message-Id: 1582480523.b345b5d0c618bdcf8626c8ca3824a5801be9aa95.mattst88@gentoo
1 commit: b345b5d0c618bdcf8626c8ca3824a5801be9aa95
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 23 17:53:38 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 23 17:55:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b345b5d0
7
8 sys-power/powertop: Use tarballs from github
9
10 The 2.11 tarball has a bizarre name, and we have to run eautoreconf
11 anyway.
12
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 sys-power/powertop/powertop-9999.ebuild | 10 +++-------
16 1 file changed, 3 insertions(+), 7 deletions(-)
17
18 diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
19 index 165318e3ddd..bf3642c77e9 100644
20 --- a/sys-power/powertop/powertop-9999.ebuild
21 +++ b/sys-power/powertop/powertop-9999.ebuild
22 @@ -9,10 +9,8 @@ if [[ ${PV} == "9999" ]] ; then
23 GIT_ECLASS="git-r3"
24 SRC_URI=""
25 else
26 - SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"
27 + SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
28 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
29 - MY_P="${PN}-v${PV}"
30 - S="${WORKDIR}/${MY_P}"
31 fi
32
33 inherit autotools ${GIT_ECLASS} linux-info
34 @@ -104,10 +102,8 @@ src_prepare() {
35 # Bug 599114
36 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die
37
38 - if [[ ${PV} == "9999" ]] ; then
39 - chmod +x scripts/version || die "Failed to make 'scripts/version' executable"
40 - scripts/version || die "Failed to extract version information"
41 - fi
42 + chmod +x scripts/version || die "Failed to make 'scripts/version' executable"
43 + scripts/version || die "Failed to extract version information"
44
45 eautoreconf
46 }