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 D60BE139360 for ; Sat, 14 Aug 2021 02:00:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E836BE09E3; Sat, 14 Aug 2021 02:00:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 C8691E09E3 for ; Sat, 14 Aug 2021 02:00:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6AEAF340D3A for ; Sat, 14 Aug 2021 02:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2EA58A7 for ; Sat, 14 Aug 2021 02:00:02 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1628906003.9105d0ffe0796b8c7d5eeefbaea65012676c6e7e.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 9105d0ffe0796b8c7d5eeefbaea65012676c6e7e X-VCS-Branch: dev Date: Sat, 14 Aug 2021 02:00:02 +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: d9275123-9a06-4d93-8146-3397034e3c35 X-Archives-Hash: e9c1b9e0db1d3f36ef16ee247700c338 commit: 9105d0ffe0796b8c7d5eeefbaea65012676c6e7e Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Aug 13 19:55:49 2021 +0000 Commit: Anna Vyalkova sysrq in> 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 }