public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tornado/
Date: Wed, 27 May 2020 15:37:29 +0000 (UTC)	[thread overview]
Message-ID: <1590593843.1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17.mgorny@gentoo> (raw)

commit:     1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 27 15:28:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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 ||


             reply	other threads:[~2020-05-27 15:37 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 15:37 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-17  9:38 [gentoo-commits] repo/gentoo:master commit in: www-servers/tornado/ Michał Górny
2022-09-17  8:17 Arthur Zamarin
2022-09-17  6:09 Agostino Sarubbo
2022-09-16 18:31 Arthur Zamarin
2022-09-16 17:27 Sam James
2022-09-16 17:17 Arthur Zamarin
2022-09-16 10:47 Arthur Zamarin
2022-09-16 10:16 Arthur Zamarin
2022-09-16 10:16 Arthur Zamarin
2022-07-04  5:08 Michał Górny
2022-05-13  9:08 Michał Górny
2022-05-13  9:08 Michał Górny
2022-01-29 13:38 James Le Cuirot
2021-09-04 21:57 Michał Górny
2021-08-03 15:36 Agostino Sarubbo
2021-08-03 10:57 Agostino Sarubbo
2021-08-03 10:54 Sam James
2021-08-02  4:03 Agostino Sarubbo
2021-08-02  3:18 Sam James
2021-07-31 22:23 Sam James
2021-06-01 20:35 Michał Górny
2021-01-13 11:54 Michał Górny
2021-01-01  0:53 Michał Górny
2020-12-23 21:53 Sam James
2020-12-13 23:23 Sam James
2020-11-28 11:57 Sam James
2020-08-07  4:53 Michał Górny
2020-07-11 22:43 Sam James
2020-07-04 12:36 Mart Raudsepp
2020-06-17 20:36 Sergei Trofimovich
2020-06-17 19:24 Michał Górny
2020-06-17 18:08 Sergei Trofimovich
2020-06-11 18:01 Sergei Trofimovich
2020-05-31 22:49 Matt Turner
2020-05-29 10:41 Michał Górny
2020-05-13 23:03 Sergei Trofimovich
2020-05-04 12:34 Michał Górny
2020-05-03 12:59 Agostino Sarubbo
2020-05-03 10:30 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-05-03 10:01 Agostino Sarubbo
2020-04-13 16:49 Sebastian Pipping
2020-04-11 15:35 Michał Górny
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-28 23:40 Sergei Trofimovich
2020-03-25  9:39 Michał Górny
2020-03-18 18:15 Michał Górny
2020-03-18  7:27 Michał Górny
2020-03-16 18:27 Michał Górny
2020-03-16 18:27 Michał Górny
2020-03-16 18:27 Michał Górny
2020-03-02 15:13 Andrey Grozin
2020-01-20 23:12 Sergei Trofimovich
2019-12-24 14:28 Mikle Kolyada
2019-12-15 14:46 Agostino Sarubbo
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-04  1:47 Aaron Bauman
2019-03-03 10:52 Mikle Kolyada
2018-07-16 19:57 Michał Górny
2018-07-14 16:42 Brian Dolbec
2018-07-04 17:56 Matt Thode
2018-06-09 18:22 Matt Thode
2018-05-01 12:29 Mart Raudsepp
2018-03-10 14:56 Pacho Ramos
2018-02-22 17:02 Michał Górny
2017-07-16 13:05 Patrice Clement
2017-05-19 13:37 Michael Weber
2017-02-12 22:20 Zac Medico
2016-12-01 20:51 Markus Meier
2016-11-20 13:45 Agostino Sarubbo
2016-11-14 15:09 Tobias Klausmann
2016-11-12 11:11 Jeroen Roovers
2016-11-07 15:37 Agostino Sarubbo
2016-10-22  1:53 Brian Dolbec
2016-10-21 23:55 Brian Dolbec
2016-10-12 22:07 Brian Dolbec
2016-02-28  6:43 Matt Thode
2016-01-11  9:56 Agostino Sarubbo
2016-01-10 11:22 Agostino Sarubbo
2015-12-25 18:19 Agostino Sarubbo
2015-11-26 19:26 Markus Meier
2015-11-24  9:37 Jeroen Roovers
2015-11-22  5:38 Jeroen Roovers
2015-11-19 10:16 Agostino Sarubbo
2015-11-18 19:14 Justin Lecher
2015-11-18 15:40 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-11-10 11:49 Justin Lecher
2015-11-10 11:49 Justin Lecher
2015-11-10 10:54 Justin Lecher
2015-11-10 10:54 Justin Lecher
2015-10-22 11:09 Justin Lecher
2015-10-14 15:43 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1590593843.1b76cfa60fe25b74f1ee7d3756ed832f4c7f2a17.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox