[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-commits
Subject:    [gentoo-commits] repo/gentoo:master commit in: dev-python/autopage/
From:       "Arthur Zamarin" <arthurzam () gentoo ! org>
Date:       2023-05-31 19:23:00
Message-ID: 1685560969.b761faa27de73ef466885cb9a5509a4e01ee6bc4.arthurzam () gentoo
[Download RAW message or body]

commit:     b761faa27de73ef466885cb9a5509a4e01ee6bc4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 31 17:08:30 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 31 19:22:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b761faa2

dev-python/autopage: enable py3.12

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 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 75e2cbae6597..4a683e92c60e 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic