From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE9BB158287 for ; Fri, 16 May 2025 04:05:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5248734382D for ; Fri, 16 May 2025 04:05:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 79FAA1103DE; Fri, 16 May 2025 04:05:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 71C961103DE for ; Fri, 16 May 2025 04:05:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C2F3335D6B for ; Fri, 16 May 2025 04:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A959F1FC2 for ; Fri, 16 May 2025 04:04: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: <1747368284.7b73a2f6fa493ed4b68de8a489fd871353078494.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tornado/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tornado/Manifest dev-python/tornado/tornado-6.5.ebuild X-VCS-Directories: dev-python/tornado/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7b73a2f6fa493ed4b68de8a489fd871353078494 X-VCS-Branch: master Date: Fri, 16 May 2025 04:04: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: 0bf9ed61-03b1-4d11-8e1d-ded256e502e3 X-Archives-Hash: cffa702e9b98586d199a552b3a0140fe commit: 7b73a2f6fa493ed4b68de8a489fd871353078494 Author: Michał Górny gentoo org> AuthorDate: Fri May 16 03:32:50 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 16 04:04:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b73a2f6 dev-python/tornado: Bump to 6.5 Signed-off-by: Michał Górny gentoo.org> dev-python/tornado/Manifest | 1 + dev-python/tornado/tornado-6.5.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-python/tornado/Manifest b/dev-python/tornado/Manifest index 3707192cf6f5..7f44fc09ee32 100644 --- a/dev-python/tornado/Manifest +++ b/dev-python/tornado/Manifest @@ -1 +1,2 @@ DIST tornado-6.4.2.tar.gz 501135 BLAKE2B 875513089ceaa6d1195cd6959e15bfef51cef4a61c55e678e0e60bd1001afa025d452441938a21ad91189d5c4d07c6cf85d0cec0f41e07cf2c4b7b66e0770c25 SHA512 4f4556f0f7db8e13a101254693f92841374114912960d9874948548452cc9b38933292c0e37971fb151a4d9dbcf5ed7563c1505e090a1aef306f1c46f351534d +DIST tornado-6.5.tar.gz 508968 BLAKE2B 0b7e64292444582c46bf5e9cf36b438adc9c9345757272518e9a96cac33b5ff00c180224b80cb27ece366e5790f384c86f6c870a52faa4fc60cd504fe571d28c SHA512 30c5caa80fcf7d39bee61f58d7940c57cd1834e0f519501dee49b86a3a00122c1a105205a8edb414b39b6088d217e2628fcd9c8c76b1fceddd81ce087aa31f0a diff --git a/dev-python/tornado/tornado-6.5.ebuild b/dev-python/tornado/tornado-6.5.ebuild new file mode 100644 index 000000000000..93ece72543c7 --- /dev/null +++ b/dev-python/tornado/tornado-6.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} pypy3_11 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python web framework and asynchronous networking library" +HOMEPAGE=" + https://www.tornadoweb.org/ + https://github.com/tornadoweb/tornado/ + https://pypi.org/project/tornado/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + >=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-6.3.2-ignore-deprecationwarning.patch" +) + +src_prepare() { + # network-sandbox? ipv6? + sed -i -e 's:test_localhost:_&:' \ + tornado/test/netutil_test.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x ASYNC_TEST_TIMEOUT=60 + # Avoid time-sensitive tests + # https://github.com/tornadoweb/tornado/blob/10974e6ebee80a26a2a65bb9bd715cf858fafde5/tornado/test/util.py#L19 + local -x TRAVIS=1 + local -x NO_NETWORK=1 + + cd "${T}" || die + # TODO: remove --fail-if-logs=false after we fix the pypy bug + # https://github.com/pypy/pypy/issues/5271 + "${EPYTHON}" -m tornado.test.runtests --verbose --fail-if-logs=false || + die "tests failed under ${EPYTHON}" +}