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 A49601382C5 for ; Tue, 9 Jun 2020 18:02:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAC67E092F; Tue, 9 Jun 2020 18:02:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B6041E092F for ; Tue, 9 Jun 2020 18:02:57 +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 6E27D34EE7C for ; Tue, 9 Jun 2020 18:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAD0D28E for ; Tue, 9 Jun 2020 18:02:54 +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: <1591725772.49519288a59e969168f36f17d387768fb84508ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/terminado/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/terminado/terminado-0.8.3.ebuild X-VCS-Directories: dev-python/terminado/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 49519288a59e969168f36f17d387768fb84508ea X-VCS-Branch: master Date: Tue, 9 Jun 2020 18:02:54 +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: 5279ee44-9684-42f9-aaa9-4c755f9d0e43 X-Archives-Hash: 6e5d7a884ac1137f47b6929ac7cd01b8 commit: 49519288a59e969168f36f17d387768fb84508ea Author: Michał Górny gentoo org> AuthorDate: Tue Jun 9 18:01:39 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 9 18:02:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49519288 dev-python/terminado: Port to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/terminado/terminado-0.8.3.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/dev-python/terminado/terminado-0.8.3.ebuild b/dev-python/terminado/terminado-0.8.3.ebuild index 8088786d9bb..9b0ff3d216f 100644 --- a/dev-python/terminado/terminado-0.8.3.ebuild +++ b/dev-python/terminado/terminado-0.8.3.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -14,15 +15,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="BSD-2" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/ptyprocess[${PYTHON_USEDEP}] - >=www-servers/tornado-0.4[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + www-servers/tornado[${PYTHON_USEDEP}]" -python_test() { - py.test -v || die +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:test_max_terminals:_&:' \ + terminado/tests/basic_test.py || die + distutils-r1_src_prepare }