From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1370451-garchives=archives.gentoo.org@lists.gentoo.org> 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 CD72715808B for <garchives@archives.gentoo.org>; Wed, 23 Feb 2022 22:14:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19601E0953; Wed, 23 Feb 2022 22:14:51 +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 EEB26E0953 for <gentoo-commits@lists.gentoo.org>; Wed, 23 Feb 2022 22:14:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CD9B13430DB for <gentoo-commits@lists.gentoo.org>; Wed, 23 Feb 2022 22:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47E7A2DD for <gentoo-commits@lists.gentoo.org>; Wed, 23 Feb 2022 22:14:48 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1645654484.923e332a0185db7f12cd1b3dfd9e321567436a7c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/boto3/boto3-1.21.6.ebuild dev-python/boto3/boto3-9999.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 923e332a0185db7f12cd1b3dfd9e321567436a7c X-VCS-Branch: master Date: Wed, 23 Feb 2022 22:14:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8834cc17-2337-49d9-834a-fa6adb200f68 X-Archives-Hash: 7320080500166be775836245047a1604 commit: 923e332a0185db7f12cd1b3dfd9e321567436a7c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Feb 23 22:01:20 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Feb 23 22:14:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923e332a dev-python/boto3: Use pytest-xdist to speed tests up Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/boto3-1.21.6.ebuild | 6 ++++-- dev-python/boto3/boto3-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/boto3/boto3-1.21.6.ebuild b/dev-python/boto3/boto3-1.21.6.ebuild index 48ea5aa483a1..08e404dd41b6 100644 --- a/dev-python/boto3/boto3-1.21.6.ebuild +++ b/dev-python/boto3/boto3-1.21.6.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="The AWS SDK for Python" HOMEPAGE="https://github.com/boto/boto3" @@ -32,6 +32,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " @@ -56,5 +57,6 @@ python_prepare_all() { } python_test() { - epytest tests/{functional,unit} + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" } diff --git a/dev-python/boto3/boto3-9999.ebuild b/dev-python/boto3/boto3-9999.ebuild index 48ea5aa483a1..08e404dd41b6 100644 --- a/dev-python/boto3/boto3-9999.ebuild +++ b/dev-python/boto3/boto3-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="The AWS SDK for Python" HOMEPAGE="https://github.com/boto/boto3" @@ -32,6 +32,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " @@ -56,5 +57,6 @@ python_prepare_all() { } python_test() { - epytest tests/{functional,unit} + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" }