commit:     74de59ebeac0640e7a3ff828e33ade5d4825bc51
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun May 31 14:58:17 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun May 31 14:58:17 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=74de59eb

sci-libs/arrayfire: Fetch tarball instead of getting src from git

Package-Manager: portage-2.2.18

 sci-libs/arrayfire/ChangeLog                 |  4 ++++
 sci-libs/arrayfire/arrayfire-3.0_beta.ebuild | 10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 6123184..7267d35 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  31 May 2015; Marius Brehler <mar...@linux.sungazer.de>
+  arrayfire-3.0_beta.ebuild:
+  Fetch tarball instead of getting src from git
+
   23 May 2015; Marius Brehler <mar...@linux.sungazer.de>
   +files/FindBoostCompute.cmake,
   +files/arrayfire-3.0_beta-FindBoostCompute.patch,

diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild 
b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
index 8a08c8c..0bc42c9 100644
--- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
@@ -4,16 +4,15 @@
 
 EAPI=5
 
-inherit cmake-utils git-r3
+inherit cmake-utils
 
 GTEST_PV="1.7.0"
 
 DESCRIPTION="A general purpose GPU library."
 HOMEPAGE="http://www.arrayfire.com/";
-EGIT_REPO_URI="https://github.com/${PN}/${PN}.git 
git://github.com/${PN}/${PN}.git"
-SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip 
)"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV//_/}.tar.gz -> 
${P}.tar.gz
+    test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
 KEYWORDS="~amd64"
-EGIT_COMMIT="v3.0beta"
 
 LICENSE="BSD"
 SLOT="0"
@@ -38,6 +37,7 @@ RDEPEND="
        )"
 DEPEND="${RDEPEND}"
 
+S="${WORKDIR}/${P//_/}"
 BUILD_DIR="${S}/build"
 CMAKE_BUILD_TYPE=Release
 
@@ -60,7 +60,7 @@ pkg_pretend() {
 }
 
 src_unpack() {
-       git-r3_src_unpack
+       default
 
        if use test; then
                mkdir -p "${BUILD_DIR}"/third_party/src/ || die

Reply via email to