public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tomas Chvatal (scarabeus)" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: waf-utils.eclass
Date: Mon, 24 Jan 2011 14:04:39 +0000 (UTC)	[thread overview]
Message-ID: <20110124140439.9176620054@flycatcher.gentoo.org> (raw)

scarabeus    11/01/24 14:04:39

  Modified:             waf-utils.eclass
  Log:
  Drop pkg_setup phase since operations done inside of that phase were supposed to be done in the src_configure.

Revision  Changes    Path
1.4                  eclass/waf-utils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?r1=1.3&r2=1.4

Index: waf-utils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- waf-utils.eclass	16 Jan 2011 08:36:35 -0000	1.3
+++ waf-utils.eclass	24 Jan 2011 14:04:39 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.3 2011/01/16 08:36:35 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.4 2011/01/24 14:04:39 scarabeus Exp $
 
 # @ECLASS: waf-utils.eclass
 # @MAINTAINER:
@@ -19,31 +19,20 @@
 inherit base eutils multilib
 
 case ${EAPI:-0} in
-	4|3|2) EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_install ;;
+	4|3) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
 	*) die "EAPI=${EAPI} is not supported" ;;
 esac
 
 # @FUNCTION: waf-utils_src_configure
 # @DESCRIPTION:
 # General function for configuring with waf.
-waf-utils_pkg_setup() {
+waf-utils_src_configure() {
 	debug-print-function ${FUNCNAME} "$@"
 
 	# @ECLASS-VARIABLE: WAF_BINARY
 	# @DESCRIPTION:
 	# Eclass can use different waf executable. Usually it is located in "${S}/waf".
 	: ${WAF_BINARY:="${S}/waf"}
-}
-
-# @FUNCTION: waf-utils_src_configure
-# @DESCRIPTION:
-# General function for configuring with waf.
-waf-utils_src_configure() {
-	debug-print-function ${FUNCNAME} "$@"
-
-	# sometimes people forget to run pkg_setup from this eclass
-	# instead of having the variable empty lets try to get it once more
-	: ${WAF_BINARY:="${S}/waf"}
 
 	echo "CCFLAGS=\"${CFLAGS}\" LINKFLAGS=\"${LDFLAGS}\" \"${WAF_BINARY}\" --prefix=/usr --libdir=/usr/$(get_libdir) $@ configure"
 
@@ -71,7 +60,6 @@
 waf-utils_src_install() {
 	debug-print-function ${FUNCNAME} "$@"
 
-	has ${EAPI:-0} 2 && ! use prefix && ED="${D}"
 	echo "\"${WAF_BINARY}\" --destdir=\"${ED}\" install"
 	"${WAF_BINARY}" --destdir="${ED}" install  || die "Make install failed"
 






             reply	other threads:[~2011-01-24 14:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 14:04 Tomas Chvatal (scarabeus) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-20  1:37 [gentoo-commits] gentoo-x86 commit in eclass: waf-utils.eclass Mike Frysinger (vapier)
2012-07-17  4:43 Mike Frysinger (vapier)
2011-08-09 18:53 Jeroen Roovers (jer)
2011-03-01 23:02 Jonathan Callen (abcd)
2011-01-16  8:36 Tomas Chvatal (scarabeus)
2011-01-13 18:43 Tomas Chvatal (scarabeus)
2010-12-07  6:48 Gilles Dartiguelongue (eva)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110124140439.9176620054@flycatcher.gentoo.org \
    --to=scarabeus@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox