[Python-apps-commits] r2971 - in packages/lazygal/trunk/debian (6 files)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Thu May 21 13:20:21 UTC 2009


    Date: Thursday, May 21, 2009 @ 13:20:21
  Author: nijel
Revision: 2971

Add patch to fix upstream man page installation.

Added:
  packages/lazygal/trunk/debian/patches/
  packages/lazygal/trunk/debian/patches/fix-man-page-installation.patch
  packages/lazygal/trunk/debian/patches/series
Modified:
  packages/lazygal/trunk/debian/changelog
  packages/lazygal/trunk/debian/control
  packages/lazygal/trunk/debian/rules

Modified: packages/lazygal/trunk/debian/changelog
===================================================================
--- packages/lazygal/trunk/debian/changelog	2009-05-21 13:13:44 UTC (rev 2970)
+++ packages/lazygal/trunk/debian/changelog	2009-05-21 13:20:21 UTC (rev 2971)
@@ -11,8 +11,9 @@
   * Bump standards to 3.8.1.
   * Drop debian man page, it has been integrated upstream.
   * Build depend on docbook-xsl, xsltproc for generating man page. 
+  * Add patch to fix upstream man page installation.
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Thu, 21 May 2009 15:13:32 +0200
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Thu, 21 May 2009 15:18:52 +0200
 
 lazygal (0.4-2) unstable; urgency=low
 

Modified: packages/lazygal/trunk/debian/control
===================================================================
--- packages/lazygal/trunk/debian/control	2009-05-21 13:13:44 UTC (rev 2970)
+++ packages/lazygal/trunk/debian/control	2009-05-21 13:20:21 UTC (rev 2971)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Michal ÄŒihaÅ™ <nijel at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), docbook-xsl, xsltproc
+Build-Depends: debhelper (>= 7), docbook-xsl, xsltproc, quilt (>= 0.46-7)
 Build-Depends-Indep: python-dev, python-support (>= 0.5.3)
 Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/lazygal/trunk

Added: packages/lazygal/trunk/debian/patches/fix-man-page-installation.patch
===================================================================
--- packages/lazygal/trunk/debian/patches/fix-man-page-installation.patch	                        (rev 0)
+++ packages/lazygal/trunk/debian/patches/fix-man-page-installation.patch	2009-05-21 13:20:21 UTC (rev 2971)
@@ -0,0 +1,22 @@
+Fix installation of generated man page.
+--- a/setup.py
++++ b/setup.py
+@@ -66,7 +66,7 @@
+                        xmlmanpage)
+                 self.spawn(cmd)
+ 
+-            targetpath = os.path.join("share", "man")
++            targetpath = os.path.join("share", "man", 'man1')
+             data_files.append((targetpath, (manpage, ), ))
+ 
+ 
+@@ -250,8 +250,7 @@
+         'build_i18n'    : build_i18n_lazygal,
+         'build_manpages': build_manpages,
+         },
+-    data_files = theme_data +
+-        [(os.path.join('share','man','man1'), ['lazygal.1'])]
++    data_files = theme_data
+     )
+ 
+ # vim: ts=4 sw=4 expandtab

Added: packages/lazygal/trunk/debian/patches/series
===================================================================
--- packages/lazygal/trunk/debian/patches/series	                        (rev 0)
+++ packages/lazygal/trunk/debian/patches/series	2009-05-21 13:20:21 UTC (rev 2971)
@@ -0,0 +1 @@
+fix-man-page-installation.patch

Modified: packages/lazygal/trunk/debian/rules
===================================================================
--- packages/lazygal/trunk/debian/rules	2009-05-21 13:13:44 UTC (rev 2970)
+++ packages/lazygal/trunk/debian/rules	2009-05-21 13:20:21 UTC (rev 2971)
@@ -2,17 +2,17 @@
 
 #export DH_VERBOSE=1
 
-build:
-	dh build
+build: $(QUILT_STAMPFN)
+	dh --with quilt build
 
 clean:
-	dh clean
+	dh --with quilt clean
 
 install: build
-	dh install
+	dh --with quilt install
 
 binary-indep: build install
-	dh binary-indep
+	dh --with quilt binary-indep
 
 binary-arch: build install
 




More information about the Python-apps-commits mailing list