summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r--eclass/python-single-r1.eclass16
1 files changed, 15 insertions, 1 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index d0f6df3c14d6..125dc16ae39f 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.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-single-r1.eclass,v 1.2 2012/11/24 21:07:14 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.3 2012/11/26 08:31:26 mgorny Exp $
# @ECLASS: python-single-r1
# @MAINTAINER:
@@ -98,5 +98,19 @@ python-single-r1_pkg_setup() {
done
}
+# Incompatible python-r1 functions.
+
+python_copy_sources() {
+ die "${FUNCNAME} must not be used with python-single-r1 eclass."
+}
+
+python_foreach_impl() {
+ die "${FUNCNAME} must not be used with python-single-r1 eclass."
+}
+
+python_export_best() {
+ die "${FUNCNAME} must not be used with python-single-r1 eclass."
+}
+
_PYTHON_SINGLE_R1=1
fi