diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-05-24 18:18:11 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-05-24 18:18:11 +0000 |
commit | 1f047d287802b70706a2c6312a52aabe63a7dbae (patch) | |
tree | 1cc759b6d59b50db97bca122a43ddd97b6ff9761 /eclass | |
parent | Add strip-flags for bug #396149 (diff) | |
download | gentoo-2-1f047d287802b70706a2c6312a52aabe63a7dbae.tar.gz gentoo-2-1f047d287802b70706a2c6312a52aabe63a7dbae.tar.bz2 gentoo-2-1f047d287802b70706a2c6312a52aabe63a7dbae.zip |
Remove obsolete pkg_pretend function.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/python-distutils-ng.eclass | 14 |
2 files changed, 6 insertions, 13 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 6a067bd4bcac..803ba08443ff 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.265 2012/05/23 18:16:30 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.266 2012/05/24 18:18:11 floppym Exp $ + + 24 May 2012; Mike Gilbert <floppym@gentoo.org> python-distutils-ng.eclass: + Remove obsolete pkg_pretend function. 23 May 2012; Mike Gilbert <floppym@gentoo.org> chromium.eclass: Don't elog about icons if the user has installed them. Bug 416773 by pacho. diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass index c9900656a21d..08a946ff1476 100644 --- a/eclass/python-distutils-ng.eclass +++ b/eclass/python-distutils-ng.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.23 2012/05/21 18:10:33 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.24 2012/05/24 18:18:11 floppym Exp $ # @ECLASS: python-distutils-ng # @MAINTAINER: @@ -59,7 +59,7 @@ fi # Set to any value to disable automatic reinstallation of scripts in bin # directories. See python-distutils-ng_src_install function. -EXPORT_FUNCTIONS pkg_pretend src_prepare src_configure src_compile src_test src_install +EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install case "${EAPI}" in 0|1|2|3) @@ -293,16 +293,6 @@ python-distutils-ng_newscript() { fi } -# Phase function: pkg_pretend -python-distutils-ng_pkg_pretend() { - if has "collision-protect" ${FEATURES}; then - ewarn "Due to previous eclass compiling Python files outside of src_install" - ewarn "(and not recording resulting .pyc and .pyo files as owned by any package)" - ewarn "merging this package with \"collision-protect\" in FEATURES may result" - ewarn "in an error, please switch to using \"protect-owned\" instead." - fi -} - # Phase function: src_prepare python-distutils-ng_src_prepare() { [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; } |