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 99BA71381F3 for ; Tue, 27 Nov 2012 19:34:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64A3021C0C4; Tue, 27 Nov 2012 19:33:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD44E21C0C4 for ; Tue, 27 Nov 2012 19:33:55 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C73B333D9D7 for ; Tue, 27 Nov 2012 19:33:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 592BFE5452 for ; Tue, 27 Nov 2012 19:33:52 +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: <1354044116.fb6a9afe1a59aa13302044fe68f3c391d4368cee.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/intel-sdp.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: fb6a9afe1a59aa13302044fe68f3c391d4368cee X-VCS-Branch: master Date: Tue, 27 Nov 2012 19:33:52 +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: a64689f7-feb3-478f-a79c-a197c9e881e5 X-Archives-Hash: d9b1d539eb278a3a8b6f9063273328ec commit: fb6a9afe1a59aa13302044fe68f3c391d4368cee Author: Justin Lecher gentoo org> AuthorDate: Fri Nov 23 18:48:37 2012 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Nov 27 19:21:56 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fb6a9afe Add descriptions to standard phase functions. --- eclass/intel-sdp.eclass | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass index b982601..14dba83 100644 --- a/eclass/intel-sdp.eclass +++ b/eclass/intel-sdp.eclass @@ -133,6 +133,14 @@ intel-sdp_pkg_pretend() { # # e.g. amd64-multilib -> INTEL_ARCH="intel64 ia32" +# @ ECLASS-FUNCTION: intel-sdp_pkg_setup +# @DESCRIPTION: +# The setup finction serves two purposes: +# +# * Check that the user has a (valid) license file before going on. +# +# * Setting up and sorting some internal variables + intel-sdp_pkg_setup() { local _warn=1 _dirs i _ret arch a p _dirs=( @@ -177,6 +185,10 @@ intel-sdp_pkg_setup() { esac } +# @ ECLASS-FUNCTION: intel-sdp_src_unpack +# @DESCRIPTION: +# Unpacking necessary rpms from tarball, extract them and rearrange the output. + intel-sdp_src_unpack() { local l r t rpmdir debug-print "INTEL_RPMS_DIRS are \"${INTEL_RPMS_DIRS}\"" @@ -224,6 +236,10 @@ intel_link_eclipse_plugins() { popd > /dev/null } +# @ ECLASS-FUNCTION: intel-sdp_src_install +# @DESCRIPTION: +# Install everything + intel-sdp_src_install() { if ! use doc && [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then ebegin "Cleaning out documentation" @@ -419,6 +435,10 @@ run-test() { # Full path to intel registry db INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db +# @ECLASS-FUNCTION +# @DESCRIPTION: +# Add things to intel database + intel-sdp_pkg_postinst() { # add product registry to intel "database" local l r @@ -430,6 +450,10 @@ intel-sdp_pkg_postinst() { run-test } +# @ECLASS-FUNCTION +# @DESCRIPTION: +# Sanitize intel database + intel-sdp_pkg_postrm() { # remove from intel "database" if [[ -e ${INTEL_SDP_DB} ]]; then