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 6DBDF15808D for ; Thu, 21 Apr 2022 17:06:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81FFB2BC002; Thu, 21 Apr 2022 17:06:16 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A81922BC004 for ; Thu, 21 Apr 2022 17:06:12 +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 90488341C76 for ; Thu, 21 Apr 2022 17:06:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9B283BB for ; Thu, 21 Apr 2022 17:06:09 +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: <1650560759.1b52b3cdf8eee357742bbde92d0555279f6a0f6d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/distutils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1b52b3cdf8eee357742bbde92d0555279f6a0f6d X-VCS-Branch: master Date: Thu, 21 Apr 2022 17:06:09 +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: fee741cb-71d6-430f-92f1-303dde44657a X-Archives-Hash: 84abf1426d1d0829ea3487ebca506730 commit: 1b52b3cdf8eee357742bbde92d0555279f6a0f6d Author: Michał Górny gentoo org> AuthorDate: Thu Apr 21 16:01:10 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 21 17:05:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b52b3cd distutils-r1.eclass: "build" dir warn makes sense for pep517 only Signed-off-by: Michał Górny gentoo.org> eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index b65906dcbf84..5528ff74cccf 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1171,7 +1171,7 @@ distutils-r1_python_compile() { # call setup.py build when using setuptools (either via PEP517 # or in legacy mode) if [[ ${DISTUTILS_USE_PEP517:-setuptools} == setuptools ]]; then - if [[ ${GPEP517_TESTING} ]]; then + if [[ ${GPEP517_TESTING} && ${DISTUTILS_USE_PEP517} ]]; then if [[ -d build ]]; then eqawarn "A 'build' directory exists already. Artifacts from this directory may" eqawarn "be picked up by setuptools when building for another interpreter."