[Python-modules-commits] r26212 - in packages/python-progressbar/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Oct 20 11:46:10 UTC 2013


    Date: Sunday, October 20, 2013 @ 11:46:09
  Author: morph
Revision: 26212

* debian/rules
  - converted to dh sequencer

Modified:
  packages/python-progressbar/trunk/debian/changelog
  packages/python-progressbar/trunk/debian/rules

Modified: packages/python-progressbar/trunk/debian/changelog
===================================================================
--- packages/python-progressbar/trunk/debian/changelog	2013-10-20 11:41:55 UTC (rev 26211)
+++ packages/python-progressbar/trunk/debian/changelog	2013-10-20 11:46:09 UTC (rev 26212)
@@ -3,11 +3,13 @@
   [ Sandro Tosi ]
   * debian/control
     - updated Homepage field
+  * debian/rules
+    - converted to dh sequencer
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:07 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 20 Oct 2013 13:45:55 +0200
 
 python-progressbar (2.2-2) unstable; urgency=low
 

Modified: packages/python-progressbar/trunk/debian/rules
===================================================================
--- packages/python-progressbar/trunk/debian/rules	2013-10-20 11:41:55 UTC (rev 26211)
+++ packages/python-progressbar/trunk/debian/rules	2013-10-20 11:46:09 UTC (rev 26212)
@@ -1,54 +1,13 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 include /usr/share/dpatch/dpatch.make
 
-build: build-stamp
-build-stamp: patch-stamp
-	dh_testdir
+%:
+	dh $@
 
-	python setup.py build;
-	
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-
-	[ ! -d build ] || rm -rf build
-
-	python setup.py clean;
-
-	find . -name '*\.pyc' -delete
-
-	dh_clean build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-
-	# Add here commands to install the package into debian/python-progressbar.
-	python setup.py install --root=$(CURDIR)/debian/python-progressbar
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
+override_dh_installdocs:
 	dh_installdocs		README
-	dh_installexamples	debian/examples/*
-	dh_pysupport
-	dh_compress		-X.py
-	dh_fixperms
-	dh_installdeb
-	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	debian/examples/*




More information about the Python-modules-commits mailing list