aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-08-11 19:37:04 +0200
committerMichał Górny <mgorny@gentoo.org>2015-08-11 21:56:28 +0200
commit5982e0a819e51c344e25c91c738d851192e188c0 (patch)
tree7830105a694e6c753e0f5f04dab9108650c1aae8 /bin/egencache
parentrepoman commit: Prefix commit message template with cat/PN (diff)
downloadportage-5982e0a819e51c344e25c91c738d851192e188c0.tar.gz
portage-5982e0a819e51c344e25c91c738d851192e188c0.tar.bz2
portage-5982e0a819e51c344e25c91c738d851192e188c0.zip
egencache: Always output EAPI=0 in cache entries
Remove the code skipping EAPI=0 output in cache entries. There is really no reason to treat EAPI=0 specially here, and this makes the output more consistent. Reviewed-by: Zac Medico <zmedico@gentoo.org> Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/egencache b/bin/egencache
index 6075ccfdb..5c00248fe 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -297,8 +297,6 @@ class GenCache(object):
# EAPI from _parse_eapi_ebuild_head, we don't write cache
# entries for unsupported EAPIs.
if metadata is not None and eapi_supported:
- if metadata.get('EAPI') == '0':
- del metadata['EAPI']
for trg_cache in self._trg_caches:
self._write_cache(trg_cache,
cpv, repo_path, metadata, ebuild_hash)