[Python-modules-commits] r3523 - in /packages/python-pdftools/trunk/debian: changelog control patches/ patches/00list patches/10_remove_shebangs.dpatch rules

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Sat Nov 3 23:48:55 UTC 2007


Author: morph-guest
Date: Sat Nov  3 23:48:55 2007
New Revision: 3523

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3523
Log:
some corrections (thanks to POX)

Added:
    packages/python-pdftools/trunk/debian/patches/
    packages/python-pdftools/trunk/debian/patches/00list
    packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch   (with props)
Modified:
    packages/python-pdftools/trunk/debian/changelog
    packages/python-pdftools/trunk/debian/control
    packages/python-pdftools/trunk/debian/rules

Modified: packages/python-pdftools/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pdftools/trunk/debian/changelog?rev=3523&op=diff
==============================================================================
--- packages/python-pdftools/trunk/debian/changelog (original)
+++ packages/python-pdftools/trunk/debian/changelog Sat Nov  3 23:48:55 2007
@@ -1,14 +1,5 @@
 python-pdftools (0.34-1) unstable; urgency=low
-
-  * New upstream release
-  * debian/control
-    - Homepage field is now on source stanza 
-
- -- Sandro Tosi <matrixhasu at gmail.com>  Fri, 21 Sep 2007 19:54:58 +0200
-
-python-pdftools (0.33-1) unstable; urgency=low
 
   * Initial release (Closes: #440722)
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Thu, 13 Sep 2007 20:55:50 +0200
-
+ -- Sandro Tosi <matrixhasu at gmail.com>  Sun, 04 Nov 2007 00:13:24 +0100

Modified: packages/python-pdftools/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pdftools/trunk/debian/control?rev=3523&op=diff
==============================================================================
--- packages/python-pdftools/trunk/debian/control (original)
+++ packages/python-pdftools/trunk/debian/control Sat Nov  3 23:48:55 2007
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Sandro Tosi <matrixhasu at gmail.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), python, python-all-dev
+Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), python-all-dev, dpatch
 Standards-Version: 3.7.2
 Homepage: http://www.boddie.org.uk/david/Projects/Python/pdftools
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pdftools/trunk/
@@ -11,10 +11,10 @@
 XS-Python-Version: all
 
 Package: python-pdftools
-Architecture: any
-Depends: ${python:Depends}
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
 XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
+Recommends: python-qt4
 Description: PDF document reading classes
  pdftool is a set of classes aim for reading Portable Document Format
  (PDF) files and interpreting their contents

Added: packages/python-pdftools/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pdftools/trunk/debian/patches/00list?rev=3523&op=file
==============================================================================
--- packages/python-pdftools/trunk/debian/patches/00list (added)
+++ packages/python-pdftools/trunk/debian/patches/00list Sat Nov  3 23:48:55 2007
@@ -1,0 +1,1 @@
+10_remove_shebangs

Added: packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch?rev=3523&op=file
==============================================================================
--- packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch (added)
+++ packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch Sat Nov  3 23:48:55 2007
@@ -1,0 +1,51 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_remove_shebangs.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## DP: Remove the shebangs lines from source files
+
+ at DPATCH@
+diff -urNad python-pdftools-0.34~/pdftools/__init__.py python-pdftools-0.34/pdftools/__init__.py
+--- python-pdftools-0.34~/pdftools/__init__.py	2007-09-19 20:36:25.000000000 +0200
++++ python-pdftools-0.34/pdftools/__init__.py	2007-11-04 00:32:25.000000000 +0100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ """
+ __init__.py
+ 
+diff -urNad python-pdftools-0.34~/pdftools/pdfdefs.py python-pdftools-0.34/pdftools/pdfdefs.py
+--- python-pdftools-0.34~/pdftools/pdfdefs.py	2007-09-19 20:36:25.000000000 +0200
++++ python-pdftools-0.34/pdftools/pdfdefs.py	2007-11-04 00:32:33.000000000 +0100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ # pdftools - A library of classes for parsing and rendering PDF documents.
+ # Copyright (C) 2001-2004 by David Boddie
+ # 
+diff -urNad python-pdftools-0.34~/pdftools/pdffile.py python-pdftools-0.34/pdftools/pdffile.py
+--- python-pdftools-0.34~/pdftools/pdffile.py	2007-09-19 20:36:25.000000000 +0200
++++ python-pdftools-0.34/pdftools/pdffile.py	2007-11-04 00:32:43.000000000 +0100
+@@ -1,5 +1,3 @@
+-#! /usr/bin/env python
+-
+ # pdftools - A library of classes for parsing and rendering PDF documents.
+ # Copyright (C) 2001-2004 by David Boddie
+ # 
+diff -urNad python-pdftools-0.34~/pdftools/pdfpath.py python-pdftools-0.34/pdftools/pdfpath.py
+--- python-pdftools-0.34~/pdftools/pdfpath.py	2007-08-31 20:28:39.000000000 +0200
++++ python-pdftools-0.34/pdftools/pdfpath.py	2007-11-04 00:32:52.000000000 +0100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ # pdftools - A library of classes for parsing and rendering PDF documents.
+ # Copyright (C) 2001-2004 by David Boddie
+ # 
+diff -urNad python-pdftools-0.34~/pdftools/pdftext.py python-pdftools-0.34/pdftools/pdftext.py
+--- python-pdftools-0.34~/pdftools/pdftext.py	2007-09-19 20:36:25.000000000 +0200
++++ python-pdftools-0.34/pdftools/pdftext.py	2007-11-04 00:32:57.000000000 +0100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ # pdftools - A library of classes for parsing and rendering PDF documents.
+ # Copyright (C) 2001-2004 by David Boddie
+ # 

Propchange: packages/python-pdftools/trunk/debian/patches/10_remove_shebangs.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/python-pdftools/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pdftools/trunk/debian/rules?rev=3523&op=diff
==============================================================================
--- packages/python-pdftools/trunk/debian/rules (original)
+++ packages/python-pdftools/trunk/debian/rules Sat Nov  3 23:48:55 2007
@@ -1,12 +1,14 @@
 #!/usr/bin/make -f
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
 
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 
 build: build-stamp
-build-stamp:
+build-stamp: patch-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
@@ -17,7 +19,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 
 	# Add here commands to clean up after the build process.




More information about the Python-modules-commits mailing list