[Python-modules-commits] r29309 - in packages/python-rarfile/trunk/debian (3 files)
hugo6390-guest at users.alioth.debian.org
hugo6390-guest at users.alioth.debian.org
Wed Jun 11 20:21:58 UTC 2014
Date: Wednesday, June 11, 2014 @ 20:21:57
Author: hugo6390-guest
Revision: 29309
Added d/patches/change_software.patch to python-rarfile's directory.
Added:
packages/python-rarfile/trunk/debian/patches/
packages/python-rarfile/trunk/debian/patches/change_software.patch
packages/python-rarfile/trunk/debian/patches/series
Added: packages/python-rarfile/trunk/debian/patches/change_software.patch
===================================================================
--- packages/python-rarfile/trunk/debian/patches/change_software.patch (rev 0)
+++ packages/python-rarfile/trunk/debian/patches/change_software.patch 2014-06-11 20:21:57 UTC (rev 29309)
@@ -0,0 +1,26 @@
+Changes the used RAR-extracting software from unrar (non-free) to bsdtar (free).
+Index: rarfile-2.6/rarfile.py
+===================================================================
+--- rarfile-2.6.orig/rarfile.py 2013-04-10 21:11:22.000000000 +0200
++++ rarfile-2.6/rarfile.py 2014-06-11 22:13:54.043594295 +0200
+@@ -165,16 +165,16 @@
+ TRY_ENCODINGS = ('utf8', 'utf-16le')
+
+ #: 'unrar', 'rar' or full path to either one
+-UNRAR_TOOL = "unrar"
++UNRAR_TOOL = "bsdtar"
+
+ #: Command line args to use for opening file for reading.
+-OPEN_ARGS = ('p', '-inul')
++OPEN_ARGS = ('-t')
+
+ #: Command line args to use for extracting file to disk.
+-EXTRACT_ARGS = ('x', '-y', '-idq')
++EXTRACT_ARGS = ('-x')
+
+ #: args for testrar()
+-TEST_ARGS = ('t', '-idq')
++TEST_ARGS = ('-tf')
+
+ #: whether to speed up decompression by using tmp archive
+ USE_EXTRACT_HACK = 1
Added: packages/python-rarfile/trunk/debian/patches/series
===================================================================
--- packages/python-rarfile/trunk/debian/patches/series (rev 0)
+++ packages/python-rarfile/trunk/debian/patches/series 2014-06-11 20:21:57 UTC (rev 29309)
@@ -0,0 +1 @@
+change_software.patch
More information about the Python-modules-commits
mailing list