summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-11-24 21:07:14 +0000
committerMichał Górny <mgorny@gentoo.org>2012-11-24 21:07:14 +0000
commit5eb65ae23e712d1d5dc2e63d260b8cb412595ee0 (patch)
treeab9ed8597108e4f3311a9e0e743855256c396522 /eclass/python.eclass
parentold (diff)
downloadhistorical-5eb65ae23e712d1d5dc2e63d260b8cb412595ee0.tar.gz
historical-5eb65ae23e712d1d5dc2e63d260b8cb412595ee0.tar.bz2
historical-5eb65ae23e712d1d5dc2e63d260b8cb412595ee0.zip
Fix EAPI checks, add double- and colliding include guards.
Diffstat (limited to 'eclass/python.eclass')
-rw-r--r--eclass/python.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/python.eclass b/eclass/python.eclass
index d98e36be5df1..2d551a85a0ba 100644
--- a/eclass/python.eclass
+++ b/eclass/python.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.eclass,v 1.160 2012/10/02 01:22:57 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.161 2012/11/24 21:07:14 mgorny Exp $
# @ECLASS: python.eclass
# @MAINTAINER:
@@ -9,6 +9,10 @@
# @DESCRIPTION:
# The python eclass contains miscellaneous, useful functions for Python packages.
+if [[ ${_PYTHON_UTILS_R1} ]]; then
+ die 'python.eclass can not be used with python-r1 suite eclasses.'
+fi
+
# Must call inherit before EXPORT_FUNCTIONS to avoid QA warning.
if [[ -z "${_PYTHON_ECLASS_INHERITED}" ]]; then
inherit multilib