summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-04-30 09:51:00 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-04-30 09:51:00 +0000
commite35427db52fad669a3135741719405c82ed6aad1 (patch)
treea53755ee9ade0f09b621f84e2a9a17f1d4c31792 /eclass/python-distutils-ng.eclass
parentStable for amd64, wrt bug #413931 (diff)
downloadhistorical-e35427db52fad669a3135741719405c82ed6aad1.tar.gz
historical-e35427db52fad669a3135741719405c82ed6aad1.tar.bz2
historical-e35427db52fad669a3135741719405c82ed6aad1.zip
Remove die from eclass, simply warn if user has collision-protect enabled.
Diffstat (limited to 'eclass/python-distutils-ng.eclass')
-rw-r--r--eclass/python-distutils-ng.eclass11
1 files changed, 5 insertions, 6 deletions
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index f115343fd32d..de22bb0c9d63 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.12 2012/04/30 08:25:31 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.13 2012/04/30 09:51:00 nelchael Exp $
# @ECLASS: python-distutils-ng
# @MAINTAINER:
@@ -304,11 +304,10 @@ python-distutils-ng_newscript() {
# Phase function: pkg_pretend
python-distutils-ng_pkg_pretend() {
if has "collision-protect" ${FEATURES}; then
- eerror "Due to previous eclass compiling Python files outside of src_install"
- eerror "(and not recording resulting .pyc and .pyo files as owned by any package)"
- eerror "merging this package with \"collision-protect\" in FEATURES will result"
- eerror "in an error, please switch to using \"protect-owned\" instead."
- die "\"collision-protect\" in FEATURES detected"
+ 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
}