commit:     ffc8f13593396631802c2b2c4376abf9374a5364
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jun  5 10:02:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun  5 10:02:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ffc8f135

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

This reverts commit 74de59ebeac0640e7a3ff828e33ade5d4825bc51.

The tarball does not cointain the git submodules.

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

diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 7267d35..6123184 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,10 +1,6 @@
 # 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 0bc42c9..8a08c8c 100644
--- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
@@ -4,15 +4,16 @@
 
 EAPI=5
 
-inherit cmake-utils
+inherit cmake-utils git-r3
 
 GTEST_PV="1.7.0"
 
 DESCRIPTION="A general purpose GPU library."
 HOMEPAGE="http://www.arrayfire.com/";
-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 )"
+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 
)"
 KEYWORDS="~amd64"
+EGIT_COMMIT="v3.0beta"
 
 LICENSE="BSD"
 SLOT="0"
@@ -37,7 +38,6 @@ RDEPEND="
        )"
 DEPEND="${RDEPEND}"
 
-S="${WORKDIR}/${P//_/}"
 BUILD_DIR="${S}/build"
 CMAKE_BUILD_TYPE=Release
 
@@ -60,7 +60,7 @@ pkg_pretend() {
 }
 
 src_unpack() {
-       default
+       git-r3_src_unpack
 
        if use test; then
                mkdir -p "${BUILD_DIR}"/third_party/src/ || die

Reply via email to