Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
Date: Wed, 03 Jun 2015 10:21:51
Message-Id: 1433084297.74de59ebeac0640e7a3ff828e33ade5d4825bc51.jlec@gentoo
1 commit: 74de59ebeac0640e7a3ff828e33ade5d4825bc51
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sun May 31 14:58:17 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 14:58:17 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=74de59eb
7
8 sci-libs/arrayfire: Fetch tarball instead of getting src from git
9
10 Package-Manager: portage-2.2.18
11
12 sci-libs/arrayfire/ChangeLog | 4 ++++
13 sci-libs/arrayfire/arrayfire-3.0_beta.ebuild | 10 +++++-----
14 2 files changed, 9 insertions(+), 5 deletions(-)
15
16 diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
17 index 6123184..7267d35 100644
18 --- a/sci-libs/arrayfire/ChangeLog
19 +++ b/sci-libs/arrayfire/ChangeLog
20 @@ -1,6 +1,10 @@
21 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
22 # $Header: $
23
24 + 31 May 2015; Marius Brehler <marbre@××××××××××××××.de>
25 + arrayfire-3.0_beta.ebuild:
26 + Fetch tarball instead of getting src from git
27 +
28 23 May 2015; Marius Brehler <marbre@××××××××××××××.de>
29 +files/FindBoostCompute.cmake,
30 +files/arrayfire-3.0_beta-FindBoostCompute.patch,
31
32 diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
33 index 8a08c8c..0bc42c9 100644
34 --- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
35 +++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
36 @@ -4,16 +4,15 @@
37
38 EAPI=5
39
40 -inherit cmake-utils git-r3
41 +inherit cmake-utils
42
43 GTEST_PV="1.7.0"
44
45 DESCRIPTION="A general purpose GPU library."
46 HOMEPAGE="http://www.arrayfire.com/"
47 -EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.git"
48 -SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
49 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV//_/}.tar.gz -> ${P}.tar.gz
50 + test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
51 KEYWORDS="~amd64"
52 -EGIT_COMMIT="v3.0beta"
53
54 LICENSE="BSD"
55 SLOT="0"
56 @@ -38,6 +37,7 @@ RDEPEND="
57 )"
58 DEPEND="${RDEPEND}"
59
60 +S="${WORKDIR}/${P//_/}"
61 BUILD_DIR="${S}/build"
62 CMAKE_BUILD_TYPE=Release
63
64 @@ -60,7 +60,7 @@ pkg_pretend() {
65 }
66
67 src_unpack() {
68 - git-r3_src_unpack
69 + default
70
71 if use test; then
72 mkdir -p "${BUILD_DIR}"/third_party/src/ || die