summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-01 09:29:24 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-01 09:29:24 +0000
commita5d00d252f35324b8a418c7abbdfb88dcd3cbf42 (patch)
treef82b8b504b8cc8ba12c6aa50bac330e8279954ce /eclass/python-r1.eclass
parentFix CVE-2012-4405 (diff)
downloadgentoo-2-a5d00d252f35324b8a418c7abbdfb88dcd3cbf42.tar.gz
gentoo-2-a5d00d252f35324b8a418c7abbdfb88dcd3cbf42.tar.bz2
gentoo-2-a5d00d252f35324b8a418c7abbdfb88dcd3cbf42.zip
Introduce python-any-r1, to handle packages satisfied by any Python implementation installed (e.g. strictly build-time dependent).
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 3e1a4d2240ed..39de7f2f27eb 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-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-r1.eclass,v 1.24 2012/11/30 11:40:15 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.25 2012/12/01 09:29:24 mgorny Exp $
# @ECLASS: python-r1
# @MAINTAINER:
@@ -44,6 +44,8 @@ if [[ ! ${_PYTHON_R1} ]]; then
if [[ ${_PYTHON_SINGLE_R1} ]]; then
die 'python-r1.eclass can not be used with python-single-r1.eclass.'
+elif [[ ${_PYTHON_ANY_R1} ]]; then
+ die 'python-r1.eclass can not be used with python-any-r1.eclass.'
fi
inherit python-utils-r1