From 8f041477bdd17213149e32f81ae2e9e4f1f1f4e2 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 15 May 2022 10:35:41 +0200 Subject: dev-python/websockets: Enable py3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/websockets/websockets-10.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/websockets/websockets-10.3.ebuild') diff --git a/dev-python/websockets/websockets-10.3.ebuild b/dev-python/websockets/websockets-10.3.ebuild index 8ae85335baa3..ab47cfe892ef 100644 --- a/dev-python/websockets/websockets-10.3.ebuild +++ b/dev-python/websockets/websockets-10.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{8..10} ) +PYTHON_COMPAT=( pypy3 python3_{8..11} ) inherit distutils-r1 @@ -25,6 +25,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~ distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}/${P}-py311.patch" +) + python_test() { local EPYTEST_DESELECT=( # very fragile to speed -- cgit v1.2.3-65-gdbad