From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0B11D138A1A for ; Sun, 11 Jan 2015 09:10:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE7FAE0914; Sun, 11 Jan 2015 09:10:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A620E0916 for ; Sun, 11 Jan 2015 09:10:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 388AC340698 for ; Sun, 11 Jan 2015 09:09:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDE2FF562 for ; Sun, 11 Jan 2015 09:09:56 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1420929587.8e5938c433a09162e517e7e3127fa365a764ea45.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/arrayfire/arrayfire-9999.ebuild X-VCS-Directories: sci-libs/arrayfire/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8e5938c433a09162e517e7e3127fa365a764ea45 X-VCS-Branch: master Date: Sun, 11 Jan 2015 09:09:56 +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-Archives-Salt: b6d0cc45-9822-46ee-8f97-258a59b05ff1 X-Archives-Hash: 6689c19f78a4916267a4315cb092ce75 commit: 8e5938c433a09162e517e7e3127fa365a764ea45 Author: Marius Brehler linux sungazer de> AuthorDate: Sat Jan 10 22:39:47 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Jan 10 22:39:47 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8e5938c4 sci-libs/arrayfire: Improve and clean gtest src handling --- sci-libs/arrayfire/arrayfire-9999.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild index 50aca35..107af24 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-9999.ebuild @@ -4,12 +4,14 @@ EAPI=5 -inherit cmake-utils git-r3 unpacker +inherit cmake-utils git-r3 + +GTEST_PV="1.7.0" DESCRIPTION="A general purpose GPU library." HOMEPAGE="http://www.arrayfire.com/" EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git" -SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-1.7.0.zip )" +SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )" KEYWORDS="~amd64" LICENSE="BSD" @@ -51,8 +53,8 @@ src_unpack() { if use test; then mkdir -p "${BUILD_DIR}"/third_party/src/ || die cd "${BUILD_DIR}"/third_party/src/ || die - unpack_zip "${DISTDIR}/"gtest-1.7.0.zip - mv "${BUILD_DIR}"/third_party/src/gtest-1.7.0 "${BUILD_DIR}"/third_party/src/googletest || die + unpack ${A} + mv "${BUILD_DIR}"/third_party/src/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die fi }