From 3a616c38597b67f86d19492b3fc1e6c3f7a4ce21 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 19 Feb 2017 17:26:47 +0000 Subject: dev-cpp/icnc: Bump to EAPI=6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher --- dev-cpp/icnc/icnc-9999.ebuild | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'dev-cpp/icnc') diff --git a/dev-cpp/icnc/icnc-9999.ebuild b/dev-cpp/icnc/icnc-9999.ebuild index 44e96e63f..fbfe4e27e 100644 --- a/dev-cpp/icnc/icnc-9999.ebuild +++ b/dev-cpp/icnc/icnc-9999.ebuild @@ -1,27 +1,20 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils multilib python-any-r1 +inherit cmake-utils git-r3 multilib python-any-r1 DESCRIPTION="Intel Concurrent Collections for C++ - Parallelism without the Pain" HOMEPAGE="https://software.intel.com/en-us/articles/intel-concurrent-collections-for-cc" - -if [[ $PV = 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/icnc/icnc.git" - KEYWORDS= -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi +EGIT_REPO_URI="https://github.com/icnc/icnc.git" LICENSE="BSD" SLOT="0" +KEYWORDS= IUSE="doc examples mpi test" RDEPEND=" @@ -49,8 +42,10 @@ src_configure() { src_install() { cmake-utils_src_install if use doc; then - mv "${ED}"/usr/share/{icnc/doc/api,doc/${P}/html} || die + mv "${ED}"/usr/share/{icnc/doc/api,doc/${PF}/html} || die rmdir "${ED}"/usr/share/icnc/doc || die fi - use examples || rm -r "${ED}"/usr/share/icnc/samples || die + if ! use examples; then + rm -r "${ED}"/usr/share/icnc/samples || die + fi } -- cgit v1.2.3-65-gdbad