[gtk-osx] Patch itstool config to look at python3 first instead of python.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Patch itstool config to look at python3 first instead of python.
- Date: Thu, 1 Aug 2019 02:29:04 +0000 (UTC)
commit f9cb515f31a2661259f029d45397b4a2f1a93414
Author: John Ralls <jralls ceridwen us>
Date: Wed Jul 31 15:21:17 2019 -0700
Patch itstool config to look at python3 first instead of python.
That way it finds the built python if there is one before the virtenv one.
modulesets-stable/gtk-osx-bootstrap.modules | 1 +
patches/itstool-config-python.patch | 14 ++++++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/modulesets-stable/gtk-osx-bootstrap.modules b/modulesets-stable/gtk-osx-bootstrap.modules
index 2fdaa32..64d07e1 100644
--- a/modulesets-stable/gtk-osx-bootstrap.modules
+++ b/modulesets-stable/gtk-osx-bootstrap.modules
@@ -88,6 +88,7 @@
<autotools id="itstool" autogen-sh="configure">
<branch module="itstool/itstool-2.0.6.tar.bz2" version="2.0.6n"
repo="itstool">
+ <patch file="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/patches/itstool-config-python.patch"
strip="1"/>
</branch>
<dependencies>
<dep package="libxml2"/>
diff --git a/patches/itstool-config-python.patch b/patches/itstool-config-python.patch
new file mode 100644
index 0000000..592c37a
--- /dev/null
+++ b/patches/itstool-config-python.patch
@@ -0,0 +1,14 @@
+diff -c /Users/john/configure\~ /Users/john/configure
+--- a/configure Wed Jul 31 13:57:01 2019
++++ b/configure Wed Jul 31 13:57:39 2019
+@@ -2377,7 +2377,7 @@
+ $as_echo_n "(cached) " >&6
+ else
+
+- for am_cv_pathless_PYTHON in python python2 python3 python3.5 python3.4 python3.3 python3.2 python3.1
python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
++ for am_cv_pathless_PYTHON in python3 python2 python python3.5 python3.4 python3.3 python3.2 python3.1
python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
+ test "$am_cv_pathless_PYTHON" = none && break
+ prog="import sys
+ # split strings by '.' and convert to numeric. Append some zeros
+
+Diff finished. Wed Jul 31 13:57:51 2019
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]