From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC19115852A for ; Fri, 23 Aug 2024 07:28:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36DE92BC014; Fri, 23 Aug 2024 07:28:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22D8C2BC014 for ; Fri, 23 Aug 2024 07:28:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 701A433BEA5 for ; Fri, 23 Aug 2024 07:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD71C18EB for ; Fri, 23 Aug 2024 07:28:40 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1724398107.633975107b4a543c40454e3bdb7a44c498cb566b.heroxbd@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: /, roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay-9999.ebuild roverlay/digest.py X-VCS-Directories: / roverlay/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 633975107b4a543c40454e3bdb7a44c498cb566b X-VCS-Branch: master Date: Fri, 23 Aug 2024 07:28:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98fb3893-922f-4b25-898c-fe4bef4cf2f0 X-Archives-Hash: c233e06858cc88f26e99ad4d6c20855d commit: 633975107b4a543c40454e3bdb7a44c498cb566b Author: Benda Xu gentoo org> AuthorDate: Fri Aug 23 07:26:39 2024 +0000 Commit: Benda XU gentoo 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 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