From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7B9E1382C5 for ; Wed, 3 Jun 2020 17:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24B6FE0876; Wed, 3 Jun 2020 17:28:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CB9AE0876 for ; Wed, 3 Jun 2020 17:28:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B13834F0B0 for ; Wed, 3 Jun 2020 17:28:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61C51259 for ; Wed, 3 Jun 2020 17:27:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1591205275.749c5e8bc749bb0162fe1be914636bf1494e40b0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urwid/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/urwid/urwid-2.1.0.ebuild X-VCS-Directories: dev-python/urwid/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 749c5e8bc749bb0162fe1be914636bf1494e40b0 X-VCS-Branch: master Date: Wed, 3 Jun 2020 17:27:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 95964bda-41e1-4329-90cd-665c77f9d7c4 X-Archives-Hash: 9d475c234dfb022c1ac0a2d168cef07f commit: 749c5e8bc749bb0162fe1be914636bf1494e40b0 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 3 17:06:50 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 3 17:27:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749c5e8b dev-python/urwid: Port to py39, fix tests Signed-off-by: Michał Górny gentoo.org> dev-python/urwid/urwid-2.1.0.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/urwid/urwid-2.1.0.ebuild b/dev-python/urwid/urwid-2.1.0.ebuild index 0239bc44178..abcbe910f5e 100644 --- a/dev-python/urwid/urwid-2.1.0.ebuild +++ b/dev-python/urwid/urwid-2.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) +PYTHON_COMPAT=( python2_7 python3_{6..9} ) PYTHON_REQ_USE="ncurses" inherit distutils-r1 @@ -15,11 +15,18 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples" +IUSE="examples" distutils_enable_sphinx docs distutils_enable_tests setup.py +src_prepare() { + # optional tests broken by modern tornado versions + sed -e 's:import tornado:&_broken:' \ + -i urwid/tests/test_event_loops.py || die + distutils-r1_src_prepare +} + python_compile() { if ! python_is_python3; then local CFLAGS="${CFLAGS} -fno-strict-aliasing"