commit: 633975107b4a543c40454e3bdb7a44c498cb566b Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Fri Aug 23 07:26:39 2024 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Fri Aug 23 07:28:27 2024 +0000 URL: https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=63397510
digest.py: bump to Python 3.11. portage has a C implementation of Whirlpool as the hash algorithm is largely unavailable after OpenSSL 3 is released. Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> roverlay-9999.ebuild | 2 +- roverlay/digest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roverlay-9999.ebuild b/roverlay-9999.ebuild index a2d2888..3e40ee6 100644 --- a/roverlay-9999.ebuild +++ b/roverlay-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_8 ) +PYTHON_COMPAT=( python3_11 ) PYTHON_REQ_USE="ssl,threads(+),readline(+)" EGIT_REPO_URI='git://anongit.gentoo.org/proj/R_overlay.git' diff --git a/roverlay/digest.py b/roverlay/digest.py index 99e094b..ffe2336 100644 --- a/roverlay/digest.py +++ b/roverlay/digest.py @@ -68,7 +68,7 @@ if hashlib_supports ( 'whirlpool' ): _HASH_CREATE_MAP ['whirlpool'] = hashlib_wrap ( "whirlpool" ) else: import portage.util.whirlpool - _HASH_CREATE_MAP ['whirlpool'] = portage.util.whirlpool.new + _HASH_CREATE_MAP ['whirlpool'] = portage.util.whirlpool.CWhirlpool # -- end of imports / HASH_CREATE_MAP