aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2024-08-23 15:26:39 +0800
committerBenda Xu <heroxbd@gentoo.org>2024-08-23 15:28:27 +0800
commit633975107b4a543c40454e3bdb7a44c498cb566b (patch)
tree6dc2eae5e1dd87413046866b5ddff599b37937f0
parentfiles/eclass/R-packages.eclass: drop eutils. (diff)
downloadR_overlay-633975107b4a543c40454e3bdb7a44c498cb566b.tar.gz
R_overlay-633975107b4a543c40454e3bdb7a44c498cb566b.tar.bz2
R_overlay-633975107b4a543c40454e3bdb7a44c498cb566b.zip
digest.py: bump to Python 3.11.HEADmaster
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@gentoo.org>
-rw-r--r--roverlay-9999.ebuild2
-rw-r--r--roverlay/digest.py2
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