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 108821381F4 for ; Wed, 15 Aug 2012 21:02:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80DBFE0C0F for ; Wed, 15 Aug 2012 21:02:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 26BACE0BC3 for ; Wed, 15 Aug 2012 20:45:52 +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 0B1161B4029 for ; Wed, 15 Aug 2012 20:45:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B6C1FE543A for ; Wed, 15 Aug 2012 20:45:49 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1345063829.196192de5664df4cdd4b3d5221b4b34a00e392e3.ulm@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/, bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/doins bin/ebuild-helpers/newins bin/ebuild.sh bin/isolated-functions.sh bin/phase-functions.sh bin/phase-helpers.sh X-VCS-Directories: bin/ebuild-helpers/ bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 196192de5664df4cdd4b3d5221b4b34a00e392e3 X-VCS-Branch: master Date: Wed, 15 Aug 2012 20:45:49 +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: 31253925-ee72-4620-950c-3cd74133fbed X-Archives-Hash: 87f83b72ec0a04d1c654827a6a923d2e commit: 196192de5664df4cdd4b3d5221b4b34a00e392e3 Author: Ulrich Müller gentoo org> AuthorDate: Wed Aug 15 20:50:29 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Wed Aug 15 20:50:29 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=196192de Remove tests for deprecated 3_pre2 EAPI. --- bin/ebuild-helpers/doins | 4 ++-- bin/ebuild-helpers/newins | 4 ++-- bin/ebuild.sh | 4 ++-- bin/isolated-functions.sh | 4 ++-- bin/phase-functions.sh | 12 ++++++------ bin/phase-helpers.sh | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index 443bfdb..fd77934 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -40,7 +40,7 @@ if [[ ${INSDESTTREE#${ED}} != "${INSDESTTREE}" ]]; then fi case "$EAPI" in - 0|1|2|3|3_pre2) + 0|1|2|3) PRESERVE_SYMLINKS=n ;; *) diff --git a/bin/ebuild-helpers/newins b/bin/ebuild-helpers/newins index adf2d80..b5b3ff6 100755 --- a/bin/ebuild-helpers/newins +++ b/bin/ebuild-helpers/newins @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh @@ -19,7 +19,7 @@ fi rm -rf "${T}/${2}" || exit $? case "$EAPI" in - 0|1|2|3|3_pre2) + 0|1|2|3) cp "$1" "$T/$2" || exit $? ;; *) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 9829f68..d3ca9d9 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -556,7 +556,7 @@ if ! has "$EBUILD_PHASE" clean cleanrm ; then # export EAPI for helpers (especially since we unset it above) export EAPI - if has "$EAPI" 0 1 2 3 3_pre2 ; then + if has "$EAPI" 0 1 2 3 ; then export RDEPEND=${RDEPEND-${DEPEND}} debug-print "RDEPEND: not set... Setting to: ${DEPEND}" fi @@ -578,7 +578,7 @@ if ! has "$EBUILD_PHASE" clean cleanrm ; then pkg_nofetch pkg_postinst pkg_postrm pkg_preinst pkg_prerm pkg_setup src_test src_unpack" ;; - 2|3|3_pre2) + 2|3) _valid_phases="src_compile pkg_config src_configure pkg_info src_install pkg_nofetch pkg_postinst pkg_postrm pkg_preinst src_prepare pkg_prerm pkg_setup src_test src_unpack" diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index dbf988b..d33c0b6 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # We need this next line for "die" and "assert". It expands @@ -86,7 +86,7 @@ dump_trace() { } nonfatal() { - if has "${EAPI:-0}" 0 1 2 3 3_pre2 ; then + if has "${EAPI:-0}" 0 1 2 3 ; then die "$FUNCNAME() not supported in this EAPI" fi if [[ $# -lt 1 ]]; then diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index ce251ce..3520199 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -364,7 +364,7 @@ dyn_prepare() { if [[ -d $S ]] ; then cd "${S}" - elif has $EAPI 0 1 2 3 3_pre2 ; then + elif has $EAPI 0 1 2 3 ; then cd "${WORKDIR}" elif [[ -z ${A} ]] && ! has_phase_defined_up_to prepare; then cd "${WORKDIR}" @@ -395,7 +395,7 @@ dyn_configure() { if [[ -d $S ]] ; then cd "${S}" - elif has $EAPI 0 1 2 3 3_pre2 ; then + elif has $EAPI 0 1 2 3 ; then cd "${WORKDIR}" elif [[ -z ${A} ]] && ! has_phase_defined_up_to configure; then cd "${WORKDIR}" @@ -428,7 +428,7 @@ dyn_compile() { if [[ -d $S ]] ; then cd "${S}" - elif has $EAPI 0 1 2 3 3_pre2 ; then + elif has $EAPI 0 1 2 3 ; then cd "${WORKDIR}" elif [[ -z ${A} ]] && ! has_phase_defined_up_to compile; then cd "${WORKDIR}" @@ -519,7 +519,7 @@ dyn_install() { if [[ -d $S ]] ; then cd "${S}" - elif has $EAPI 0 1 2 3 3_pre2 ; then + elif has $EAPI 0 1 2 3 ; then cd "${WORKDIR}" elif [[ -z ${A} ]] && ! has_phase_defined_up_to install; then cd "${WORKDIR}" @@ -684,7 +684,7 @@ _ebuild_arg_to_phase() { case "$arg" in pretend) - ! has $eapi 0 1 2 3 3_pre2 && \ + ! has $eapi 0 1 2 3 && \ phase_func=pkg_pretend ;; setup) @@ -780,7 +780,7 @@ _ebuild_phase_funcs() { declare -F src_compile >/dev/null || \ src_compile() { _eapi2_src_compile "$@" ; } - has $eapi 2 3 3_pre2 || declare -F src_install >/dev/null || \ + has $eapi 2 3 || declare -F src_install >/dev/null || \ src_install() { _eapi4_src_install "$@" ; } if has $phase_func $default_phases ; then diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 946520b..a00475c 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 export DESTTREE=/usr @@ -421,7 +421,7 @@ econf() { fi # EAPI=4 adds --disable-dependency-tracking to econf - if ! has "$EAPI" 0 1 2 3 3_pre2 && \ + if ! has "$EAPI" 0 1 2 3 && \ "${ECONF_SOURCE}/configure" --help 2>/dev/null | \ grep -q disable-dependency-tracking ; then set -- --disable-dependency-tracking "$@"