projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e5955
)
Add support for an new EAPI="2_pre0" value so that people who want to test
author
Zac Medico
<zmedico@gentoo.org>
Mon, 28 Jul 2008 07:08:01 +0000
(07:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 28 Jul 2008 07:08:01 +0000
(07:08 -0000)
USE deps can set the EAPI to something other than 0 or 1. We can support as
many different experimental EAPI values as we need, and drop support for them
when the final EAPI 2 is defined.
svn path=/main/trunk/; revision=11233
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index f17b8e8a6038772a3dcf1184c516215325f232c0..34da6c22a52dbe28bcf6a7027500e5c4c086db53 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-4477,8
+4477,11
@@
def _spawn_misc_sh(mysettings, commands, **kwargs):
return rval
def eapi_is_supported(eapi):
+ eapi = str(eapi).strip()
+ if eapi == "2_pre0":
+ return True
try:
- eapi = int(
str(eapi).strip()
)
+ eapi = int(
eapi
)
except ValueError:
eapi = -1
if eapi < 0: