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
commit889d5ba0a692b1f13007d6fd23b4c01cad48b520 (patch)
tree482b6fef81b31be00a557f6a606f4d83f6537193 /eclass/python-r1.eclass
parentFix CVE-2012-4405 (diff)
downloadhistorical-889d5ba0a692b1f13007d6fd23b4c01cad48b520.tar.gz
historical-889d5ba0a692b1f13007d6fd23b4c01cad48b520.tar.bz2
historical-889d5ba0a692b1f13007d6fd23b4c01cad48b520.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