From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 297461580EB for ; Fri, 23 May 2025 16:53:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 157B5343632 for ; Fri, 23 May 2025 16:53:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1BED411049F; Fri, 23 May 2025 16:53:34 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 175FF11049F for ; Fri, 23 May 2025 16:53:34 +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 C7AE03435A7 for ; Fri, 23 May 2025 16:53:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B417C281D for ; Fri, 23 May 2025 16:53:30 +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: <1748019152.038e94a19b097e5c186a09403e8853b2ffd08416.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-1.27.0.ebuild X-VCS-Directories: dev-python/hatchling/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 038e94a19b097e5c186a09403e8853b2ffd08416 X-VCS-Branch: master Date: Fri, 23 May 2025 16:53:30 +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: 370055b7-504c-453d-9d77-730e05fefa76 X-Archives-Hash: 77d8b808886e7f5df89ed7eee2deccce commit: 038e94a19b097e5c186a09403e8853b2ffd08416 Author: Michał Górny gentoo org> AuthorDate: Fri May 23 16:52:10 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 23 16:52:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038e94a1 dev-python/hatchling: Do not add pytest dep for non-PYTHON_TESTED Signed-off-by: Michał Górny gentoo.org> dev-python/hatchling/hatchling-1.27.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/hatchling/hatchling-1.27.0.ebuild b/dev-python/hatchling/hatchling-1.27.0.ebuild index a853e7f4c6db..a053ebfe7b61 100644 --- a/dev-python/hatchling/hatchling-1.27.0.ebuild +++ b/dev-python/hatchling/hatchling-1.27.0.ebuild @@ -25,6 +25,8 @@ S=${WORKDIR}/${MY_P}/backend LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" # deps are listed in backend/src/hatchling/ouroboros.py # editables are optional but required for editable installs @@ -46,6 +48,7 @@ BDEPEND=" dev-python/click[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] dev-python/tomli-w[${PYTHON_USEDEP}] @@ -54,8 +57,6 @@ BDEPEND=" ) " -distutils_enable_tests pytest - src_test() { # top-level "tests" directory contains tests both for hatch # and hatchling