[Python-apps-commits] r6505 - in packages/gpxviewer/trunk/debian (changelog control rules)

andrewgee-guest at users.alioth.debian.org andrewgee-guest at users.alioth.debian.org
Sat Jan 15 13:55:53 UTC 2011


    Date: Saturday, January 15, 2011 @ 13:55:49
  Author: andrewgee-guest
Revision: 6505

New upstream version, migrate to dh from cdbs, install python module in private /usr/share/ directory

Modified:
  packages/gpxviewer/trunk/debian/changelog
  packages/gpxviewer/trunk/debian/control
  packages/gpxviewer/trunk/debian/rules

Modified: packages/gpxviewer/trunk/debian/changelog
===================================================================
--- packages/gpxviewer/trunk/debian/changelog	2011-01-14 21:10:48 UTC (rev 6504)
+++ packages/gpxviewer/trunk/debian/changelog	2011-01-15 13:55:49 UTC (rev 6505)
@@ -1,3 +1,11 @@
+gpxviewer (0.4.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Converted to use dh sequencer, from cdbs
+  * Python module now installed to private /usr/share/gpxviewer
+
+ -- Andrew Gee <andrew at andrewgee.org>  Sat, 15 Jan 2011 13:03:30 +0000
+
 gpxviewer (0.4.0-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/gpxviewer/trunk/debian/control
===================================================================
--- packages/gpxviewer/trunk/debian/control	2011-01-14 21:10:48 UTC (rev 6504)
+++ packages/gpxviewer/trunk/debian/control	2011-01-15 13:55:49 UTC (rev 6505)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Andrew Gee <andrew at andrewgee.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: cdbs, debhelper (>= 5), python-support, python (>= 2.5), python-distutils-extra
+Build-Depends: debhelper (>= 7), python-support, python (>= 2.5), python-distutils-extra
 Standards-Version: 3.9.1
 Homepage: http://andrewgee.org/blog/gpxviewer
 

Modified: packages/gpxviewer/trunk/debian/rules
===================================================================
--- packages/gpxviewer/trunk/debian/rules	2011-01-14 21:10:48 UTC (rev 6504)
+++ packages/gpxviewer/trunk/debian/rules	2011-01-15 13:55:49 UTC (rev 6505)
@@ -1,9 +1,9 @@
 #!/usr/bin/make -f
-
-DEB_PYTHON_SYSTEM=pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-clean::
-	-rm -r build/
+%:
+	dh $@ --with python2
+	
+override_dh_auto_install:
+	python setup.py install --root=debian/gpxviewer --install-lib=/usr/share/gpxviewer/ --install-scripts=/usr/share/gpxviewer/scripts/
+	mv debian/gpxviewer/usr/share/gpxviewer/scripts/gpxviewer debian/gpxviewer/usr/share/gpxviewer/gpxviewer_run
+	rm -r debian/gpxviewer/usr/share/gpxviewer/scripts
+	dh_link /usr/share/gpxviewer/gpxviewer_run /usr/bin/gpxviewer




More information about the Python-apps-commits mailing list