[Python-modules-commits] r7004 - in packages/python-multiprocessing/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Nov 28 12:40:16 UTC 2008


    Date: Friday, November 28, 2008 @ 12:40:15
  Author: morph
Revision: 7004

new upstream release; build doc; copyright update; -dbg package

Modified:
  packages/python-multiprocessing/trunk/debian/changelog
  packages/python-multiprocessing/trunk/debian/control
  packages/python-multiprocessing/trunk/debian/copyright
  packages/python-multiprocessing/trunk/debian/rules

Modified: packages/python-multiprocessing/trunk/debian/changelog
===================================================================
--- packages/python-multiprocessing/trunk/debian/changelog	2008-11-28 06:55:39 UTC (rev 7003)
+++ packages/python-multiprocessing/trunk/debian/changelog	2008-11-28 12:40:15 UTC (rev 7004)
@@ -1,10 +1,7 @@
-python-multiprocessing (2.6.0-0.1-1) UNRELEASED; urgency=low
+python-multiprocessing (2.6.0.2-1) UNRELEASED; urgency=low
 
   TODO:
-    - examples/* copyright/license
     - errors on tst and examples
-    - -dgb package?
-    - Modules/mmapmodule.c clarification
 
   * Initial release (Closes: #505862)
 

Modified: packages/python-multiprocessing/trunk/debian/control
===================================================================
--- packages/python-multiprocessing/trunk/debian/control	2008-11-28 06:55:39 UTC (rev 7003)
+++ packages/python-multiprocessing/trunk/debian/control	2008-11-28 12:40:15 UTC (rev 7004)
@@ -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), python-all-dev, python-central (>= 0.5.6), python-ctypes
+Build-Depends: debhelper (>= 7), python-all-dev, python-central (>= 0.5.6), python-ctypes, python-sphinx (>= 0.5)
 Standards-Version: 3.8.0
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-multiprocessing/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-multiprocessing/trunk/
@@ -13,15 +13,37 @@
 Package: python-multiprocessing
 Architecture: any
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ctypes
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ctypes, libjs-jquery
 Description: process-based "threading" interface
- multiprocessing is a package that supports spawning processes using an API
- similar to the threading module. The multiprocessing package offers both local
- and remote concurrency, effectively side-stepping the Global Interpreter Lock by
- using subprocesses instead of threads. Due to this, the multiprocessing module
- allows the programmer to fully leverage multiple processors on a given machine.
+ multiprocessing is a package that supports spawning processes using
+ an API similar to the threading module. The multiprocessing package
+ offers both local and remote concurrency, effectively side-stepping
+ the Global Interpreter Lock by using subprocesses instead of
+ threads. Due to this, the multiprocessing module allows the
+ programmer to fully leverage multiple processors on a given machine.
  It runs on both Unix and Windows.
  .
- This is a back port to Python 2.4/2.5 of the multiprocessing package introduced
- via PEP-371 and Python 2.6. This is essentially a meta-fork of the original
- pyprocessing project found at: http://pyprocessing.berlios.de/ .
+ This is a back port to Python 2.4/2.5 of the multiprocessing package
+ introduced via PEP-371 and Python 2.6. This is essentially a
+ meta-fork of the original pyprocessing project found at:
+ http://pyprocessing.berlios.de/ .
+
+Package: python-multiprocessing-dbg
+Priority: extra
+Architecture: any
+Depends: python-multiprocessing (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, python-all-dbg
+Description: process-based "threading" interface (debug extension)
+ multiprocessing is a package that supports spawning processes using
+ an API similar to the threading module. The multiprocessing package
+ offers both local and remote concurrency, effectively side-stepping
+ the Global Interpreter Lock by using subprocesses instead of
+ threads. Due to this, the multiprocessing module allows the
+ programmer to fully leverage multiple processors on a given machine.
+ It runs on both Unix and Windows.
+ .
+ This is a back port to Python 2.4/2.5 of the multiprocessing package
+ introduced via PEP-371 and Python 2.6. This is essentially a
+ meta-fork of the original pyprocessing project found at:
+ http://pyprocessing.berlios.de/ .
+ .
+ This package contains the debug symbols for python-multiprocessing. 

Modified: packages/python-multiprocessing/trunk/debian/copyright
===================================================================
--- packages/python-multiprocessing/trunk/debian/copyright	2008-11-28 06:55:39 UTC (rev 7003)
+++ packages/python-multiprocessing/trunk/debian/copyright	2008-11-28 12:40:15 UTC (rev 7004)
@@ -41,21 +41,21 @@
 The Debian packaging is copyright 2008, Sandro Tosi <morph at debian.org> and
 is licensed under the same terms as upstream code (see above).
 
-This file have different XXXXXXXXXXXXXXx information:
-Modules/mmapmodule.c
-/*
- /  Author: Sam Rushing <rushing at nightmare.com>
- /  Hacked for Unix by AMK
- /  $Id: mmapmodule.c 11 2008-10-22 16:37:34Z tiran79 $
+This file have different copyright/license information:
+Modules/mmapmodule.c:
+    /*
+     /  Author: Sam Rushing <rushing at nightmare.com>
+     /  Hacked for Unix by AMK
+     /  $Id: mmapmodule.c 33 2008-11-26 11:27:43Z tiran79 $
 
- / mmapmodule.cpp -- map a view of a file into memory
- /
- / todo: need permission flags, perhaps a 'chsize' analog
- /   not all functions check range yet!!!
- /
- /
- / This version of mmapmodule.c has been changed significantly
- / from the original mmapfile.c on which it was based.
- / The original version of mmapfile is maintained by Sam at
- / ftp://squirl.nightmare.com/pub/python/python-ext.
-*/
+     / This version of mmapmodule.c has been changed significantly
+     / from the original mmapfile.c on which it was based.
+     / The original version of mmapfile is maintained by Sam at
+     / ftp://squirl.nightmare.com/pub/python/python-ext.
+     /
+     / The file was taken from Python 2.5's maintenance branch r67391 
+     / http://svn.python.org/projects/python/branches/release25-maint/Modules/ 
+    */
+
+Lib/multiprocessing/patch.py:
+    Copyright (c) 2008, Christian Heimes

Modified: packages/python-multiprocessing/trunk/debian/rules
===================================================================
--- packages/python-multiprocessing/trunk/debian/rules	2008-11-28 06:55:39 UTC (rev 7003)
+++ packages/python-multiprocessing/trunk/debian/rules	2008-11-28 12:40:15 UTC (rev 7004)
@@ -12,21 +12,29 @@
 
 	# Add here commands to compile the package.
 	for py in $(PYVERS); do  \
-	  $(MAKE) PYTHON=python$$py; \
+	  python$$py setup.py build; \
+	  python$$py-dbg setup.py build; \
 	done
 
 	# Conditionally run tests and examples
 ifneq (,$(findstring runtest,$(DEB_BUILD_OPTIONS)))
 	for py in $(PYVERS); do  \
 	  $(MAKE) test PYTHON=python$$py; \
+	  $(MAKE) test PYTHON=python$$py-dbg; \
 	done
 endif
 ifneq (,$(findstring runexamples,$(DEB_BUILD_OPTIONS)))
 	for py in $(PYVERS); do  \
 	  $(MAKE) examples PYTHON=python$$py; \
+	  $(MAKE) examples PYTHON=python$$py-dbg; \
 	done
 endif
 
+	# Create dirs needed for doc building
+	mkdir -p Doc/static Doc/templates
+	# Build doc
+	$(MAKE) doc
+
 	touch $@
 
 clean: 
@@ -34,9 +42,7 @@
 	dh_testroot
 
 	# Add here commands to clean up after the build process.
-	for py in $(PYVERS); do  \
-	  $(MAKE) realclean PYTHON=python$$py; \
-	done
+	$(MAKE) realclean
 
 	dh_clean build-stamp
 
@@ -48,10 +54,14 @@
 
 	# Add here commands to install the package into debian/python-multiprocessing
 	for py in $(PYVERS); do  \
-	  #$(MAKE) install PYTHON=python$$py DESTDIR=$(CURDIR)/debian/multiprocessing; \
 	  python$$py setup.py install --root=$(CURDIR)/debian/python-multiprocessing;\
+	  python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-multiprocessing-dbg;\
 	done
 
+	# remove things not needed in a debug package
+	find debian/python-multiprocessing-dbg ! -type d ! -name '*_d.so' | xargs rm -f
+	find debian/python-multiprocessing-dbg -depth -empty -exec rmdir {} \;
+
 # Build architecture-independent files here.
 binary-indep: install
 # We have nothing to do by default.
@@ -60,12 +70,15 @@
 binary-arch: install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs		README.txt Doc/library/multiprocessing.rst
-	dh_installexamples	examples/*
+	dh_installchangelogs 	CHANGES.txt
+	dh_installdocs		README.txt build/sphinx/html/
+	dh_installexamples	Doc/includes/*
+	ln -sf /usr/share/javascript/jquery/jquery.js \
+	        $(CURDIR)/debian/python-multiprocessing/usr/share/doc/python-multiprocessing/html/_static/jquery.js
+	dh_link	
 	dh_pycentral
-	dh_strip
-	dh_compress		-X.py
+	dh_strip		-ppython-multiprocessing --dbg-package=python-multiprocessing-dbg
+	dh_compress		-X.py -X.js
 	dh_fixperms
 	dh_installdeb
 	dh_shlibdeps




More information about the Python-modules-commits mailing list