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 3A102158064 for ; Wed, 1 May 2024 11:48:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 772E5E29E0; Wed, 1 May 2024 11:48:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5581EE29E0 for ; Wed, 1 May 2024 11:48:13 +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 7F1473430B2 for ; Wed, 1 May 2024 11:48:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14E6B1355 for ; Wed, 1 May 2024 11:48:11 +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: <1714564084.ee655b9dd8c278c744b1ec1ec9aa068b257cb6fa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-backend/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pdm-backend/pdm-backend-2.3.0.ebuild X-VCS-Directories: dev-python/pdm-backend/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ee655b9dd8c278c744b1ec1ec9aa068b257cb6fa X-VCS-Branch: master Date: Wed, 1 May 2024 11:48:11 +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: fbaa4df6-5d99-4471-ac6b-07a5636a976b X-Archives-Hash: 63845e5a96177625bd63d333036a5c47 commit: ee655b9dd8c278c744b1ec1ec9aa068b257cb6fa Author: Michał Górny gentoo org> AuthorDate: Wed May 1 11:31:30 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 1 11:48:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee655b9d dev-python/pdm-backend: Fix missing dev-vcs/mercurial test dep Closes: https://bugs.gentoo.org/931017 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm-backend/pdm-backend-2.3.0.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild index 6acf66b19a87..68fac1eadef9 100644 --- a/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild +++ b/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild @@ -37,6 +37,9 @@ BDEPEND=" test? ( dev-python/setuptools[${PYTHON_USEDEP}] dev-vcs/git + !s390? ( !sparc? ( + dev-vcs/mercurial + ) ) ) " # setuptools are used to build C extensions @@ -67,3 +70,13 @@ src_test() { git config --global user.name "Test User" || die distutils-r1_src_test } + +python_test() { + local args=() + if ! has_version dev-vcs/mercurial; then + args+=( -k "not [hg" ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest "${args[@]}" +}