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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 875B7158090 for ; Thu, 19 May 2022 15:23:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1347E0858; Thu, 19 May 2022 15:23:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id AAD1DE0858 for ; Thu, 19 May 2022 15:23:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 603C8341738 for ; Thu, 19 May 2022 15:23:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED43D47B for ; Thu, 19 May 2022 15:23:43 +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: <1652973810.876d2220e0e61aa6d3a66a3afd653ce78002e2af.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/txaio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/txaio/txaio-22.2.1.ebuild X-VCS-Directories: dev-python/txaio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 876d2220e0e61aa6d3a66a3afd653ce78002e2af X-VCS-Branch: master Date: Thu, 19 May 2022 15:23:43 +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: 81d5555e-fd63-4ca7-9d81-deee24846cf1 X-Archives-Hash: db8504df6860af8904fdf90ddc7d67b4 commit: 876d2220e0e61aa6d3a66a3afd653ce78002e2af Author: Michał Górny gentoo org> AuthorDate: Thu May 19 14:29:22 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 19 15:23:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876d2220 dev-python/txaio: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/txaio/txaio-22.2.1.ebuild | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/dev-python/txaio/txaio-22.2.1.ebuild b/dev-python/txaio/txaio-22.2.1.ebuild index 173b2c1b92f6..9b967afe9b6f 100644 --- a/dev-python/txaio/txaio-22.2.1.ebuild +++ b/dev-python/txaio/txaio-22.2.1.ebuild @@ -4,12 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 optfeature DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius" -HOMEPAGE="https://github.com/crossbario/txaio https://pypi.org/project/txaio/" +HOMEPAGE=" + https://github.com/crossbario/txaio/ + https://pypi.org/project/txaio/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" @@ -21,11 +24,20 @@ distutils_enable_sphinx docs \ '>=dev-python/sphinx_rtd_theme-0.1.9' distutils_enable_tests pytest -EPYTEST_DESELECT=( - # Take out failing tests known to pass when run manually - # we certainly don't need to test "python setup.py sdist" here - test/test_packaging.py -) +python_test() { + local EPYTEST_DESELECT=( + # we certainly don't need to test "python setup.py sdist" here + test/test_packaging.py + ) + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # tests for removed asyncio.coroutine + test/test_as_future.py::test_as_future_coroutine + test/test_call_later.py::test_explicit_reactor_coroutine + test/test_is_future.py::test_is_future_coroutine + ) + + epytest +} pkg_postinst() { optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface"