summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-24 18:18:11 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-24 18:18:11 +0000
commit5860e6fd3f378cf63b9a059b711392d5beb77c48 (patch)
tree9cb9ec657ce15daadb821b2a1d9f22b20e41b47b /eclass/python-distutils-ng.eclass
parentAdd strip-flags for bug #396149 (diff)
downloadhistorical-5860e6fd3f378cf63b9a059b711392d5beb77c48.tar.gz
historical-5860e6fd3f378cf63b9a059b711392d5beb77c48.tar.bz2
historical-5860e6fd3f378cf63b9a059b711392d5beb77c48.zip
Remove obsolete pkg_pretend function.
Diffstat (limited to 'eclass/python-distutils-ng.eclass')
-rw-r--r--eclass/python-distutils-ng.eclass14
1 files changed, 2 insertions, 12 deletions
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; }