[Python-modules-commits] r6906 - in packages/multiprocessing/trunk (7 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Nov 19 17:27:42 UTC 2008


    Date: Wednesday, November 19, 2008 @ 17:27:41
  Author: morph
Revision: 6906

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/multiprocessing/trunk/debian/
  packages/multiprocessing/trunk/debian/changelog
  packages/multiprocessing/trunk/debian/compat
  packages/multiprocessing/trunk/debian/control
  packages/multiprocessing/trunk/debian/copyright
  packages/multiprocessing/trunk/debian/rules
  packages/multiprocessing/trunk/debian/watch


Property changes on: packages/multiprocessing/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/multiprocessing/trunk/debian/changelog
===================================================================
--- packages/multiprocessing/trunk/debian/changelog	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/changelog	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1,11 @@
+multiprocessing (2.6.0-0.1-1) UNRELEASED; urgency=low
+
+  TODO:
+    - examples/* copyright/license
+    - errors on tst and examples
+    - -dgb package?
+    - Modules/mmapmodule.c clarification
+
+  * Initial release (Closes: #505862)
+
+ -- Sandro Tosi <morph at debian.org>  Sun, 16 Nov 2008 12:27:47 +0100

Added: packages/multiprocessing/trunk/debian/compat
===================================================================
--- packages/multiprocessing/trunk/debian/compat	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/compat	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1 @@
+7

Added: packages/multiprocessing/trunk/debian/control
===================================================================
--- packages/multiprocessing/trunk/debian/control	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/control	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1,27 @@
+Source: multiprocessing
+Section: python
+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
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/multiprocessing/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/multiprocessing/trunk/
+Homepage: http://code.google.com/p/python-multiprocessing/
+XS-Python-Version: 2.4, 2.5
+
+Package: python-multiprocessing
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ctypes
+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.
+ 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/ .

Added: packages/multiprocessing/trunk/debian/copyright
===================================================================
--- packages/multiprocessing/trunk/debian/copyright	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/copyright	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1,61 @@
+This package was debianized by Sandro Tosi <morph at debian.org> on
+Sun, 16 Nov 2008 12:27:47 +0100.
+
+It was downloaded from http://pypi.python.org/pypi/multiprocessing/
+
+Upstream Author:
+
+    R Oudkerk <roudkerk at users.berlios.de>
+
+Copyright:
+
+    Copyright (c) 2006-2008, R Oudkerk
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+    3. Neither the name of author nor the names of any contributors may be
+       used to endorse or promote products derived from this software
+       without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+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 $
+
+ / 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.
+*/

Added: packages/multiprocessing/trunk/debian/rules
===================================================================
--- packages/multiprocessing/trunk/debian/rules	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/rules	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS := $(shell pyversions -v -r debian/control)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	for py in $(PYVERS); do  \
+	  $(MAKE) PYTHON=python$$py; \
+	done
+
+	# Conditionally run tests and examples
+ifneq (,$(findstring runtest,$(DEB_BUILD_OPTIONS)))
+	for py in $(PYVERS); do  \
+	  $(MAKE) test PYTHON=python$$py; \
+	done
+endif
+ifneq (,$(findstring runexamples,$(DEB_BUILD_OPTIONS)))
+	for py in $(PYVERS); do  \
+	  $(MAKE) examples PYTHON=python$$py; \
+	done
+endif
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+	for py in $(PYVERS); do  \
+	  $(MAKE) realclean PYTHON=python$$py; \
+	done
+
+	dh_clean build-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# 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;\
+	done
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs		README.txt Doc/library/multiprocessing.rst
+	dh_installexamples	examples/*
+	dh_pycentral
+	dh_strip
+	dh_compress		-X.py
+	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


Property changes on: packages/multiprocessing/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/multiprocessing/trunk/debian/watch
===================================================================
--- packages/multiprocessing/trunk/debian/watch	                        (rev 0)
+++ packages/multiprocessing/trunk/debian/watch	2008-11-19 17:27:41 UTC (rev 6906)
@@ -0,0 +1,3 @@
+# Compulsory line, this is a version 3 file
+version=3
+http://pypi.python.org/packages/source/m/multiprocessing/multiprocessing-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list