r749 - in zope-managableindex/trunk/debian: . patches

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


Author: bzed-guest
Date: 2007-04-04 20:21:16 +0000 (Wed, 04 Apr 2007)
New Revision: 749

Added:
   zope-managableindex/trunk/debian/patches/
   zope-managableindex/trunk/debian/patches/00list
   zope-managableindex/trunk/debian/patches/version.dpatch
Modified:
   zope-managableindex/trunk/debian/rules
Log:
better version.txt for debian


Added: zope-managableindex/trunk/debian/patches/00list
===================================================================
--- zope-managableindex/trunk/debian/patches/00list	2007-04-04 01:34:40 UTC (rev 748)
+++ zope-managableindex/trunk/debian/patches/00list	2007-04-04 20:21:16 UTC (rev 749)
@@ -0,0 +1 @@
+version

Added: zope-managableindex/trunk/debian/patches/version.dpatch
===================================================================
--- zope-managableindex/trunk/debian/patches/version.dpatch	2007-04-04 01:34:40 UTC (rev 748)
+++ zope-managableindex/trunk/debian/patches/version.dpatch	2007-04-04 20:21:16 UTC (rev 749)
@@ -0,0 +1,15 @@
+#! /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: make ther version string a bit shorter and more suited for Debian
+
+ at DPATCH@
+diff -urNad zope-managableindex-1.6.1~/VERSION.txt zope-managableindex-1.6.1/VERSION.txt
+--- zope-managableindex-1.6.1~/VERSION.txt	2007-04-04 22:03:59.000000000 +0200
++++ zope-managableindex-1.6.1/VERSION.txt	2007-04-04 22:16:47.000000000 +0200
+@@ -1,2 +1,2 @@
+-1.6.1 for Zope 2.7+, Python 2.3+/Python 2.4 // Zope 2.8
+-requires "OFolder", see <http://www.dieter.handskake.de/pyprojects/zope>
++1.6.1
++requires "OFolder"


Property changes on: zope-managableindex/trunk/debian/patches/version.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: zope-managableindex/trunk/debian/rules
===================================================================
--- zope-managableindex/trunk/debian/rules	2007-04-04 01:34:40 UTC (rev 748)
+++ zope-managableindex/trunk/debian/rules	2007-04-04 20:21:16 UTC (rev 749)
@@ -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 
@@ -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