components/python/cssutils/patches/cssutils-01-py27.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 25 Jul 2013 22:11:17 -0700
branchs11-update
changeset 2701 9b48e71485e7
permissions -rw-r--r--
15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2701
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
pkgdepend doesn't like the first line of a Python script to be:
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
'#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7'
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
Note that there is a COMPONENT_POST_BUILD_ACTION in the component
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
Makefile to then turn them into #!/usr/bin/python2.6 for when we
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
do the Python 2.6 build.
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
Yes we do need the Control-M's in here. Initially the Python source
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
files have them, and there is a COMPONENT_PRE_BUILD_ACTION in the
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
component Makefile to strip them out, otherwise pkgdepend gets confused.
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
--- cssutils-0.9.6/src/cssutils/tokenize2.py.orig	2009-12-04 19:57:40.769947686 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
+++ cssutils-0.9.6/src/cssutils/tokenize2.py	2009-12-04 19:58:06.792081272 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
 # -*- coding: utf-8 -*-
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
 """New CSS Tokenizer (a generator)
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
 """
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
--- cssutils-0.9.6/src/cssutils/serialize.py.orig	2009-12-07 10:17:54.826455529 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
+++ cssutils-0.9.6/src/cssutils/serialize.py	2009-12-07 10:19:33.138080643 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    23
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
 # -*- coding: utf-8 -*-
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
 """cssutils serializer"""
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
 __all__ = ['CSSSerializer', 'Preferences']
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
@@ -948,4 +948,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
                 out.append(val, None, space=False)
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
                 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    31
             return out.value() 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
-            
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
\ No newline at end of file
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    34
+            
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
--- cssutils-0.9.6/src/cssutils/__init__.py.orig	2009-12-07 10:21:25.702234442 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
+++ cssutils-0.9.6/src/cssutils/__init__.py	2009-12-07 10:21:44.667894629 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
 """cssutils - CSS Cascading Style Sheets library for Python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    41
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    42
     Copyright (C) 2004-2009 Christof Hoeke
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    43
--- cssutils-0.9.6/src/cssutils/scripts/csscombine.py.orig	2009-12-07 10:22:27.582839434 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
+++ cssutils-0.9.6/src/cssutils/scripts/csscombine.py	2009-12-07 10:22:39.860764499 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
 """Combine sheets referred to by @import rules in a given CSS proxy sheet
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
 into a single new sheet.
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
@@ -96,4 +96,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
 if __name__ == '__main__':
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
-    sys.exit(main())
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
\ No newline at end of file
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    57
+    sys.exit(main())
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    58
--- cssutils-0.9.6/src/cssutils/scripts/cssparse.py.orig	2009-12-07 10:23:30.623787121 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    59
+++ cssutils-0.9.6/src/cssutils/scripts/cssparse.py	2009-12-07 10:23:40.469638156 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    60
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    61
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    62
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    63
 """utility script to parse given filenames or string
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    64
 """
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    65
 __docformat__ = 'restructuredtext'
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    66
--- cssutils-0.9.6/src/cssutils/scripts/csscapture.py.orig	2009-12-07 10:24:13.568541655 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    67
+++ cssutils-0.9.6/src/cssutils/scripts/csscapture.py	2009-12-07 10:24:27.094792825 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    68
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    69
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    70
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    71
 """Retrieve all CSS stylesheets including embedded for a given URL.
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    72
 Retrieve as StyleSheetList or save to disk - raw, parsed or minified version.
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    73
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    74
--- cssutils-0.9.6/src/cssutils/errorhandler.py.orig	2009-12-07 10:25:31.225803334 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    75
+++ cssutils-0.9.6/src/cssutils/errorhandler.py	2009-12-07 10:25:41.199601897 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    76
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    77
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    78
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    79
 """cssutils ErrorHandler
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    80
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    81
 ErrorHandler
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    82
--- cssutils-0.9.6/src/cssutils/parse.py.orig	2009-12-07 10:26:23.218622184 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    83
+++ cssutils-0.9.6/src/cssutils/parse.py	2009-12-07 10:26:32.968490941 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    84
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    85
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    86
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    87
 """A validating CSSParser"""
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    88
 __all__ = ['CSSParser']
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    89
 __docformat__ = 'restructuredtext'
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    90
--- cssutils-0.9.6/src/encutils/__init__.py.orig	2009-12-07 10:27:04.131362666 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    91
+++ cssutils-0.9.6/src/encutils/__init__.py	2009-12-07 10:27:17.697342850 +0800
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    92
@@ -1,5 +1,5 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    93
 # -*- coding: utf-8 -*-
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    94
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    95
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    96
 """encutils - encoding detection collection for Python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    97
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    98
 :Version: 0.9
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    99
@@ -682,4 +682,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   100
 
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   101
 if __name__ == '__main__':
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   102
     import pydoc
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   103
-    pydoc.help(__name__)
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   104
\ No newline at end of file
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   105
+    pydoc.help(__name__)
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   106
--- cssutils-0.9.6/src/cssutils/codec.py.orig	2012-08-07 06:45:29.982973309 -0700
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   107
+++ cssutils-0.9.6/src/cssutils/codec.py	2012-08-07 06:45:41.155738434 -0700
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   108
@@ -1,4 +1,4 @@
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   109
-#!/usr/bin/env python
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   110
+#!/usr/bin/python2.7
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   111
 """Python codec for CSS."""
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   112
 __docformat__ = 'restructuredtext'
9b48e71485e7 15820215 SUNBT7202655 Move python/cssutils from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   113
 __author__ = 'Walter Doerwald'