Skip to contentSkip to conversation

lirc-tools: needs host-python3

PATCH New Gustavo Zacarias 3 participants 3 messages Mar 19, 2016 – Mar 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lirc-tools: needs host-python3

As stated in NEWS "Build scripts now requires python3". Fixes:
http://autobuild.buildroot.net/results/f41/f417a17ad24eec8f72402a634588c6b3af8293be/

---
 package/lirc-tools/lirc-tools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/lirc-tools/lirc-tools.mk +1 -1
index 2e437a6..46886a9 100644
@@ -9,7 +9,7 @@ LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
 LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)
 LIRC_TOOLS_LICENSE = GPLv2+
 LIRC_TOOLS_LICENSE_FILES = COPYING
-LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf
+LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3
 LIRC_TOOLS_INSTALL_STAGING = YES
 
 LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 lirc-tools: needs host-python3

Hello,

Quoted 7 lines · Gustavo Zacarias

As stated in NEWS "Build scripts now requires python3". Fixes:
http://autobuild.buildroot.net/results/f41/f417a17ad24eec8f72402a634588c6b3af8293be/

---
 package/lirc-tools/lirc-tools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks. However, one question that comes to mind is what will happen if both host-python and host-python3 are built, will lirc-tools build system properly use python3 ?

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 lirc-tools: needs host-python3

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Quoted 3 lines · Gustavo Zacarias

As stated in NEWS "Build scripts now requires python3". Fixes:
http://autobuild.buildroot.net/results/f41/f417a17ad24eec8f72402a634588c6b3af8293be/

Quoted 8 lines
Quoted 4 lines

---
package/lirc-tools/lirc-tools.mk | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks. However, one question that comes to mind is what will happen if both host-python and host-python3 are built, will lirc-tools build system properly use python3 ?

From a quick look it seems like the scripts use:

#!/usr/bin/env python3

So that should work when we have both python versions enabled.

Signature · 1 line
Bye, Peter Korsgaard