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 1FA27158020 for ; Tue, 25 Oct 2022 20:30:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 179B0E0D8D; Tue, 25 Oct 2022 20:30:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 F100EE0D89 for ; Tue, 25 Oct 2022 20:30:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C8D18340DC4 for ; Tue, 25 Oct 2022 20:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ECAC62E for ; Tue, 25 Oct 2022 20:30:51 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1666729843.656affc9361dd706898282a7f9784d37b40af5d7.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xdist/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-xdist/Manifest dev-python/pytest-xdist/pytest-xdist-3.0.2.ebuild X-VCS-Directories: dev-python/pytest-xdist/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 656affc9361dd706898282a7f9784d37b40af5d7 X-VCS-Branch: master Date: Tue, 25 Oct 2022 20:30:51 +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: 6a7ceee0-3732-4df0-aa63-9a7f61f33030 X-Archives-Hash: 429fefb836315a7b05bd4be5f94e41f4 commit: 656affc9361dd706898282a7f9784d37b40af5d7 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Oct 25 20:05:42 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 25 20:30:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656affc9 dev-python/pytest-xdist: add 3.0.2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytest-xdist/Manifest | 1 + dev-python/pytest-xdist/pytest-xdist-3.0.2.ebuild | 45 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index a6860576c9e8..a8355c678ae2 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1 +1,2 @@ DIST pytest-xdist-2.5.0.tar.gz 72455 BLAKE2B 4d7427e8a7d85d7b0dcae2697fae0f51913a3a2414fabbb192a8e3938431f5f121677dd43adecfb1fc7f3dd6feb94901e28b0a96787a2c2eadc1504aac55068f SHA512 22da4db7cdd6173fb8377b6adc30b5617ccb0bb308cb5d30980484dd7ddff87cf2a485ae8522c7957d8954dd2f8a5542b9f63b0fa7184cc44e50dbafc3f4e909 +DIST pytest-xdist-3.0.2.tar.gz 69590 BLAKE2B b7e471e1888f78e1c91a867cd1d06f373c255018f63daab4af30fe47df816721954f484006b59bb38d58f9525712a5bc7bb6f00d190bee3580b82baf9b2cb55d SHA512 8b03dd156b7ef82b3b0c78f8aeb83410ce3014e3764aeca4161d57fe2ad557f0316ca86dbf06ac79ddc677df3dc838161fe427b0d1d9ba9446612360eb99fbf2 diff --git a/dev-python/pytest-xdist/pytest-xdist-3.0.2.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.0.2.ebuild new file mode 100644 index 000000000000..1079a190886e --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.0.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/execnet[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-6.2.0[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked + + epytest +}