Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/scons: explicitly specify host Python 3
@ 2020-07-14  3:39 Robert Hancock
  2020-07-14  8:15 ` Thomas Petazzoni
  2022-01-08 11:20 ` Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Robert Hancock @ 2020-07-14  3:39 UTC (permalink / raw)
  To: buildroot

All packages using scons are now using Python 3 to run it, so
explicitly set scons as using host-python3. This avoids a
spurious host Python 2 dependency if BR2_PACKAGE_PYTHON3 is not
set (for example, if no Python is packaged for the target).

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
---
 package/scons/scons.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/scons/scons.mk b/package/scons/scons.mk
index da2ccceb08..a95fa7fd69 100644
--- a/package/scons/scons.mk
+++ b/package/scons/scons.mk
@@ -10,6 +10,8 @@ SCONS_LICENSE = MIT
 SCONS_LICENSE_FILES = LICENSE.txt
 SCONS_SETUP_TYPE = distutils
 
+HOST_SCONS_NEEDS_HOST_PYTHON = python3
+
 HOST_SCONS_INSTALL_OPTS = \
 	--install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION)
 
-- 
2.18.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-08 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14  3:39 [Buildroot] [PATCH] package/scons: explicitly specify host Python 3 Robert Hancock
2020-07-14  8:15 ` Thomas Petazzoni
2020-07-14 13:31   ` Titouan Christophe
2020-07-14 13:51     ` Thomas Petazzoni
2020-07-14 16:23   ` Robert Hancock
2022-01-08 11:20 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox