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 4D8E8158F71 for ; Mon, 16 Aug 2021 20:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17F5AE0FB1; Mon, 16 Aug 2021 19:04:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 F3FE5E0FB1 for ; Mon, 16 Aug 2021 19:04:58 +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 9A3C334768C for ; Mon, 16 Aug 2021 19:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B8B3644 for ; Mon, 16 Aug 2021 19:04:56 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1628906003.9105d0ffe0796b8c7d5eeefbaea65012676c6e7e.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-instafail/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild X-VCS-Directories: dev-python/pytest-instafail/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: 9105d0ffe0796b8c7d5eeefbaea65012676c6e7e X-VCS-Branch: master Date: Mon, 16 Aug 2021 19:04:56 +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: bbdd7d9b-8df3-43df-9f76-bf672bd6f913 X-Archives-Hash: bb532879fd50ad89f814fff2a18f942b commit: 9105d0ffe0796b8c7d5eeefbaea65012676c6e7e Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Aug 13 19:55:49 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Sat Aug 14 01:53:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9105d0ff dev-python/pytest-instafail: bump EAPI and python Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> .../pytest-instafail/pytest-instafail-0.4.2.ebuild | 30 +++++----------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild b/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild index 0599a10ad..44da12ecc 100644 --- a/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild +++ b/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Plugin for pytest that shows failures and errors instantly" @@ -16,28 +15,13 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" -RDEPEND=" - >=dev-python/pytest-2.9[${PYTHON_USEDEP}] -" -BDEPEND="test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" +RDEPEND=">=dev-python/pytest-2.9[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/pexpect[${PYTHON_USEDEP}] )" distutils_enable_tests pytest -python_prepare_all() { - # pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. - sed -i -e 's:test_print_stacktrace_once_with_pdb:_&:' \ - test_instafail.py || die - - distutils-r1_python_prepare_all -} - python_test() { - distutils_install_for_testing - pytest -vv || die "Testsuite failed under ${EPYTHON}" + epytest --deselect test_instafail.py::TestInstafailingTerminalReporter::test_print_stacktrace_once_with_pdb }