[Python-modules-commits] r4250 - in packages/pprocess/trunk/debian (6 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Thu Jan 3 18:57:49 UTC 2008


    Date: Thursday, January 3, 2008 @ 18:57:48
  Author: morph-guest
Revision: 4250

POX notes

Added:
  packages/pprocess/trunk/debian/patches/
  packages/pprocess/trunk/debian/patches/00list
  packages/pprocess/trunk/debian/patches/10_fix_pprocess.dpatch
Modified:
  packages/pprocess/trunk/debian/control
  packages/pprocess/trunk/debian/copyright
  packages/pprocess/trunk/debian/rules

Modified: packages/pprocess/trunk/debian/control
===================================================================
--- packages/pprocess/trunk/debian/control	2008-01-03 18:04:01 UTC (rev 4249)
+++ packages/pprocess/trunk/debian/control	2008-01-03 18:57:48 UTC (rev 4250)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <matrixhasu at gmail.com>
-Build-Depends: debhelper (>= 5.0.38), python
+Build-Depends: debhelper (>= 5.0.38), python-all, dpatch
 Build-Depends-Indep: python-support (>= 0.6), python-epydoc
 Standards-Version: 3.7.3
 Homepage: http://www.boddie.org.uk/python/pprocess.html

Modified: packages/pprocess/trunk/debian/copyright
===================================================================
--- packages/pprocess/trunk/debian/copyright	2008-01-03 18:04:01 UTC (rev 4249)
+++ packages/pprocess/trunk/debian/copyright	2008-01-03 18:57:48 UTC (rev 4250)
@@ -1,5 +1,6 @@
 This package was debianized by Sandro Tosi <matrixhasu at gmail.com> on
-Tue, 18 Dec 2007 00:24:56 +0100.
+Tue, 18 Dec 2007 00:24:56 +0100, based on the good work done by Paul
+Boddie for Ubuntu
 
 It was downloaded from http://www.boddie.org.uk/python/pprocess.html
 

Added: packages/pprocess/trunk/debian/patches/00list
===================================================================
--- packages/pprocess/trunk/debian/patches/00list	                        (rev 0)
+++ packages/pprocess/trunk/debian/patches/00list	2008-01-03 18:57:48 UTC (rev 4250)
@@ -0,0 +1 @@
+10_fix_pprocess

Added: packages/pprocess/trunk/debian/patches/10_fix_pprocess.dpatch
===================================================================
--- packages/pprocess/trunk/debian/patches/10_fix_pprocess.dpatch	                        (rev 0)
+++ packages/pprocess/trunk/debian/patches/10_fix_pprocess.dpatch	2008-01-03 18:57:48 UTC (rev 4250)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_fix_pprocess.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad pprocess~/pprocess.py pprocess/pprocess.py
+--- pprocess~/pprocess.py	2007-11-24 01:00:15.000000000 +0100
++++ pprocess/pprocess.py	2008-01-03 19:48:48.474096535 +0100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ """
+ A simple parallel processing API for Python, inspired somewhat by the thread
+ module, slightly less by pypar, and slightly less still by pypvm.


Property changes on: packages/pprocess/trunk/debian/patches/10_fix_pprocess.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/pprocess/trunk/debian/rules
===================================================================
--- packages/pprocess/trunk/debian/rules	2008-01-03 18:04:01 UTC (rev 4249)
+++ packages/pprocess/trunk/debian/rules	2008-01-03 18:57:48 UTC (rev 4250)
@@ -5,8 +5,10 @@
 
 PYVERS=$(shell pyversions -r)
 
+include /usr/share/dpatch/dpatch.make
+
 build: build-stamp
-build-stamp:
+build-stamp: patch-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
@@ -17,10 +19,9 @@
 	tools/apidocs.sh
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
 	# Add here commands to clean up after the build process.
 	for python in $(PYVERS) ; do \
 	    $$python setup.py clean; \
@@ -28,7 +29,7 @@
 	find . -name '*.py[co]' -delete
 	[ ! -d build ] || rm -rf build
 	[ ! -d apidocs ] || rm -rf apidocs
-	dh_clean 
+	dh_clean build-stamp
 
 install: build
 	dh_testdir
@@ -37,22 +38,23 @@
 	# Add here commands to install the package into debian/pprocess.
 	python setup.py install --root=$(CURDIR)/debian/python-pprocess
 
+binary-arch: build install
+# nothing to do here
 
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs 
-	dh_installdocs		README.txt docs/*.html apidocs tests
-	dh_installexamples	examples/*
+	dh_installdocs		README.txt docs/*.html apidocs
+	dh_installexamples	examples/* tests
 	dh_pysupport
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep
+binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list