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 6D1611581C1 for ; Thu, 11 Jul 2024 18:22:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 288C42BC05E; Thu, 11 Jul 2024 18:22:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 096492BC05E for ; Thu, 11 Jul 2024 18:22:03 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0377E34302F for ; Thu, 11 Jul 2024 18:22:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 527C51E1D for ; Thu, 11 Jul 2024 18:22:00 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1720722110.6d8a17c1de4716f081784b280b5ab51a8d41bc33.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyu2f/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild X-VCS-Directories: dev-python/pyu2f/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6d8a17c1de4716f081784b280b5ab51a8d41bc33 X-VCS-Branch: master Date: Thu, 11 Jul 2024 18:22:00 +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: a3629bf3-ebd4-434f-957e-aee4a2a29f8f X-Archives-Hash: 897d9ce4863fb6758d678bd0bb06ebe3 commit: 6d8a17c1de4716f081784b280b5ab51a8d41bc33 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 11 18:17:47 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 11 18:21:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d8a17c1 dev-python/pyu2f: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild b/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild index 9c1929203e47..43d950f052e0 100644 --- a/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild +++ b/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -39,12 +39,15 @@ DOCS=( CONTRIBUTING.md README.md ) distutils_enable_tests pytest python_prepare_all() { - # adjust pyfakefs usage #888223 + # https://github.com/google/pyu2f/commit/5e2f862dd5ba61eadff341dbf0a1202e91b1b145 + sed -i -e 's:logger[.]warn:&ing:' pyu2f/hid/macos.py || die sed -e "s:CreateFile:create_file:" \ -e "s:CreateDirectory:create_dir:" \ -e "s:RemoveObject:remove_object:" \ -e "s:SetContents:set_contents:" \ -i pyu2f/tests/hid/linux_test.py || die + # https://github.com/google/pyu2f/commit/793acd9ff6612bb035f0724b04e10a01cdb5bb8d + # https://github.com/google/pyu2f/commit/dad654010a030f1038bd2df95a9647fb417e0447 find pyu2f/tests -name '*.py' -exec \ sed -e 's:assertEquals:assertEqual:' \ -e 's:assertRaisesRegexp:assertRaisesRegex:' \