Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] egencache: Always output EAPI=0 in cache entries
Date: Tue, 11 Aug 2015 17:38:20
Message-Id: 1439314687-31061-1-git-send-email-mgorny@gentoo.org
1 Remove the code skipping EAPI=0 output in cache entries. There is really
2 no reason to treat EAPI=0 specially here, and this makes the output more
3 consistent.
4 ---
5 bin/egencache | 2 --
6 1 file changed, 2 deletions(-)
7
8 diff --git a/bin/egencache b/bin/egencache
9 index 6075ccf..5c00248 100755
10 --- a/bin/egencache
11 +++ b/bin/egencache
12 @@ -297,8 +297,6 @@ class GenCache(object):
13 # EAPI from _parse_eapi_ebuild_head, we don't write cache
14 # entries for unsupported EAPIs.
15 if metadata is not None and eapi_supported:
16 - if metadata.get('EAPI') == '0':
17 - del metadata['EAPI']
18 for trg_cache in self._trg_caches:
19 self._write_cache(trg_cache,
20 cpv, repo_path, metadata, ebuild_hash)
21 --
22 2.5.0

Replies