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 92D4013835D for ; Wed, 5 May 2021 17:06:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1305E08AD; Wed, 5 May 2021 17:05:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B1EC9E089C for ; Wed, 5 May 2021 17:05:59 +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 C840F33BDEF for ; Wed, 5 May 2021 17:05:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15794752 for ; Wed, 5 May 2021 17:05:56 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1620234337.12ab06dc238aeaa51e4e10e50a8cc1badec8e15e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest/pytest-6.2.4.ebuild X-VCS-Directories: dev-python/pytest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 12ab06dc238aeaa51e4e10e50a8cc1badec8e15e X-VCS-Branch: master Date: Wed, 5 May 2021 17:05:56 +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: 85b779b4-6500-4187-8b66-91c7c7a40160 X-Archives-Hash: 35c4c80cca71b67c7b0d492ae696d0a7 commit: 12ab06dc238aeaa51e4e10e50a8cc1badec8e15e Author: Michał Górny gentoo org> AuthorDate: Wed May 5 13:37:30 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 5 17:05:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ab06dc dev-python/pytest: Enable python3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest/pytest-6.2.4.ebuild | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/dev-python/pytest/pytest-6.2.4.ebuild b/dev-python/pytest/pytest-6.2.4.ebuild index 12ec533b378..267da87475f 100644 --- a/dev-python/pytest/pytest-6.2.4.ebuild +++ b/dev-python/pytest/pytest-6.2.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Simple powerful testing with Python" @@ -29,16 +29,18 @@ RDEPEND=" >=dev-python/py-1.8.2[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] " -DEPEND=" +BDEPEND=" >=dev-python/setuptools_scm-3.4[${PYTHON_USEDEP}] test? ( ${RDEPEND} - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' python3_{7..9} pypy3) )" src_test() { @@ -49,6 +51,8 @@ src_test() { } python_test() { + [[ ${EPYTHON} == python3.10 ]] && return + distutils_install_for_testing --via-root "${EPYTHON}" -m pytest -vv --lsof -rfsxX -p no:pkgcore -p no:flaky ||