[Python-modules-commits] r1716 - in
/packages/webhelpers/trunk/debian: changelog control patches/
patches/00list patches/01_textile.dpatch rules
malex at users.alioth.debian.org
malex at users.alioth.debian.org
Sat Jan 27 00:11:37 CET 2007
Author: malex
Date: Sat Jan 27 00:11:37 2007
New Revision: 1716
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1716
Log:
Add a patch to fix #408224 - encoding declaration for python2.5 compatibility.
Added:
packages/webhelpers/trunk/debian/patches/
packages/webhelpers/trunk/debian/patches/00list
packages/webhelpers/trunk/debian/patches/01_textile.dpatch
Modified:
packages/webhelpers/trunk/debian/changelog
packages/webhelpers/trunk/debian/control
packages/webhelpers/trunk/debian/rules
Modified: packages/webhelpers/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/debian/changelog?rev=1716&op=diff
==============================================================================
--- packages/webhelpers/trunk/debian/changelog (original)
+++ packages/webhelpers/trunk/debian/changelog Sat Jan 27 00:11:37 2007
@@ -1,3 +1,13 @@
+webhelpers (0.2.2-2) unstable; urgency=low
+
+ * debian/control: Added a dependency on dpatch.
+ * debian/patches: Added the directory for the patches dpatch uses.
+ * debian/rules: Added the patching rules.
+ * debian/patches/01_textile.dpatch: Added a patch to change the encoding in
+ textile.py (Closes: #408224).
+
+ -- Oleksandr Moskalenko <malex at debian.org> Fri, 26 Jan 2007 15:56:46 -0700
+
webhelpers (0.2.2-1) unstable; urgency=low
* Initial release (Closes: #393757).
Modified: packages/webhelpers/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/debian/control?rev=1716&op=diff
==============================================================================
--- packages/webhelpers/trunk/debian/control (original)
+++ packages/webhelpers/trunk/debian/control Sat Jan 27 00:11:37 2007
@@ -2,7 +2,7 @@
Section: web
Priority: optional
Maintainer: Oleksandr Moskalenko <malex at debian.org>
-Build-Depends: debhelper (>= 5), python (>= 2.3.3), python-all-dev, python-support (>= 0.4.17), python-setuptools (>= 0.6b3-1)
+Build-Depends: debhelper (>= 5), python (>= 2.3.3), python-all-dev, python-support (>= 0.4.17), python-setuptools (>= 0.6b3-1), dpatch
Standards-Version: 3.7.2
XS-Python-Version: all
Added: packages/webhelpers/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/debian/patches/00list?rev=1716&op=file
==============================================================================
--- packages/webhelpers/trunk/debian/patches/00list (added)
+++ packages/webhelpers/trunk/debian/patches/00list Sat Jan 27 00:11:37 2007
@@ -1,0 +1,1 @@
+01_textile.dpatch
Added: packages/webhelpers/trunk/debian/patches/01_textile.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/debian/patches/01_textile.dpatch?rev=1716&op=file
==============================================================================
--- packages/webhelpers/trunk/debian/patches/01_textile.dpatch (added)
+++ packages/webhelpers/trunk/debian/patches/01_textile.dpatch Sat Jan 27 00:11:37 2007
@@ -1,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_textile.dpatch by Oleksandr Moskalenko <malex at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: textile.py encoding patch
+
+ at DPATCH@
+
+--- textile.py 2006-09-05 10:48:29.000000000 -0600
++++ textile.py.new 2007-01-26 16:08:50.000000000 -0700
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env python
+-# _*_ coding: latin1 _*_
++# _*_ coding: iso-8859-1 _*_
+
+ """This is Textile
+ A Humane Web Text Generator
Modified: packages/webhelpers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/debian/rules?rev=1716&op=diff
==============================================================================
--- packages/webhelpers/trunk/debian/rules (original)
+++ packages/webhelpers/trunk/debian/rules Sat Jan 27 00:11:37 2007
@@ -6,7 +6,11 @@
| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
package=python-webhelpers
-clean:
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp debian/patched
+
+clean: unpatch
rm -f build-*
dh_testdir
dh_testroot
@@ -15,12 +19,16 @@
find . -name *\.py[co] -exec rm -f {} \;
dh_clean
-build: build-indep
+build: patch-stamp build-stamp
-build-indep:
+patch-stamp:
+ dpatch apply-all
+ touch patch-stamp
+
+build-stamp:
touch $@
-build-stamp:
+build-stamp:
dh_testdir
python setup.py build
touch $@
More information about the Python-modules-commits
mailing list