[Python-apps-commits] r9943 - in packages/svnmailer/trunk/debian (3 files)

anbe at users.alioth.debian.org anbe at users.alioth.debian.org
Fri Aug 9 10:52:53 UTC 2013


    Date: Friday, August 9, 2013 @ 10:52:52
  Author: anbe
Revision: 9943

import patch from pochu to fix compatibility with python-subversion 1.6.17

Added:
  packages/svnmailer/trunk/debian/patches/02_SVN_STREAM_CHUNK_SIZE_int.dpatch
Modified:
  packages/svnmailer/trunk/debian/changelog
  packages/svnmailer/trunk/debian/patches/00list

Modified: packages/svnmailer/trunk/debian/changelog
===================================================================
--- packages/svnmailer/trunk/debian/changelog	2013-08-09 10:50:02 UTC (rev 9942)
+++ packages/svnmailer/trunk/debian/changelog	2013-08-09 10:52:52 UTC (rev 9943)
@@ -8,6 +8,10 @@
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
+  [ Emilio Pozuelo Monfort ]
+  * Convert svn_core.SVN_STREAM_CHUNK_SIZE from long to int to restore
+    compatibility with python-subversion 1.6.17.  (Closes: #712383)
+
  -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 18:05:51 +0200
 
 svnmailer (1.0.8-12) unstable; urgency=low

Modified: packages/svnmailer/trunk/debian/patches/00list
===================================================================
--- packages/svnmailer/trunk/debian/patches/00list	2013-08-09 10:50:02 UTC (rev 9942)
+++ packages/svnmailer/trunk/debian/patches/00list	2013-08-09 10:52:52 UTC (rev 9943)
@@ -1 +1,2 @@
 01_restore_pristine_code
+02_SVN_STREAM_CHUNK_SIZE_int

Added: packages/svnmailer/trunk/debian/patches/02_SVN_STREAM_CHUNK_SIZE_int.dpatch
===================================================================
--- packages/svnmailer/trunk/debian/patches/02_SVN_STREAM_CHUNK_SIZE_int.dpatch	                        (rev 0)
+++ packages/svnmailer/trunk/debian/patches/02_SVN_STREAM_CHUNK_SIZE_int.dpatch	2013-08-09 10:52:52 UTC (rev 9943)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: 02_SVN_STREAM_CHUNK_SIZE_int.dpatch by Emilio Pozuelo Monfort <pochu at debian.org>
+## DP: http://bugs.debian.org/712383
+##
+## All lines beginning with `## DP:' are a description of the patch.
+
+ at DPATCH@
+
+diff -ruNp svnmailer-1.0.8.orig/src/lib/svnmailer/subversion.py svnmailer-1.0.8/src/lib/svnmailer/subversion.py
+--- svnmailer-1.0.8.orig/src/lib/svnmailer/subversion.py	2006-04-17 12:29:06.000000000 +0200
++++ svnmailer-1.0.8/src/lib/svnmailer/subversion.py	2013-06-15 16:07:36.137576163 +0200
+@@ -355,7 +355,7 @@ class Repository(object):
+             try:
+                 while True:
+                     chunk = svn_core.svn_stream_read(
+-                        stream, svn_core.SVN_STREAM_CHUNK_SIZE
++                        stream, int(svn_core.SVN_STREAM_CHUNK_SIZE)
+                     )
+                     if not chunk:
+                         break




More information about the Python-apps-commits mailing list