projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5958b9d
)
EbuildMetadataPhase: handle empty EAPI from bash
author
Zac Medico
<zmedico@gentoo.org>
Wed, 9 May 2012 20:31:52 +0000
(13:31 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 9 May 2012 20:31:52 +0000
(13:31 -0700)
pym/_emerge/EbuildMetadataPhase.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildMetadataPhase.py
b/pym/_emerge/EbuildMetadataPhase.py
index b7af69dc8e49bbe1842ce75c68dcadc5ebf20760..7f9bd3bf2e064a4dbaca7b585d678193729c25d9 100644
(file)
--- a/
pym/_emerge/EbuildMetadataPhase.py
+++ b/
pym/_emerge/EbuildMetadataPhase.py
@@
-158,7
+158,8
@@
class EbuildMetadataPhase(SubProcess):
parsed_eapi = self._eapi
if parsed_eapi is None:
parsed_eapi = "0"
- if portage.eapi_is_supported(metadata["EAPI"]) and \
+ if (not metadata["EAPI"] or
+ portage.eapi_is_supported(metadata["EAPI"])) and \
metadata["EAPI"] != parsed_eapi:
self._eapi_invalid(metadata)
if 'parse-eapi-ebuild-head' in self.settings.features: