summaryrefslogtreecommitdiffstats
path: root/pym/portage
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-11-06 21:44:45 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-11-06 21:44:45 +0100
commit58ab9ad0fb18a71141827105d3514c4efa1545c5 (patch)
tree0ac18ce0de9c3d9e2c8afc1a7e94f717d502996c /pym/portage
parent0f79a847dcc07237cf2623719d21929005b33583 (diff)
downloadportage-58ab9ad0fb18a71141827105d3514c4efa1545c5.tar.gz
portage-58ab9ad0fb18a71141827105d3514c4efa1545c5.tar.bz2
portage-58ab9ad0fb18a71141827105d3514c4efa1545c5.zip
Remove remnants of parse-eapi-glep-55.
Diffstat (limited to 'pym/portage')
-rw-r--r--pym/portage/const.py2
-rw-r--r--pym/portage/package/ebuild/doebuild.py9
2 files changed, 3 insertions, 8 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 1698c50cd..3dbe2df4a 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -94,7 +94,7 @@ SUPPORTED_FEATURES = frozenset([
"metadata-transfer", "mirror", "multilib-strict", "news",
"noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip",
"notitles", "parallel-fetch", "parse-eapi-ebuild-head",
- "parse-eapi-glep-55", "prelink-checksums", "preserve-libs",
+ "prelink-checksums", "preserve-libs",
"protect-owned", "python-trace", "sandbox",
"selinux", "sesandbox", "severe", "sfperms",
"sign", "skiprocheck", "split-elog", "split-log", "splitdebug",
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 77aec8da5..e1f34e755 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -217,13 +217,8 @@ def doebuild_environment(myebuild, mydo, myroot=None, settings=None,
if noiselimit < 0:
mysettings["PORTAGE_QUIET"] = "1"
- if mydo == 'depend' and \
- 'EAPI' not in mysettings.configdict['pkg']:
-
- if eapi is not None:
- # From parse-eapi-glep-55 above.
- pass
- elif 'parse-eapi-ebuild-head' in mysettings.features:
+ if mydo == 'depend' and 'EAPI' not in mysettings.configdict['pkg']:
+ if eapi is None and 'parse-eapi-ebuild-head' in mysettings.features:
eapi = _parse_eapi_ebuild_head(
codecs.open(_unicode_encode(ebuild_path,
encoding=_encodings['fs'], errors='strict'),