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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3287E158042 for ; Tue, 22 Oct 2024 08:12:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54105E08A4; Tue, 22 Oct 2024 08:12: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 395B3E08A4 for ; Tue, 22 Oct 2024 08:12:37 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 375BA340BE0 for ; Tue, 22 Oct 2024 08:12:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CEC5AE7 for ; Tue, 22 Oct 2024 08:12:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1729584710.258c82816692c80adf9a3cac7cfedc49931bd3f5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxmlb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libxmlb/libxmlb-0.3.19.ebuild X-VCS-Directories: dev-libs/libxmlb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 258c82816692c80adf9a3cac7cfedc49931bd3f5 X-VCS-Branch: master Date: Tue, 22 Oct 2024 08:12:34 +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: 4cb8decd-3c92-4a09-874d-c068ce466beb X-Archives-Hash: 5abe08b803ff185a421ba91b81185231 commit: 258c82816692c80adf9a3cac7cfedc49931bd3f5 Author: Sam James gentoo org> AuthorDate: Tue Oct 22 08:11:50 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 22 08:11:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258c8281 dev-libs/libxmlb: fix python_check_deps again Thanks to Ionen for pointing out this will (obviously) return 0 unconditionally... Bug: https://bugs.gentoo.org/941965 Signed-off-by: Sam James gentoo.org> dev-libs/libxmlb/libxmlb-0.3.19.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild index 885e028d15b9..bfc46293970e 100644 --- a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild +++ b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild @@ -42,8 +42,11 @@ BDEPEND=" " python_check_deps() { - use introspection && python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" - return 0 + if use introspection ; then + python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" + else + return 0 + fi } pkg_setup() {