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 CF0831382C5 for ; Wed, 27 May 2020 15:37:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13636E0938; Wed, 27 May 2020 15:37:34 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EDAD1E0938 for ; Wed, 27 May 2020 15:37:33 +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 90DCE34EE58 for ; Wed, 27 May 2020 15:37:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFDCE21E for ; Wed, 27 May 2020 15:37:29 +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: <1590593843.1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tornado/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/tornado/tornado-6.0.3.ebuild www-servers/tornado/tornado-6.0.4.ebuild X-VCS-Directories: www-servers/tornado/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17 X-VCS-Branch: master Date: Wed, 27 May 2020 15:37:29 +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: 062e7be9-d37d-48eb-b72d-bb959ed9e5a6 X-Archives-Hash: 59de52f13994f2c89e18fd52487eae34 commit: 1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17 Author: Michał Górny gentoo org> AuthorDate: Wed May 27 15:28:26 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 27 15:37:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b76cfa6 www-servers/tornado: Port to py39, fix tests Signed-off-by: Michał Górny gentoo.org> www-servers/tornado/tornado-6.0.3.ebuild | 13 +++++++++++-- www-servers/tornado/tornado-6.0.4.ebuild | 9 ++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/www-servers/tornado/tornado-6.0.3.ebuild b/www-servers/tornado/tornado-6.0.3.ebuild index ae3b96b715a..a26972210ab 100644 --- a/www-servers/tornado/tornado-6.0.3.ebuild +++ b/www-servers/tornado/tornado-6.0.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -39,8 +39,17 @@ distutils_enable_sphinx docs \ # "${FILESDIR}"/4.5.1-drop-intersphinx.patch #) +src_prepare() { + # it used to pass, so apparently something changed somewhere + sed -i -e 's:test_method_after_redirect:_&:' \ + tornado/test/httpclient_test.py || die + distutils-r1_src_prepare +} + python_test() { - "${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}" + local -x ASYNC_TEST_TIMEOUT=60 + "${PYTHON}" -m tornado.test.runtests --verbose || + die "tests failed under ${EPYTHON}" } python_install_all() { diff --git a/www-servers/tornado/tornado-6.0.4.ebuild b/www-servers/tornado/tornado-6.0.4.ebuild index 002e85d1fac..ea5f2957d6b 100644 --- a/www-servers/tornado/tornado-6.0.4.ebuild +++ b/www-servers/tornado/tornado-6.0.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -34,6 +34,13 @@ distutils_enable_sphinx docs \ dev-python/sphinx_rtd_theme \ dev-python/sphinxcontrib-asyncio +src_prepare() { + # it used to pass, so apparently something changed somewhere + sed -i -e 's:test_method_after_redirect:_&:' \ + tornado/test/httpclient_test.py || die + distutils-r1_src_prepare +} + python_test() { local -x ASYNC_TEST_TIMEOUT=60 "${PYTHON}" -m tornado.test.runtests --verbose ||