[gnome-builder] manifest: patch various docutils files



commit b2e31073bd884fedb93a8b6569110532794b6996
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 19 18:37:29 2017 -0700

    manifest: patch various docutils files

 build/flatpak/docutils-fix-python3-shebang.patch |   88 ++++++++++++++++++++++
 org.gnome.Builder.json                           |    4 +
 2 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/build/flatpak/docutils-fix-python3-shebang.patch 
b/build/flatpak/docutils-fix-python3-shebang.patch
new file mode 100644
index 0000000..a23ee64
--- /dev/null
+++ b/build/flatpak/docutils-fix-python3-shebang.patch
@@ -0,0 +1,88 @@
+From f130e5a8a4904dd1cffd449eda1a2b9a1585a5bc Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert redhat com>
+Date: Sun, 19 Mar 2017 18:34:53 -0700
+Subject: [PATCH] build: fix python shebang to python3
+
+---
+ docutils/utils/code_analyzer.py     | 2 +-
+ docutils/utils/error_reporting.py   | 2 +-
+ docutils/utils/math/latex2mathml.py | 2 +-
+ docutils/utils/math/math2html.py    | 2 +-
+ docutils/utils/punctuation_chars.py | 2 +-
+ docutils/utils/smartquotes.py       | 2 +-
+ docutils/writers/xetex/__init__.py  | 2 +-
+ 7 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/docutils/utils/code_analyzer.py b/docutils/utils/code_analyzer.py
+index c0f3109..162ee3b 100644
+--- a/docutils/utils/code_analyzer.py
++++ b/docutils/utils/code_analyzer.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # coding: utf-8
+ 
+ """Lexical analysis of formal languages (i.e. code) using Pygments."""
+diff --git a/docutils/utils/error_reporting.py b/docutils/utils/error_reporting.py
+index a893d21..db7e248 100644
+--- a/docutils/utils/error_reporting.py
++++ b/docutils/utils/error_reporting.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ 
+ # :Id: $Id: error_reporting.py 7947 2016-07-22 08:49:52Z milde $
+diff --git a/docutils/utils/math/latex2mathml.py b/docutils/utils/math/latex2mathml.py
+index 9927e43..c11f2ae 100644
+--- a/docutils/utils/math/latex2mathml.py
++++ b/docutils/utils/math/latex2mathml.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ 
+ # :Id: $Id: latex2mathml.py 7865 2015-04-12 10:06:43Z milde $
+diff --git a/docutils/utils/math/math2html.py b/docutils/utils/math/math2html.py
+index c65485b..7aa0532 100644
+--- a/docutils/utils/math/math2html.py
++++ b/docutils/utils/math/math2html.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ 
+ #   math2html: convert LaTeX equations to HTML output.
+diff --git a/docutils/utils/punctuation_chars.py b/docutils/utils/punctuation_chars.py
+index d1a3997..624be8b 100644
+--- a/docutils/utils/punctuation_chars.py
++++ b/docutils/utils/punctuation_chars.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ # :Copyright: © 2011 Günter Milde.
+ # :License: Released under the terms of the `2-Clause BSD license`_, in short:
+diff --git a/docutils/utils/smartquotes.py b/docutils/utils/smartquotes.py
+index ae5ccc4..c4e5c1b 100644
+--- a/docutils/utils/smartquotes.py
++++ b/docutils/utils/smartquotes.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # -*- coding: utf-8 -*-
+ 
+ # :Id: $Id: smartquotes.py 7933 2016-01-13 21:09:13Z milde $
+diff --git a/docutils/writers/xetex/__init__.py b/docutils/writers/xetex/__init__.py
+index e5ecf1d..b58eeaa 100644
+--- a/docutils/writers/xetex/__init__.py
++++ b/docutils/writers/xetex/__init__.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ 
+ # :Author: Günter Milde <milde users sourceforge net>
+-- 
+2.12.0
+
diff --git a/org.gnome.Builder.json b/org.gnome.Builder.json
index 097b8a5..5ce22a5 100644
--- a/org.gnome.Builder.json
+++ b/org.gnome.Builder.json
@@ -220,6 +220,10 @@
                     "type": "file",
                     "path": "build/flatpak/setuptools-makefile",
                     "dest-filename": "Makefile"
+                },
+                {
+                    "type": "patch",
+                    "path": "build/flatpak/docutils-fix-python3-shebang.patch"
                 }
             ]
         },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]