Skip to contentSkip to conversation

libepoxy: Don't try to use python3 during configuration

PATCH In review Gary Thomas 2 participants 2 messages Jul 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libepoxy: Don't try to use python3 during configuration

No need to try for python3 as python2.7+ will do fine.

---
 .../libepoxy/libepoxy/no-need-for-python3.patch      | 20 ++++++++++++++++++++
 meta/recipes-graphics/libepoxy/libepoxy_git.bb       |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch
meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch new file +20 -0
new file mode 100644
index 0000000..dc5ef28
@@ -0,0 +1,20 @@
+There is no need to use python3 by this package (the python scripts
+that are using during configuration only need python2.7+)
+
+Upstream-Status: innapropriate [configuration]
+
+Signed-off-by: Gary Thomas <[email protected]>
+--
+Index: git/configure.ac
+===================================================================
+--- git.orig/configure.ac
++++ git/configure.ac
+@@ -40,7 +40,7 @@ m4_ifndef([XORG_MACROS_VERSION],
+ XORG_MACROS_VERSION(1.8)
+ XORG_DEFAULT_OPTIONS
+ 
+-AC_CHECK_PROGS([PYTHON], [python3 python2 python])
++AC_CHECK_PROGS([PYTHON], [python2 python])
+ 
+ # Initialize libtool
+ AC_DISABLE_STATIC
meta/recipes-graphics/libepoxy/libepoxy_git.bb +1 -0
index 9816257..535af5d 100644
@@ -10,6 +10,7 @@ SRC_URI = " \
     git://github.com/anholt/libepoxy.git \
     file://0001-select-platforms-based-on-configuration-results.patch \
     file://0002-add-an-option-to-disable-glx-support.patch \
+    file://no-need-for-python3.patch \
 "
 SRCREV="20062c25e7612cab023cdef44d3277ba1bd0b2de"
 PV = "1.2+git${SRCPV}"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Gary Thomas

No need to try for python3 as python2.7+ will do fine.

I rewrote this message to explicitly mention the argparse thing for future reference, but thanks for the quick patch.

Ross