From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q1Qu7-0004hs-4g for garchives@archives.gentoo.org; Sun, 20 Mar 2011 22:15:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85899E0587; Sun, 20 Mar 2011 22:15:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 53CAFE0587 for ; Sun, 20 Mar 2011 22:15:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02FAE1B410B for ; Sun, 20 Mar 2011 22:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 5C40B8006A for ; Sun, 20 Mar 2011 22:15:11 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: <4d9125329d9a4041d586484fc8b6beeb2a18648e.nirbheek@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: eclass/ X-VCS-Repository: proj/gnome X-VCS-Files: eclass/waf-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: 4d9125329d9a4041d586484fc8b6beeb2a18648e Date: Sun, 20 Mar 2011 22:15:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c294f5f2c42f98c65edc868ec8b46ec3 commit: 4d9125329d9a4041d586484fc8b6beeb2a18648e Author: Nirbheek Chauhan gentoo org> AuthorDate: Sun Mar 20 22:15:09 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Sun Mar 20 22:15:09 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D4d912532 waf-utils.eclass: moved to tree --- eclass/waf-utils.eclass | 74 -----------------------------------------= ------ 1 files changed, 0 insertions(+), 74 deletions(-) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass deleted file mode 100644 index a36c161..0000000 --- a/eclass/waf-utils.eclass +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# @ECLASS: waf-utils.eclass -# @MAINTAINER: -# ?@gentoo.org -# -# @CODE -# Original Author: Gilles Dartiguelongue -# @CODE -# @BLURB: common ebuild functions for waf-based packages -# @DESCRIPTION: -# The waf-utils eclass contains functions that make creating ebuild for -# waf-based packages much easier. -# Its main features are support of common portage default settings. - -inherit base eutils multilib python - -case ${EAPI:-0} in - 3|2) EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_install ;= ; - *) die "EAPI=3D${EAPI} is not supported" ;; -esac - -# @ECLASS-VARIABLE: DOCS -# @DESCRIPTION: -# Documents passed to dodoc command. - -# @FUNCTION: waf-utils_src_configure -# @DESCRIPTION: -# General function for configuring with waf. -waf-utils_pkg_setup() { - python_set_active_version 2 -} - -# @FUNCTION: waf-utils_src_configure -# @DESCRIPTION: -# General function for configuring with waf. -waf-utils_src_configure() { - debug-print-function ${FUNCNAME} "$@" - - CCFLAGS=3D"${CFLAGS}" LINKFLAGS=3D"${LDFLAGS}" "${S}"/waf \ - --prefix=3D/usr \ - --libdir=3D/usr/$(get_libdir) \ - $@ \ - configure || die "configure failed" -} - -# @FUNCTION: waf-utils_src_compile -# @DESCRIPTION: -# General function for compiling with waf. -waf-utils_src_compile() { - debug-print-function ${FUNCNAME} "$@" - - local jobs=3D$(sed \ - -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' \ - -e 's/--jobs=3D\?/-j/' \ - -e 's/-j/--jobs=3D/' <<< ${MAKEOPTS}) - "${S}"/waf build ${jobs} || die "build failed" -} - -# @FUNCTION: waf-utils_src_install -# @DESCRIPTION: -# Function for installing the package. -waf-utils_src_install() { - debug-print-function ${FUNCNAME} "$@" - has ${EAPI:-0} 2 && ! use prefix && ED=3D"${D}" - - "${S}"/waf --destdir=3D"${ED}" install || die "Make install failed" - - # Manual document installation - [[ -n "${DOCS}" ]] && { dodoc ${DOCS} || die "dodoc failed" ; } -} -