r752 - in zope-advancedquery/trunk/debian: . patches

Bernd Zeimetz bzed-guest at alioth.debian.org
Wed Apr 4 21:13:51 UTC 2007


Author: bzed-guest
Date: 2007-04-04 21:13:51 +0000 (Wed, 04 Apr 2007)
New Revision: 752

Added:
   zope-advancedquery/trunk/debian/patches/
   zope-advancedquery/trunk/debian/patches/00list
   zope-advancedquery/trunk/debian/patches/version.dpatch
Modified:
   zope-advancedquery/trunk/debian/control
   zope-advancedquery/trunk/debian/rules
Log:
better version info, removing unneeded readme


Modified: zope-advancedquery/trunk/debian/control
===================================================================
--- zope-advancedquery/trunk/debian/control	2007-04-04 20:27:58 UTC (rev 751)
+++ zope-advancedquery/trunk/debian/control	2007-04-04 21:13:51 UTC (rev 752)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Zope team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Bernd Zeimetz <bernd at bzed.de>
-Build-Depends: debhelper (>> 5.0.0), zope-debhelper
+Build-Depends: debhelper (>> 5.0.0), zope-debhelper, dpatch
 Standards-Version: 3.7.2
 
 Package: zope-advancedquery

Added: zope-advancedquery/trunk/debian/patches/00list
===================================================================
--- zope-advancedquery/trunk/debian/patches/00list	2007-04-04 20:27:58 UTC (rev 751)
+++ zope-advancedquery/trunk/debian/patches/00list	2007-04-04 21:13:51 UTC (rev 752)
@@ -0,0 +1 @@
+version

Added: zope-advancedquery/trunk/debian/patches/version.dpatch
===================================================================
--- zope-advancedquery/trunk/debian/patches/version.dpatch	2007-04-04 20:27:58 UTC (rev 751)
+++ zope-advancedquery/trunk/debian/patches/version.dpatch	2007-04-04 21:13:51 UTC (rev 752)
@@ -0,0 +1,13 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## version.dpatch by Bernd Zeimetz <bernd at bzed.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: removing unneeded stuff in the version string
+
+ at DPATCH@
+diff -urNad zope-advancedquery~/VERSION.txt zope-advancedquery/VERSION.txt
+--- zope-advancedquery~/VERSION.txt	2006-11-09 20:27:48.000000000 +0100
++++ zope-advancedquery/VERSION.txt	2007-04-04 22:30:05.000000000 +0200
+@@ -1 +1 @@
+-2.2 for Zope 2.7+/2.8, Python 2.3/2.4
++2.2

Modified: zope-advancedquery/trunk/debian/rules
===================================================================
--- zope-advancedquery/trunk/debian/rules	2007-04-04 20:27:58 UTC (rev 751)
+++ zope-advancedquery/trunk/debian/rules	2007-04-04 21:13:51 UTC (rev 752)
@@ -7,11 +7,13 @@
 
 build: build-stamp
 
-build-stamp: 
+build-stamp: patch
 	dh_testdir
 	touch $@
 
-clean:
+
+clean: clean1 unpatch
+clean1:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
@@ -20,16 +22,16 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_clean -k
 	dh_installdirs
-	dh_installzope -XLICENSE.txt .
+	dh_installzope -XREADME.TXT -XLICENSE.txt .
 
 
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs -XREADME.TXT -XLICENSE.txt
+	dh_installdocs -XREADME.TXT
 	dh_installdebconf	
 	dh_link
 	dh_compress
@@ -39,6 +41,18 @@
 	dh_md5sums
 	dh_builddeb
 
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+	touch patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+
 # Build architecture-dependent files here.
 binary-arch: build install
 




More information about the pkg-zope-commits mailing list