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 009A715808B for ; Thu, 7 Apr 2022 09:49:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 253D5E0AB4; Thu, 7 Apr 2022 09:49:37 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1584E0AD6 for ; Thu, 7 Apr 2022 09:49:35 +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 0D5D0341311 for ; Thu, 7 Apr 2022 09:49:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 498E2177 for ; Thu, 7 Apr 2022 09:49:32 +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: <1649323633.b973812635d7156ab4b75b6a7a7bac292131c2ca.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hatchling/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hatchling/hatchling-0.22.0.ebuild X-VCS-Directories: dev-python/hatchling/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b973812635d7156ab4b75b6a7a7bac292131c2ca X-VCS-Branch: master Date: Thu, 7 Apr 2022 09:49:32 +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: 42ff694c-0309-4410-b9e7-2b63948930cd X-Archives-Hash: 2eb6223eef844807115cec9fa72d6a6c commit: b973812635d7156ab4b75b6a7a7bac292131c2ca Author: Michał Górny gentoo org> AuthorDate: Thu Apr 7 09:27:13 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 7 09:27:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9738126 dev-python/hatchling: Enable pypy3 Signed-off-by: Michał Górny gentoo.org> dev-python/hatchling/hatchling-0.22.0.ebuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/dev-python/hatchling/hatchling-0.22.0.ebuild b/dev-python/hatchling/hatchling-0.22.0.ebuild index 72e3b3bb04e8..992bc68216bc 100644 --- a/dev-python/hatchling/hatchling-0.22.0.ebuild +++ b/dev-python/hatchling/hatchling-0.22.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( pypy3 python3_{8..10} ) inherit distutils-r1 @@ -35,11 +35,13 @@ RDEPEND=" BDEPEND=" ${RDEPEND} test? ( - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ' 'python*') ) " @@ -52,6 +54,11 @@ python_compile() { } python_test() { + if [[ ${EPYTHON} != python* ]]; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + local -x EPYTEST_DESELECT=( # these run pip to install stuff tests/backend/dep/test_core.py::test_dependency_found