From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E9EB138334 for ; Thu, 28 Mar 2019 04:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65C58E0BAC; Thu, 28 Mar 2019 04:00:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22DDBE0BAC for ; Thu, 28 Mar 2019 04:00:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3E3F335CE4 for ; Thu, 28 Mar 2019 04:00:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 461D8520 for ; Thu, 28 Mar 2019 04:00:08 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1553745599.be542cccd3ab6a1dcdfb954829c1717ddd8685e0.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/powertop/Manifest sys-power/powertop/powertop-2.10.ebuild sys-power/powertop/powertop-9999.ebuild X-VCS-Directories: sys-power/powertop/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: be542cccd3ab6a1dcdfb954829c1717ddd8685e0 X-VCS-Branch: master Date: Thu, 28 Mar 2019 04:00:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c42d1b0b-ef07-4f50-a2dc-0752e34a63dd X-Archives-Hash: eea22a91e0a9a7593e8f625a389cbf8f commit: be542cccd3ab6a1dcdfb954829c1717ddd8685e0 Author: Matt Turner gentoo org> AuthorDate: Thu Mar 28 03:55:40 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Mar 28 03:59:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be542ccc sys-power/powertop: Use pregenerated tarball The SRC_URI in v2.9 didn't work for v2.10 so I mistakely thought they'd just switched to github-generated tarballs. Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 2 +- sys-power/powertop/powertop-2.10.ebuild | 10 +++++++--- sys-power/powertop/powertop-9999.ebuild | 10 +++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 97496d051b4..a75203dd1ab 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,3 +1,3 @@ -DIST powertop-2.10.tar.gz 296409 BLAKE2B 50a8881e8fedd66d144b6929bf077710050da264d1ff02f38bf5497b80d1038ee55434e3f731a970b92748ce3130a226ec85daf2f105fb10dcebd40355294c79 SHA512 ce7b5c4a5c80596c6a78f1c00c107a13dd3f0d9051c7c44333d18a0f0c050c8e148c8b251d59bd49341f20a6a19eb1f956902e8c57110251e9e4f608e0542357 DIST powertop-2.8.tar.gz 670000 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 +DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 DIST powertop-v2.9.tar.gz 718763 BLAKE2B bb6ce789614397b02f0e9f1cb71585cb456c1428cc43e9fe1c4b3bc9f96171fede4c587410e78e58ad8d0b0f772549a93f454bcd1b521e6dd3c809a85dc3cf30 SHA512 783af538c44e3fae7215a5b4247eb32a72e02150b3f297e6b9777a450823dd30aca014601892c0e80937a366eed95b42b622c68161d53e905ad4fbcb574b26f5 diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 200e2c08f9f..27089b70cb7 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -9,8 +9,10 @@ if [[ ${PV} == "9999" ]] ; then GIT_ECLASS="git-r3" SRC_URI="" else - SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" fi inherit autotools ${GIT_ECLASS} linux-info @@ -106,8 +108,10 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + if [[ ${PV} == "9999" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" + fi eautoreconf } diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild index bf3642c77e9..165318e3ddd 100644 --- a/sys-power/powertop/powertop-9999.ebuild +++ b/sys-power/powertop/powertop-9999.ebuild @@ -9,8 +9,10 @@ if [[ ${PV} == "9999" ]] ; then GIT_ECLASS="git-r3" SRC_URI="" else - SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" fi inherit autotools ${GIT_ECLASS} linux-info @@ -102,8 +104,10 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + if [[ ${PV} == "9999" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" + fi eautoreconf }