[Python-modules-commits] r32521 - in packages/python-cobe/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri May 1 16:13:49 UTC 2015


    Date: Friday, May 1, 2015 @ 16:13:48
  Author: eriol-guest
Revision: 32521

Add 03_disable-LenientDecodingLineBuffer.patch
  LenientDecodingLineBuffer was introduced by irc 8.7 so is not available
  on Debian at the moment.

Added:
  packages/python-cobe/trunk/debian/patches/03_disable-LenientDecodingLineBuffer.patch
Modified:
  packages/python-cobe/trunk/debian/changelog
  packages/python-cobe/trunk/debian/patches/series

Modified: packages/python-cobe/trunk/debian/changelog
===================================================================
--- packages/python-cobe/trunk/debian/changelog	2015-05-01 16:08:35 UTC (rev 32520)
+++ packages/python-cobe/trunk/debian/changelog	2015-05-01 16:13:48 UTC (rev 32521)
@@ -13,10 +13,13 @@
     - Remove since fixed upstream.
   * debian/patches/04_fix-irc-client.patch
     - Remove since fixed upstream.
+  * debian/patches/03_disable-LenientDecodingLineBuffer.patch
+    - LenientDecodingLineBuffer was introduced by irc 8.7 so is not available
+      on Debian at the moment.
   * debian/watch
     - Use pypi.debian.net redirector.
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 01 May 2015 17:26:04 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 01 May 2015 18:08:59 +0200
 
 python-cobe (2.1.0-2) unstable; urgency=medium
 

Added: packages/python-cobe/trunk/debian/patches/03_disable-LenientDecodingLineBuffer.patch
===================================================================
--- packages/python-cobe/trunk/debian/patches/03_disable-LenientDecodingLineBuffer.patch	                        (rev 0)
+++ packages/python-cobe/trunk/debian/patches/03_disable-LenientDecodingLineBuffer.patch	2015-05-01 16:13:48 UTC (rev 32521)
@@ -0,0 +1,20 @@
+Description: Disable irc.buffer.LenientDecodingLineBuffer.
+ LenientDecodingLineBuffer was introduced by irc 8.7 so is not available on
+ Debian at the moment.
+Author: Daniele Tricoli <eriol at mornie.org>
+Forwarded: not-needed
+Last-Update: 2015-05-01
+
+--- a/cobe/bot.py
++++ b/cobe/bot.py
+@@ -13,7 +13,9 @@
+         irc.client.SimpleIRCClient.__init__(self)
+ 
+         # Fall back to latin-1 if invalid utf-8 is provided.
+-        irc.client.ServerConnection.buffer_class = irc.buffer.LenientDecodingLineBuffer
++        # On Debian is disabled because LenientDecodingLineBuffer was
++        # introduced by irc 8.7.
++        # irc.client.ServerConnection.buffer_class = irc.buffer.LenientDecodingLineBuffer
+ 
+         self.brain = brain
+         self.nick = nick

Modified: packages/python-cobe/trunk/debian/patches/series
===================================================================
--- packages/python-cobe/trunk/debian/patches/series	2015-05-01 16:08:35 UTC (rev 32520)
+++ packages/python-cobe/trunk/debian/patches/series	2015-05-01 16:13:48 UTC (rev 32521)
@@ -1,2 +1,3 @@
 01_remove-argparse-from-install-requires.patch
 02_relaxed-versioned-dependencies.patch
+03_disable-LenientDecodingLineBuffer.patch




More information about the Python-modules-commits mailing list