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 E6D4E15800A for ; Sat, 19 Aug 2023 16:39:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E4482BC016; Sat, 19 Aug 2023 16:39:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 27F4B2BC016 for ; Sat, 19 Aug 2023 16:39: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 261AA341129 for ; Sat, 19 Aug 2023 16:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 974C0102E for ; Sat, 19 Aug 2023 16:39:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1692463175.fe07031dfb04ac810a67a77a30e2452eb346cb61.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/portage/portage-3.0.50.ebuild sys-apps/portage/portage-9999.ebuild X-VCS-Directories: sys-apps/portage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fe07031dfb04ac810a67a77a30e2452eb346cb61 X-VCS-Branch: master Date: Sat, 19 Aug 2023 16:39:50 +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: 7525b1f3-d77e-418e-b643-6858c657adf5 X-Archives-Hash: f1ea79624ac55ece2ef551706cddae21 commit: fe07031dfb04ac810a67a77a30e2452eb346cb61 Author: Sam James gentoo org> AuthorDate: Sat Aug 19 16:39:29 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 19 16:39:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe07031d sys-apps/portage: use xdist, epytest-style formatting Signed-off-by: Sam James gentoo.org> sys-apps/portage/portage-3.0.50.ebuild | 9 +++++++-- sys-apps/portage/portage-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/sys-apps/portage/portage-3.0.50.ebuild b/sys-apps/portage/portage-3.0.50.ebuild index ec4db2e48278..752d29f03855 100644 --- a/sys-apps/portage/portage-3.0.50.ebuild +++ b/sys-apps/portage/portage-3.0.50.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( pypy3 python3_{10..12} ) PYTHON_REQ_USE='bzip2(+),threads(+)' TMPFILES_OPTIONAL=1 -inherit meson linux-info python-r1 tmpfiles +inherit meson linux-info multiprocessing python-r1 tmpfiles DESCRIPTION="The package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -37,7 +37,10 @@ BDEPEND=" $(python_gen_cond_dep ' dev-python/setuptools[${PYTHON_USEDEP}] ' python3_12) - test? ( dev-vcs/git ) + test? ( + dev-vcs/git + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) " DEPEND=" ${PYTHON_DEPS} @@ -153,6 +156,8 @@ src_compile() { } src_test() { + local -x PYTEST_ADDOPTS="-vv -ra -l -o console_output_style=count -n $(makeopts_jobs) --dist=worksteal" + python_foreach_impl meson_src_test --no-rebuild --verbose } diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index ec4db2e48278..752d29f03855 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( pypy3 python3_{10..12} ) PYTHON_REQ_USE='bzip2(+),threads(+)' TMPFILES_OPTIONAL=1 -inherit meson linux-info python-r1 tmpfiles +inherit meson linux-info multiprocessing python-r1 tmpfiles DESCRIPTION="The package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -37,7 +37,10 @@ BDEPEND=" $(python_gen_cond_dep ' dev-python/setuptools[${PYTHON_USEDEP}] ' python3_12) - test? ( dev-vcs/git ) + test? ( + dev-vcs/git + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) " DEPEND=" ${PYTHON_DEPS} @@ -153,6 +156,8 @@ src_compile() { } src_test() { + local -x PYTEST_ADDOPTS="-vv -ra -l -o console_output_style=count -n $(makeopts_jobs) --dist=worksteal" + python_foreach_impl meson_src_test --no-rebuild --verbose }