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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF03C138335 for ; Sat, 15 Jun 2019 14:19:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D45EE08C3; Sat, 15 Jun 2019 14:19:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7446BE08C3 for ; Sat, 15 Jun 2019 14:19:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 126CA34619C for ; Sat, 15 Jun 2019 14:19:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAB6161C for ; Sat, 15 Jun 2019 14:19: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: <1560608357.9cfb9d99622ed21335980d7999af5b143feab5ed.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/scons/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/scons/scons-3.0.5-r1.ebuild X-VCS-Directories: dev-util/scons/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9cfb9d99622ed21335980d7999af5b143feab5ed X-VCS-Branch: master Date: Sat, 15 Jun 2019 14:19: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: 0da53483-85e8-47bc-891f-925dd5d0aa3d X-Archives-Hash: f10a480a9eb830c3214927247e33ca4d commit: 9cfb9d99622ed21335980d7999af5b143feab5ed Author: band-a-prend yandex ru> AuthorDate: Fri Jun 7 21:32:36 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 14:19:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cfb9d99 dev-util/scons: 3.0.5-r1 fix passthrough of $PATH env The env-passthrough patch make possible to pass $PATH env to scons build env while build of packages that use scons as build system by call of escons() function from scons-util.eclass. The escons() func. setup GENTOO_SCONS_ENV_PASSTHROUGH=1 variable that make the patch mentioned above to be working. The scons package doesn't call escons() so it get to setup GENTOO_ENV_PASSTHROUTH=1 variable directly within python_test() phase. This fix repairs Clang tests that failed because the clang and clang++ couldn't be found within scons test env. Signed-off-by: Sergey Torokhov mail.ru> Signed-off-by: Michał Górny gentoo.org> dev-util/scons/scons-3.0.5-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-util/scons/scons-3.0.5-r1.ebuild b/dev-util/scons/scons-3.0.5-r1.ebuild index 5dba6c1f8da..e7f2ac66479 100644 --- a/dev-util/scons/scons-3.0.5-r1.ebuild +++ b/dev-util/scons/scons-3.0.5-r1.ebuild @@ -62,6 +62,8 @@ src_prepare() { } python_test() { + # set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env + local -x GENTOO_SCONS_ENV_PASSTHROUGH=1 cd "${WORKDIR}/${P}" || die "${EPYTHON}" runtest.py -a --passed \ -j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \