From 3d95914501e16c51b8bbbdc481e25fda37231951 Mon Sep 17 00:00:00 2001
From: Michał Górny <mgorny@gentoo.org>
Date: Sun, 9 May 2021 10:01:27 +0200
Subject: dev-python/urwid: Port to python3.10
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 dev-python/urwid/urwid-2.1.1.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

(limited to 'dev-python/urwid')

diff --git a/dev-python/urwid/urwid-2.1.1.ebuild b/dev-python/urwid/urwid-2.1.1.ebuild
index e0a326415cff..3e3ae45a9620 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
-- 
cgit v1.2.3-65-gdbad