summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-09 10:01:27 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-09 10:23:16 +0200
commit3d95914501e16c51b8bbbdc481e25fda37231951 (patch)
tree24dd83361f71dbe2669bd12657d3f0415ec768dc
parentdev-python/pudb: Enable tests (diff)
downloadgentoo-3d95914501e16c51b8bbbdc481e25fda37231951.tar.gz
gentoo-3d95914501e16c51b8bbbdc481e25fda37231951.tar.bz2
gentoo-3d95914501e16c51b8bbbdc481e25fda37231951.zip
dev-python/urwid: Port to python3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/urwid/urwid-2.1.1.ebuild13
1 files 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