summaryrefslogtreecommitdiffstats
path: root/pym/repoman/checks.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-13 03:50:56 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-13 03:50:56 +0000
commitb2a3d90d9c72fe24b834043521aae28774191a2b (patch)
tree684b3c257ea6e40699b88c6cd4951a26988f2316 /pym/repoman/checks.py
parente816d756c923916cb980f473f51af94d26d76429 (diff)
downloadportage-b2a3d90d9c72fe24b834043521aae28774191a2b.tar.gz
portage-b2a3d90d9c72fe24b834043521aae28774191a2b.tar.bz2
portage-b2a3d90d9c72fe24b834043521aae28774191a2b.zip
Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. (trunk r15035)
svn path=/main/branches/2.1.7/; revision=15069
Diffstat (limited to 'pym/repoman/checks.py')
-rw-r--r--pym/repoman/checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index ce72e36ea..3156894f6 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -436,7 +436,7 @@ class Eapi4IncompatibleFuncs(LineCheck):
self.eapi = pkg.metadata['EAPI']
def check_eapi(self, eapi):
- return self.eapi not in ('0', '1', '2', '3')
+ return self.eapi not in ('0', '1', '2', '3', '3_pre2')
def check(self, num, line):
m = self.banned_commands_re.match(line)
@@ -453,7 +453,7 @@ class Eapi4GoneVars(LineCheck):
self.eapi = pkg.metadata['EAPI']
def check_eapi(self, eapi):
- return self.eapi not in ('0', '1', '2', '3')
+ return self.eapi not in ('0', '1', '2', '3', '3_pre2')
def check(self, num, line):
m = self.undefined_vars_re.match(line)