asciidoc: switch to Python 2.7
[unleashed-userland.git] / components / text / asciidoc / patches / 01-file-magic.patch
blob620e758d497cb324769c4c5ca29a760b0da64b03
1 diff -ru asciidoc-8.6.8.orig/a2x.py asciidoc-8.6.8/a2x.py
2 --- asciidoc-8.6.8.orig/a2x.py 2012-07-10 06:47:22.000000000 +0400
3 +++ asciidoc-8.6.8/a2x.py 2013-11-02 18:33:55.409261014 +0400
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env python
6 +#!/usr/bin/python2.7
7 '''
8 a2x - A toolchain manager for AsciiDoc (converts Asciidoc text files to other
9 file formats)
10 diff -ru asciidoc-8.6.8.orig/asciidoc.py asciidoc-8.6.8/asciidoc.py
11 --- asciidoc-8.6.8.orig/asciidoc.py 2012-07-10 06:47:22.000000000 +0400
12 +++ asciidoc-8.6.8/asciidoc.py 2013-11-02 18:34:44.385857732 +0400
13 @@ -1,4 +1,4 @@
14 -#!/usr/bin/env python
15 +#!/usr/bin/python2.7
16 """
17 asciidoc - converts an AsciiDoc text file to HTML or DocBook
19 diff -ru asciidoc-8.6.8.orig/asciidocapi.py asciidoc-8.6.8/asciidocapi.py
20 --- asciidoc-8.6.8.orig/asciidocapi.py 2012-03-01 02:21:24.000000000 +0400
21 +++ asciidoc-8.6.8/asciidocapi.py 2013-11-02 18:34:20.246164082 +0400
22 @@ -1,4 +1,4 @@
23 -#!/usr/bin/env python
24 +#!/usr/bin/python2.7
25 """
26 asciidocapi - AsciiDoc API wrapper class.
28 diff -ru asciidoc-8.6.8.orig/filters/code/code-filter.py asciidoc-8.6.8/filters/code/code-filter.py
29 --- asciidoc-8.6.8.orig/filters/code/code-filter.py 2008-12-31 04:37:47.000000000 +0300
30 +++ asciidoc-8.6.8/filters/code/code-filter.py 2013-11-02 18:33:29.588039104 +0400
31 @@ -1,4 +1,4 @@
32 -#!/usr/bin/env python
33 +#!/usr/bin/python2.7
34 '''
35 NAME
36 code-filter - AsciiDoc filter to highlight language keywords
37 diff -ru asciidoc-8.6.8.orig/filters/graphviz/graphviz2png.py asciidoc-8.6.8/filters/graphviz/graphviz2png.py
38 --- asciidoc-8.6.8.orig/filters/graphviz/graphviz2png.py 2011-01-31 23:52:09.000000000 +0300
39 +++ asciidoc-8.6.8/filters/graphviz/graphviz2png.py 2013-11-02 18:33:19.133117559 +0400
40 @@ -1,4 +1,4 @@
41 -#!/usr/bin/env python
42 +#!/usr/bin/python2.7
44 import os, sys, subprocess
45 from optparse import *
46 diff -ru asciidoc-8.6.8.orig/filters/latex/latex2png.py asciidoc-8.6.8/filters/latex/latex2png.py
47 --- asciidoc-8.6.8.orig/filters/latex/latex2png.py 2012-02-29 06:05:58.000000000 +0400
48 +++ asciidoc-8.6.8/filters/latex/latex2png.py 2013-11-02 18:33:01.787510457 +0400
49 @@ -1,4 +1,4 @@
50 -#!/usr/bin/env python
51 +#!/usr/bin/python2.7
52 '''
53 NAME
54 latex2png - Converts LaTeX source to PNG file
55 diff -ru asciidoc-8.6.8.orig/filters/music/music2png.py asciidoc-8.6.8/filters/music/music2png.py
56 --- asciidoc-8.6.8.orig/filters/music/music2png.py 2012-07-11 01:32:19.000000000 +0400
57 +++ asciidoc-8.6.8/filters/music/music2png.py 2013-11-02 18:33:44.090747933 +0400
58 @@ -1,4 +1,4 @@
59 -#!/usr/bin/env python
60 +#!/usr/bin/python2.7
61 '''
62 NAME
63 music2png - Converts textual music notation to classically notated PNG file