File remove-python-class-shebang.patch of Package bluefish
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/basic.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/actions/basic.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/basic.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/__init__.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/actions/__init__.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
# import all actions
@@ -12,4 +11,4 @@ for file in os.listdir(os.path.dirname(_
__import__(__name__, globals(), locals(), __sub_modules)
-del __sub_modules
\ No newline at end of file
+del __sub_modules
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/token.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/actions/token.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/actions/token.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/comment.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/comment.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/comment.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -44,4 +43,4 @@ def process(tree, profile):
add_comments(item, i)
process(item, profile)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/css.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/css.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/css.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Process CSS properties: replaces snippets, augumented with ! char, with
@@ -20,4 +19,4 @@ def process(tree, profile):
process(item, profile)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/escape.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/escape.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/escape.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -28,4 +27,4 @@ def process(tree, profile=None):
process(item)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/format-css.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/format-css.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/format-css.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -21,4 +20,4 @@ def process(tree, profile):
process(item, profile)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/format.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/format.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/format.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@@ -179,4 +178,4 @@ def process(tree, profile, level=0):
process(item, profile, level + 1)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/haml.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/haml.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/haml.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -157,4 +156,4 @@ def process(tree, profile, level=0):
process(item, profile, level + 1)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/html.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/html.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/html.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/__init__.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/__init__.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
@@ -14,4 +13,4 @@ for file in os.listdir(os.path.dirname(_
__import__(__name__, globals(), locals(), __sub_modules)
-del __sub_modules
\ No newline at end of file
+del __sub_modules
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/single-line.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/single-line.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/single-line.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Output abbreviation on a single line (i.e. no line breaks)
@@ -26,4 +25,4 @@ def process(tree, profile):
process(item, profile)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/trim.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/trim.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/trim.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Trim filter: removes characters at the beginning of the text
@@ -19,4 +18,4 @@ def process(tree, profile):
process(item, profile)
- return tree
\ No newline at end of file
+ return tree
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/xsl.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/filters/xsl.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/filters/xsl.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -30,4 +29,4 @@ def process(tree, profile):
if item.type == 'tag' and item.name.lower() in tags and item.children:
trim_attribute(item)
- process(item, profile)
\ No newline at end of file
+ process(item, profile)
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/html_matcher.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/html_matcher.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/html_matcher.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@@ -270,4 +269,4 @@ def _find_pair(html, start_ix, mode='xht
ix += 1
- return action(opening_tag, closing_tag, start_ix)
\ No newline at end of file
+ return action(opening_tag, closing_tag, start_ix)
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/resources.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/resources.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/resources.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@author Sergey Chikuyonok (serge.che@gmail.com)
@@ -367,4 +366,4 @@ if not user_settings:
pass
if user_settings:
- set_vocabulary(user_settings, VOC_USER)
\ No newline at end of file
+ set_vocabulary(user_settings, VOC_USER)
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/utils.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/utils.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Core Zen Coding library. Contains various text manipulation functions:
Index: bluefish-2.2.12/src/plugin_zencoding/zencoding/zen_settings.py
===================================================================
--- bluefish-2.2.12.orig/src/plugin_zencoding/zencoding/zen_settings.py
+++ bluefish-2.2.12/src/plugin_zencoding/zencoding/zen_settings.py
@@ -737,4 +737,4 @@ zen_settings = {
'filters': 'haml',
'extends': 'html'
}
-}
\ No newline at end of file
+}
Index: bluefish-2.2.12/data/cssmin.py
===================================================================
--- bluefish-2.2.12.orig/data/cssmin.py
+++ bluefish-2.2.12/data/cssmin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""`cssmin` - A Python port of the YUI CSS compressor."""
Index: bluefish-2.2.12/data/jsbeautify
===================================================================
--- bluefish-2.2.12.orig/data/jsbeautify
+++ bluefish-2.2.12/data/jsbeautify
@@ -1,7 +1,7 @@
-#! /usr/bin/env python
+#!/usr/bin/python3
#
# Stub script to run jsbeautifier
#
import sys
from jsbeautifier import main
-sys.exit(main())
\ No newline at end of file
+sys.exit(main())
Index: bluefish-2.2.12/data/jsmin.py
===================================================================
--- bluefish-2.2.12.orig/data/jsmin.py
+++ bluefish-2.2.12/data/jsmin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# This code is original from jsmin by Douglas Crockford, it was translated to
# Python by Baruch Even. It was rewritten by Dave St.Germain for speed.
Index: bluefish-2.2.12/data/lorem-ipsum-generator
===================================================================
--- bluefish-2.2.12.orig/data/lorem-ipsum-generator
+++ bluefish-2.2.12/data/lorem-ipsum-generator
@@ -1,11 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import sys
from os.path import abspath, exists
from optparse import OptionParser
-#!/usr/bin/python
-
# stripped down by Senthil Palanisami (Sen) [spenthil@gmail.com] to
# work on Google App Engine and exist as a single file
# use as described in http://code.google.com/p/lorem-ipsum-generator/wiki/ApiOverview
Index: bluefish-2.2.12/data/css_decompressor
===================================================================
--- bluefish-2.2.12.orig/data/css_decompressor
+++ bluefish-2.2.12/data/css_decompressor
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
#