Fix the FEATURES=parse-eapi-ebuild-head regex to handle comments on the same
line, like this:

EAPI=2 #foo

Thanks to Markus Meier <maekke@gentoo.org> for reporting.

svn path=/main/trunk/; revision=13916
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index ca27643..c17b0c6 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5275,7 +5275,7 @@
 # the ebuild.
 _validate_cache_for_unsupported_eapis = True
 
-_parse_eapi_ebuild_head_re = re.compile(r'^EAPI=[\'"]?([^\'"]*)')
+_parse_eapi_ebuild_head_re = re.compile(r'^EAPI=[\'"]?([^\'"#]*)')
 _parse_eapi_ebuild_head_max_lines = 30
 
 def _parse_eapi_ebuild_head(f):