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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F1AD13835B for ; Sat, 22 May 2021 10:52:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AD81E0864; Sat, 22 May 2021 10:52:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02714E0864 for ; Sat, 22 May 2021 10:52:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F061335D56 for ; Sat, 22 May 2021 10:52:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F20DE787 for ; Sat, 22 May 2021 10:52:25 +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: <1621680732.1a8b813c5042bb1d903cd0ca3ca58c12ca521b0e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-jose/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-jose/python-jose-3.2.0-r1.ebuild X-VCS-Directories: dev-python/python-jose/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1a8b813c5042bb1d903cd0ca3ca58c12ca521b0e X-VCS-Branch: master Date: Sat, 22 May 2021 10:52:25 +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: 87ea771e-ac77-4890-a525-c9bcf0695d2d X-Archives-Hash: eeca3aacc3c70314f7f49f676f396ccd commit: 1a8b813c5042bb1d903cd0ca3ca58c12ca521b0e Author: Zamarin Arthur gmail com> AuthorDate: Fri May 21 08:45:14 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 22 10:52:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8b813c dev-python/python-jose: bump to python 3.10 passes tests Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/python-jose/python-jose-3.2.0-r1.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild index 84bbcfea7cd..6b5270e414e 100644 --- a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild +++ b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=bdepend + +PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 DESCRIPTION="A JavaScript Object Signing and Encryption (JOSE) implementation in Python" @@ -31,7 +31,12 @@ python_prepare_all() { -e '/ecdsa/s:<0.15::' \ -i setup.py || die sed -e '/addopts/d' -i setup.cfg || die - sed -e 's:test_key_too_short:_&:' \ - -i tests/algorithms/test_EC.py || die distutils-r1_python_prepare_all } + +python_test() { + local deselect=( + tests/algorithms/test_EC.py::TestECAlgorithm::test_key_too_short + ) + epytest ${deselect[@]/#/--deselect } +}