From 7a3f0dc677d01d46fd21fa29b680c4db76074420 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 18 Oct 2019 13:41:56 +0200 Subject: profile: Update default set of hashes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the default set of hashes to match current ::gentoo set. This incidentally fixes test failures with new CPython versions that seem to no longer include Whirlpool support. Bug: https://bugs.gentoo.org/697968 Signed-off-by: Michał Górny --- gemato/profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemato/profile.py b/gemato/profile.py index 59ed3e0..87e491e 100644 --- a/gemato/profile.py +++ b/gemato/profile.py @@ -117,8 +117,8 @@ class EbuildRepositoryProfile(DefaultProfile): def set_loader_options(self, loader): if loader.hashes is None: - # layout.conf as of 2017-11-02 - loader.hashes = ['SHA256', 'SHA512', 'WHIRLPOOL'] + # layout.conf as of 2017-11-21 + loader.hashes = ['BLAKE2B', 'SHA512'] if loader.sort is None: loader.sort = True if loader.compress_watermark is None: -- cgit v1.2.3