commit:     4699b2a8c051c896bad6657f431b53c9dd6639a4
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu May  6 23:48:18 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  7 11:57:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4699b2a8

dev-python/webencodings: Port to python3.10

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/webencodings/webencodings-0.5.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/webencodings/webencodings-0.5.1-r1.ebuild 
b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild
index ed53ab0cc7a..58c3d8d1c77 100644
--- a/dev-python/webencodings/webencodings-0.5.1-r1.ebuild
+++ b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 
 inherit distutils-r1
 
@@ -18,7 +18,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 
~riscv ~s390 sparc x
 distutils_enable_tests pytest
 
 python_prepare_all() {
-       cat >> setup.cfg <<- EOF
+       cat >> setup.cfg <<- EOF || die
        [tool:pytest]
        python_files=test*.py
        EOF

Reply via email to