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 C549F158092 for ; Wed, 8 Jun 2022 19:16:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC7B7E08F0; Wed, 8 Jun 2022 19:16:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6F91E08EB for ; Wed, 8 Jun 2022 19:16:17 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43B48341185 for ; Wed, 8 Jun 2022 19:16:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4ECD64FF for ; Wed, 8 Jun 2022 19:16:13 +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: <1654715719.f29c6b993b40bc4621294a5ca8ed781b5f8a279c.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild X-VCS-Directories: dev-python/pytest-qt/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f29c6b993b40bc4621294a5ca8ed781b5f8a279c X-VCS-Branch: master Date: Wed, 8 Jun 2022 19:16:13 +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: ccb01d64-4f32-431c-ba7b-77c39c893deb X-Archives-Hash: a084d9c65d486a07adb2530f3b926aa2 commit: f29c6b993b40bc4621294a5ca8ed781b5f8a279c Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed May 25 10:48:06 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jun 8 19:15:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29c6b99 dev-python/pytest-qt: enable py3.11 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild index 11a6bd58b0a3..cddbe0810ddd 100644 --- a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild +++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 virtualx @@ -22,7 +22,9 @@ RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]" BDEPEND=" test? ( dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}] - dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] + ' python3_{8..10} ) ) " @@ -50,5 +52,8 @@ python_test() { ) PYTEST_QT_API="pyqt5" epytest || die - PYTEST_QT_API="pyside2" epytest || die + # Pyside2 is not compatible with python3.11 + if [[ "${EPYTHON}" != python3.11 ]]; then + PYTEST_QT_API="pyside2" epytest || die + fi }