commit:     3d95914501e16c51b8bbbdc481e25fda37231951
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  9 08:01:27 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  9 08:23:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d959145

dev-python/urwid: Port to python3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/urwid/urwid-2.1.1.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/urwid/urwid-2.1.1.ebuild 
b/dev-python/urwid/urwid-2.1.1.ebuild
index e0a326415cf..3e3ae45a962 100644
--- a/dev-python/urwid/urwid-2.1.1.ebuild
+++ b/dev-python/urwid/urwid-2.1.1.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} )
+PYTHON_COMPAT=( python3_{7..10} )
 PYTHON_REQ_USE="ncurses"
 
 inherit distutils-r1
@@ -31,15 +31,6 @@ src_prepare() {
        distutils-r1_src_prepare
 }
 
-python_compile() {
-       if ! python_is_python3; then
-               local CFLAGS="${CFLAGS} -fno-strict-aliasing"
-               export CFLAGS
-       fi
-
-       distutils-r1_python_compile
-}
-
 python_install_all() {
        use examples && dodoc -r examples
        distutils-r1_python_install_all

Reply via email to