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 91190138359 for ; Thu, 22 Oct 2020 14:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C44F8E0863; Thu, 22 Oct 2020 14:39:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 A0FA6E0863 for ; Thu, 22 Oct 2020 14:39:25 +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 9D9AF340E06 for ; Thu, 22 Oct 2020 14:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12C5C3BA for ; Thu, 22 Oct 2020 14:39:22 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1603377553.f7a4d75f59717aa6d0a3237c08ca49e939a4c496.andrewammerlaan@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/Manifest dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild dev-python/pytest-instafail/pytest-instafail-0.4.1_p0.ebuild dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild X-VCS-Directories: dev-python/pytest-instafail/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f7a4d75f59717aa6d0a3237c08ca49e939a4c496 X-VCS-Branch: dev Date: Thu, 22 Oct 2020 14:39:22 +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: 0530917f-a654-488d-a327-2dd19cc5c638 X-Archives-Hash: adb59f1702036cd14342d928eb7b16b1 Message-ID: <20201022143922.IWzAMNBiK4T4mK0cUKbEuqxVnM-dDDpqrm9c920O1sc@z> commit: f7a4d75f59717aa6d0a3237c08ca49e939a4c496 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Oct 22 14:39:13 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Oct 22 14:39:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7a4d75f dev-python/pytest-instafail: version bump 0.4.2 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-instafail/Manifest | 2 +- .../pytest-instafail-0.4.1_p0.ebuild | 39 ---------------------- ..._p0-r1.ebuild => pytest-instafail-0.4.2.ebuild} | 27 ++++++++------- 3 files changed, 16 insertions(+), 52 deletions(-) diff --git a/dev-python/pytest-instafail/Manifest b/dev-python/pytest-instafail/Manifest index f617288e..6f6278fa 100644 --- a/dev-python/pytest-instafail/Manifest +++ b/dev-python/pytest-instafail/Manifest @@ -1 +1 @@ -DIST pytest-instafail-0.4.1_p0.tar.gz 5301 BLAKE2B 542ae74fa6f381e58252f7a00bf4e1a5208679a6c56d0c9e2e39b46daec34459c2fe2b4ec8c2e6a94d517a769df0019752b1f87257e70a00683e3bb72f3f2d93 SHA512 1e2d7a1dd13ab11d5f6a5e8876aa8a48a6ff9012707d63023d709bfb1aa9a9ee3c088fc9b507d4b75d41e7ab1474154937575b2fa3a6f1bfb286fc3865f70382 +DIST pytest-instafail-0.4.2.tar.gz 5384 BLAKE2B ac9701476a6b707bc678c3368d02408bec9ea5ffa84abe60bd5b455ff00b860399e9993f388eef1d08335d98c5f1b6c66f99d8143053ac09dc6696f7cf96a4f0 SHA512 31d7b2f2e6f4fa4a43001f9a3e983b6a7506bce9bb4c1568f07f7bc58cb469d7a514a73a04c84a5b2836dfb223ddbe7777b86a4c0e5ec9cb8e1e8eb51111eb9b diff --git a/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0.ebuild b/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0.ebuild deleted file mode 100644 index 07d96963..00000000 --- a/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -MY_PV=${PV/_p/.post} - -DESCRIPTION="Plugin for pytest that shows failures and errors instantly" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-instafail - https://pypi.org/project/pytest-instafail -" -SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/pytest-2.9[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-instafail[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -S="${WORKDIR}/${PN}-${MY_PV}" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild b/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild similarity index 61% rename from dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild rename to dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild index cd776337..0599a10a 100644 --- a/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild +++ b/dev-python/pytest-instafail/pytest-instafail-0.4.2.ebuild @@ -3,36 +3,39 @@ EAPI=7 -PYTHON_COMPAT=( pypy3 python3_{7,8} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) inherit distutils-r1 -MY_PV=${PV/_p/.post} - DESCRIPTION="Plugin for pytest that shows failures and errors instantly" HOMEPAGE=" https://github.com/pytest-dev/pytest-instafail https://pypi.org/project/pytest-instafail " -SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" + RDEPEND=" >=dev-python/pytest-2.9[${PYTHON_USEDEP}] " -DEPEND=" - ${RDEPEND} - test? ( +BDEPEND="test? ( dev-python/pexpect[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " -S="${WORKDIR}/${PN}-${MY_PV}" + +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