summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-17 20:09:28 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-17 20:09:28 +0000
commitbc523e892e2390bd29d0b4e2e865189aabc4b363 (patch)
tree99423940eadd89cdb86905eb76319431796f928f /eclass/python-single-r1.eclass
parentarm stable, bug #440872 (diff)
downloadhistorical-bc523e892e2390bd29d0b4e2e865189aabc4b363.tar.gz
historical-bc523e892e2390bd29d0b4e2e865189aabc4b363.tar.bz2
historical-bc523e892e2390bd29d0b4e2e865189aabc4b363.zip
Require EAPI=5 in both python-r1 eclasses due to bug #447524.
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r--eclass/python-single-r1.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index 51807f2725ad..b2393995c42b 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.7 2012/12/01 09:29:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.8 2012/12/17 20:09:28 mgorny Exp $
# @ECLASS: python-single-r1
# @MAINTAINER:
@@ -32,11 +32,12 @@
# http://www.gentoo.org/proj/en/Python/python-r1/dev-guide.xml
case "${EAPI:-0}" in
- 0|1|2|3)
+ 0|1|2|3|4)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
- 4|5)
- # EAPI=4 needed by python-r1
+ 5)
+ # EAPI=5 is required for meaningful USE default deps
+ # on USE_EXPAND flags
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"