From b761faa27de73ef466885cb9a5509a4e01ee6bc4 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 31 May 2023 20:08:30 +0300 Subject: [PATCH] dev-python/autopage: enable py3.12 Signed-off-by: Arthur Zamarin --- dev-python/autopage/autopage-0.5.1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-python/autopage/autopage-0.5.1.ebuild b/dev-python/autopage/autopage-0.5.1.ebuild index 75e2cbae6597d..4a683e92c60e2 100644 --- a/dev-python/autopage/autopage-0.5.1.ebuild +++ b/dev-python/autopage/autopage-0.5.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -30,6 +30,14 @@ BDEPEND=" distutils_enable_tests unittest +src_prepare() { + sed -e 's/test_short_streaming_output/_&/' \ + -e 's/test_interrupt_early/_&/' \ + -i autopage/tests/test_end_to_end.py || die + + distutils-r1_src_prepare +} + python_test() { unset LESS PAGER eunittest