Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] egencache: Always output EAPI=0 in cache entries
Date: Tue, 11 Aug 2015 19:53:41
Message-Id: 20150811125335.792829e4.dolsen@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] egencache: Always output EAPI=0 in cache entries by Zac Medico
1 On Tue, 11 Aug 2015 10:54:10 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 08/11/2015 10:38 AM, Michał Górny wrote:
5 > > Remove the code skipping EAPI=0 output in cache entries. There is
6 > > really no reason to treat EAPI=0 specially here, and this makes the
7 > > output more consistent.
8 > > ---
9 > > bin/egencache | 2 --
10 > > 1 file changed, 2 deletions(-)
11 > >
12 > > diff --git a/bin/egencache b/bin/egencache
13 > > index 6075ccf..5c00248 100755
14 > > --- a/bin/egencache
15 > > +++ b/bin/egencache
16 > > @@ -297,8 +297,6 @@ class GenCache(object):
17 > > # EAPI from _parse_eapi_ebuild_head, we don't
18 > > write cache # entries for unsupported EAPIs.
19 > > if metadata is not None and eapi_supported:
20 > > - if metadata.get('EAPI') == '0':
21 > > - del metadata['EAPI']
22 > > for trg_cache in self._trg_caches:
23 > > self._write_cache(trg_cache,
24 > > cpv, repo_path, metadata,
25 > > ebuild_hash)
26 > >
27 >
28 > LTGM.
29
30 yeah, merge please
31
32 --
33 Brian Dolbec <dolsen>