[Python-apps-commits] r2764 - in packages/winpdb/trunk/debian (5 files)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Sun Apr 19 12:43:04 UTC 2009


    Date: Sunday, April 19, 2009 @ 12:43:03
  Author: bzed
Revision: 2764

Migrating from cdbs to dh(7). 

Modified:
  packages/winpdb/trunk/debian/changelog
  packages/winpdb/trunk/debian/compat
  packages/winpdb/trunk/debian/control
  packages/winpdb/trunk/debian/patches/winpdb-debian-wx-hint.dpatch
  packages/winpdb/trunk/debian/rules

Modified: packages/winpdb/trunk/debian/changelog
===================================================================
--- packages/winpdb/trunk/debian/changelog	2009-04-19 12:32:34 UTC (rev 2763)
+++ packages/winpdb/trunk/debian/changelog	2009-04-19 12:43:03 UTC (rev 2764)
@@ -1,8 +1,9 @@
 winpdb (1.4.6-1) unstable; urgency=low
 
   * New upstream version. 
+  * Migrating from cdbs to dh(7). 
 
- -- Bernd Zeimetz <bzed at debian.org>  Sun, 19 Apr 2009 14:33:12 +0200
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 19 Apr 2009 14:43:43 +0200
 
 winpdb (1.4.4-1) unstable; urgency=low
 

Modified: packages/winpdb/trunk/debian/compat
===================================================================
--- packages/winpdb/trunk/debian/compat	2009-04-19 12:32:34 UTC (rev 2763)
+++ packages/winpdb/trunk/debian/compat	2009-04-19 12:43:03 UTC (rev 2764)
@@ -1 +1 @@
-5
+7

Modified: packages/winpdb/trunk/debian/control
===================================================================
--- packages/winpdb/trunk/debian/control	2009-04-19 12:32:34 UTC (rev 2763)
+++ packages/winpdb/trunk/debian/control	2009-04-19 12:43:03 UTC (rev 2764)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Bernd Zeimetz <bzed at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.45), debhelper (>= 5), python, dpatch
+Build-Depends: debhelper (>= 7), python, dpatch
 Build-Depends-Indep: docbook-to-man, lsb-release, python-support (>= 0.6.4)
 Standards-Version: 3.8.0
 Homepage: http://www.winpdb.org/

Modified: packages/winpdb/trunk/debian/patches/winpdb-debian-wx-hint.dpatch
===================================================================
--- packages/winpdb/trunk/debian/patches/winpdb-debian-wx-hint.dpatch	2009-04-19 12:32:34 UTC (rev 2763)
+++ packages/winpdb/trunk/debian/patches/winpdb-debian-wx-hint.dpatch	2009-04-19 12:43:03 UTC (rev 2764)
@@ -6,8 +6,8 @@
 
 @DPATCH@
 diff -urNad winpdb~/winpdb.py winpdb/winpdb.py
---- winpdb~/winpdb.py	2007-10-31 20:56:00.000000000 +0100
-+++ winpdb/winpdb.py	2007-11-01 10:42:43.000000000 +0100
+--- winpdb~/winpdb.py	2009-03-29 07:52:37.000000000 +0200
++++ winpdb/winpdb.py	2009-04-19 14:43:16.000000000 +0200
 @@ -282,10 +282,8 @@
  
  STR_WXPYTHON_ERROR_TITLE = 'Winpdb Error'

Modified: packages/winpdb/trunk/debian/rules
===================================================================
--- packages/winpdb/trunk/debian/rules	2009-04-19 12:32:34 UTC (rev 2763)
+++ packages/winpdb/trunk/debian/rules	2009-04-19 12:43:03 UTC (rev 2764)
@@ -1,22 +1,24 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM := pysupport
+include /usr/share/dpatch/dpatch.make
+
 PKGNAME := winpdb
-
-distribution := $(shell lsb_release -is)
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/dpatch.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
 MANPAGES = $(PKGNAME).1
 
 %.1: debian/%.sgml
 	docbook-to-man $< > $@
 
-build/$(PKGNAME):: $(MANPAGES)
+%:
+	dh $@
 
-install/$(PKGNAME)::
+build: build-stamp
+
+build-stamp: $(DPATCH_STAMPFN) $(MANPAGES)
+	dh build
+	touch $@
+
+install:
+	dh $@
 	install -m 644 $(CURDIR)/artwork/$(PKGNAME)-icon-16.png \
                        $(CURDIR)/debian/$(PKGNAME)/usr/share/icons/hicolor/16x16/apps/$(PKGNAME).png
 	install -m 644 $(CURDIR)/artwork/$(PKGNAME)-icon-32.png \
@@ -27,11 +29,12 @@
                        $(CURDIR)/debian/$(PKGNAME)/usr/share/icons/hicolor/scalable/apps/$(PKGNAME).svg
 	install -m 644 $(CURDIR)/debian/$(PKGNAME).xpm \
                        $(CURDIR)/debian/$(PKGNAME)/usr/share/pixmaps/$(PKGNAME).xpm
-	chmod 755 $(CURDIR)/debian/$(PKGNAME)/usr/lib/python*/site-packages/*.py
+	chmod 755 $(CURDIR)/debian/$(PKGNAME)/usr/lib/python*/*-packages/*.py
 
 
-binary-predeb/$(PKGNAME)::
-	dh_desktop
+clean: clean-patched unpatch
+clean-patched:
+	dh clean
+	rm -f $(MANPAGES) build-stamp
 
-clean::
-	rm -f $(MANPAGES)
+.PHONY: clean install unpatch patch clean-patched




More information about the Python-apps-commits mailing list