[Python-modules-commits] r7313 - in packages/python-pypdf/trunk/debian (6 files)

luciano at users.alioth.debian.org luciano at users.alioth.debian.org
Sat Jan 10 10:55:41 UTC 2009


    Date: Saturday, January 10, 2009 @ 10:55:40
  Author: luciano
Revision: 7313

* Upstream name fixed
* dpatch added
* patch from #511252 added

Added:
  packages/python-pypdf/trunk/debian/patches/
  packages/python-pypdf/trunk/debian/patches/00list
  packages/python-pypdf/trunk/debian/patches/01_backspace_parsed.dpatch
Modified:
  packages/python-pypdf/trunk/debian/control
  packages/python-pypdf/trunk/debian/copyright
  packages/python-pypdf/trunk/debian/rules

Modified: packages/python-pypdf/trunk/debian/control
===================================================================
--- packages/python-pypdf/trunk/debian/control	2009-01-10 10:52:08 UTC (rev 7312)
+++ packages/python-pypdf/trunk/debian/control	2009-01-10 10:55:40 UTC (rev 7313)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Luciano Bello <luciano at debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all
+Build-Depends: debhelper (>= 5.0.38), python-all, dpatch
 Build-Depends-Indep: python-support (>= 0.6.4)
 Standards-Version: 3.8.0
 Homepage: http://pybrary.net/pyPdf/

Modified: packages/python-pypdf/trunk/debian/copyright
===================================================================
--- packages/python-pypdf/trunk/debian/copyright	2009-01-10 10:52:08 UTC (rev 7312)
+++ packages/python-pypdf/trunk/debian/copyright	2009-01-10 10:55:40 UTC (rev 7313)
@@ -5,12 +5,12 @@
 
 Upstream Author: 
 
-    Ashish Kulkarni <kulkarni.ashish at gmail.com>
+    Mathieu Fenniak <biziqe at mathieu.fenniak.net>
 
 Copyright: 
 
-    Copyright (c) 2006, Mathieu Fenniak
-    Copyright (c) 2007, Ashish Kulkarni
+    Copyright (c) 2006-2008, Mathieu Fenniak
+    Some contributions copyright (c) 2007, Ashish Kulkarni <kulkarni.ashish at gmail.com>
 
 License:
 

Added: packages/python-pypdf/trunk/debian/patches/00list
===================================================================
--- packages/python-pypdf/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-pypdf/trunk/debian/patches/00list	2009-01-10 10:55:40 UTC (rev 7313)
@@ -0,0 +1 @@
+01_backspace_parsed.dpatch

Added: packages/python-pypdf/trunk/debian/patches/01_backspace_parsed.dpatch
===================================================================
--- packages/python-pypdf/trunk/debian/patches/01_backspace_parsed.dpatch	                        (rev 0)
+++ packages/python-pypdf/trunk/debian/patches/01_backspace_parsed.dpatch	2009-01-10 10:55:40 UTC (rev 7313)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_backspace_parsed.dpatch by Ralf Schlatterbeck <rsc at runtux.com>
+##
+## DP: #511252: escape-sequence '\b' in PDF strings is incorrectly parsed as 'b' instead of Backspace.
+
+ at DPATCH@
+diff -urNad trunk~/pyPdf/generic.py trunk/pyPdf/generic.py
+--- trunk~/pyPdf/generic.py	2008-08-11 22:04:17.000000000 -0300
++++ trunk/pyPdf/generic.py	2009-01-09 11:24:13.000000000 -0200
+@@ -299,7 +299,7 @@
+             elif tok == "t":
+                 tok = "\t"
+             elif tok == "b":
+-                tok == "\b"
++                tok = "\b"
+             elif tok == "f":
+                 tok = "\f"
+             elif tok == "(":


Property changes on: packages/python-pypdf/trunk/debian/patches/01_backspace_parsed.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/python-pypdf/trunk/debian/rules
===================================================================
--- packages/python-pypdf/trunk/debian/rules	2009-01-10 10:52:08 UTC (rev 7312)
+++ packages/python-pypdf/trunk/debian/rules	2009-01-10 10:55:40 UTC (rev 7313)
@@ -1,12 +1,13 @@
 #!/usr/bin/make -f
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
 
 PYVERS=$(shell pyversions -r)
 
-build:
+build: patch-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	
 	# Add here commands to clean up after the build process.




More information about the Python-modules-commits mailing list