summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-18 13:41:56 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-18 13:41:56 +0200
commit7a3f0dc677d01d46fd21fa29b680c4db76074420 (patch)
treebc272c39ba0e02005c6ee21067e1a2fc7edee31a
parent71d622b9180eb69ff8bf2c59d0d15f3973f8bbe5 (diff)
downloadgemato-7a3f0dc677d01d46fd21fa29b680c4db76074420.tar.gz
profile: Update default set of hashes
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 <mgorny@gentoo.org>
-rw-r--r--gemato/profile.py4
1 files 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: