[Python-modules-commits] r19959 - in packages/python-graph/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Mon Jan 9 17:49:02 UTC 2012


    Date: Monday, January 9, 2012 @ 17:49:01
  Author: morph
Revision: 19959

Switch to compat debian/rules format

Modified:
  packages/python-graph/trunk/debian/changelog
  packages/python-graph/trunk/debian/control
  packages/python-graph/trunk/debian/rules

Modified: packages/python-graph/trunk/debian/changelog
===================================================================
--- packages/python-graph/trunk/debian/changelog	2012-01-09 17:23:17 UTC (rev 19958)
+++ packages/python-graph/trunk/debian/changelog	2012-01-09 17:49:01 UTC (rev 19959)
@@ -11,8 +11,9 @@
   * debian/patches/10_exceptions_catch_fix.dpatch
     - removed, we don't support 2.5 anymore
   * Switch to 3.0 (quilt) source format
+  * Switch to compat debian/rules format
 
- -- Sandro Tosi <morph at debian.org>  Mon, 09 Jan 2012 18:21:15 +0100
+ -- Sandro Tosi <morph at debian.org>  Mon, 09 Jan 2012 18:47:06 +0100
 
 python-graph (1.8.0-2) unstable; urgency=low
 

Modified: packages/python-graph/trunk/debian/control
===================================================================
--- packages/python-graph/trunk/debian/control	2012-01-09 17:23:17 UTC (rev 19958)
+++ packages/python-graph/trunk/debian/control	2012-01-09 17:49:01 UTC (rev 19959)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: python-support, python (>= 2.5.3-1~), python-epydoc, python-setuptools, python-pydot
 Standards-Version: 3.9.2
 Homepage: http://code.google.com/p/python-graph/

Modified: packages/python-graph/trunk/debian/rules
===================================================================
--- packages/python-graph/trunk/debian/rules	2012-01-09 17:23:17 UTC (rev 19958)
+++ packages/python-graph/trunk/debian/rules	2012-01-09 17:49:01 UTC (rev 19959)
@@ -1,14 +1,10 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
+override_dh_auto_build:
 	cd core ; python setup.py build
 
 	# run tests
@@ -16,47 +12,12 @@
 
 	$(MAKE) docs
 
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add here commands to clean up after the build process.
-	$(MAKE) clean
-
-	dh_clean build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep  
-	dh_installdirs
-
-	# Add here commands to install the package into debian/python-pygraph.
+override_dh_auto_install:
 	cd core ; python setup.py install --root=$(CURDIR)/debian/python-pygraph --install-layout=deb
 	cd dot  ; python setup.py install --root=$(CURDIR)/debian/python-pygraph --install-layout=deb
 
-# Build architecture-dependent files here.
-binary-arch: install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs	Changelog
+override_dh_installdocs:
 	dh_installdocs		docs
-	dh_installexamples	tests/*
-	dh_pysupport
-	dh_installman
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_installexamples:
+	dh_installexamples	tests/*.py




More information about the Python-modules-commits mailing list