From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 46F07139737 for ; Tue, 11 Aug 2015 17:38:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2A4CE0839; Tue, 11 Aug 2015 17:38:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64FDAE0838 for ; Tue, 11 Aug 2015 17:38:18 +0000 (UTC) Received: from pomiot.local (77-253-192-92.adsl.inetia.pl [77.253.192.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 63B1E340D71; Tue, 11 Aug 2015 17:38:16 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-portage-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-portage-dev] [PATCH] egencache: Always output EAPI=0 in cache entries Date: Tue, 11 Aug 2015 19:38:07 +0200 Message-Id: <1439314687-31061-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: 7b585061-eb65-4c20-aec7-e43861160d54 X-Archives-Hash: 00924e6d8e295d3fdd334a5034745c16 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. --- bin/egencache | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/egencache b/bin/egencache index 6075ccf..5c00248 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) -- 2.5.0