d/patches/fixup-python3-argparse.patch: Fix use of argparse for compatibility with python3.3.
This commit is contained in:
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -1,3 +1,10 @@
|
||||
python-lesscpy (0.9j-3) UNRELEASED; urgency=low
|
||||
|
||||
* d/patches/fixup-python3-argparse.patch: Fix use of argparse for
|
||||
compatibility with python3.3.
|
||||
|
||||
-- James Page <james.page@ubuntu.com> Wed, 02 Oct 2013 14:12:42 +0100
|
||||
|
||||
python-lesscpy (0.9j-2) unstable; urgency=low
|
||||
|
||||
* Renamed the MIT license to Expat, after kind explanation from the FTP
|
||||
|
||||
18
debian/patches/fixup-python3-argparse.patch
vendored
Normal file
18
debian/patches/fixup-python3-argparse.patch
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
Description: Fixup for python3.3 compat
|
||||
Author: James Page <james.page@ubuntu.com>
|
||||
Forwarded: https://github.com/robotis/Lesscpy/pull/23
|
||||
|
||||
--- a/lesscpy/scripts/compiler.py
|
||||
+++ b/lesscpy/scripts/compiler.py
|
||||
@@ -84,8 +84,9 @@ def run():
|
||||
"""Run compiler
|
||||
"""
|
||||
aparse = argparse.ArgumentParser(description='LessCss Compiler',
|
||||
- epilog='<< jtm@robot.is @_o >>',
|
||||
- version=VERSION_STR)
|
||||
+ epilog='<< jtm@robot.is @_o >>')
|
||||
+ aparse.add_argument('-v', '--version', action='version',
|
||||
+ version=VERSION_STR)
|
||||
aparse.add_argument('-I', '--include', action="store", type=str,
|
||||
help="Included less-files (comma separated)")
|
||||
aparse.add_argument('-V', '--verbose', action="store_true",
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1 +1,2 @@
|
||||
remove_non_ascii_chars_from_license.patch
|
||||
fixup-python3-argparse.patch
|
||||
|
||||
Reference in New Issue
Block a user