[Python-modules-commits] r26007 - in packages/parallelpython/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Sep 29 18:45:21 UTC 2013


    Date: Sunday, September 29, 2013 @ 18:45:20
  Author: morph
Revision: 26007

* debian/rules
  - convert to dh sequencer

Modified:
  packages/parallelpython/trunk/debian/changelog
  packages/parallelpython/trunk/debian/rules

Modified: packages/parallelpython/trunk/debian/changelog
===================================================================
--- packages/parallelpython/trunk/debian/changelog	2013-09-29 16:59:53 UTC (rev 26006)
+++ packages/parallelpython/trunk/debian/changelog	2013-09-29 18:45:20 UTC (rev 26007)
@@ -11,11 +11,13 @@
     - removed, merged upstream
   * debian/control
     - bump Standards-Version to 3.9.4 (no changes needed)
+  * debian/rules
+    - convert to dh sequencer
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Sandro Tosi <morph at debian.org>  Sun, 29 Sep 2013 18:59:37 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 29 Sep 2013 20:45:08 +0200
 
 parallelpython (1.6.2-2) unstable; urgency=low
 

Modified: packages/parallelpython/trunk/debian/rules
===================================================================
--- packages/parallelpython/trunk/debian/rules	2013-09-29 16:59:53 UTC (rev 26006)
+++ packages/parallelpython/trunk/debian/rules	2013-09-29 18:45:20 UTC (rev 26007)
@@ -1,60 +1,22 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-include /usr/share/python/python.mk
+override_dh_installexamples:
+	dh_installexamples      examples/*
 
-build:
-	dh_testdir
+override_dh_installchangelogs:
+	dh_installchangelogs    CHANGELOG
 
-	python setup.py build
+override_dh_installdocs:
+	dh_installdocs          doc/ppdoc.html doc/example.config
 
-	touch $@
+override_dh_installman:
+	dh_installman           doc/ppserver.1
 
-clean:
-	dh_testdir
-	dh_testroot
+override_dh_auto_install:
+	dh_auto_install
 
-	# Add here commands to clean up after the build process.
-	python setup.py clean
-
-	[ ! -d build ] || rm -rf build
-
-	find . -name '*\.py[co]' -delete
-
-	dh_clean build-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-
-	# Add here commands to install the package into debian/python-pp.
-	python setup.py install --root=$(CURDIR)/debian/python-pp $(py_setup_install_args)
-
 	# Policy 10.4 - removing extension
 	mv $(CURDIR)/debian/python-pp/usr/bin/ppserver.py $(CURDIR)/debian/python-pp/usr/bin/ppserver
-
-# Build architecture-dependent files here.
-binary-arch:
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 	CHANGELOG
-	dh_installdocs		doc/ppdoc.html doc/example.config 
-	dh_installexamples	examples/*
-	dh_installman		doc/ppserver.1
-	dh_pysupport
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list