# HG changeset patch # User paulb # Date 1189819340 0 # Node ID a87586a22725e1773bb819e80ae960c69bf30238 # Parent cc77b4b80b8c2e85e6f3b936626c0692d40c0f17 [project @ 2007-09-15 01:22:20 by paulb] Added Ubuntu Feisty packaging files. diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/changelog Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,92 @@ +parallel-pprocess (0.3-0ubuntu1) feisty; urgency=low + + * Added managed callables: wrappers around callables which + cause them to be automatically managed by the exchange + from which they were acquired. + * Added MakeParallel: a wrapper instantiated around a + normal function which sends the result of that function + over the supplied channel when invoked. + * Added a Map class which attempts to emulate the built-in + map function, along with a pmap function using this + class. + * Added a Queue class which provides a simpler + iterator-style interface to data produced by created + processes. + * Added a create method to the Exchange class and an exit + convenience function to the module. + * Changed the Exchange implementation to not block when + attempting to start new processes beyond the process + limit: such requests are queued and performed as running + processes are completed. This permits programs using + the start method to proceed to consumption of results + more quickly. + * Extended and updated the examples. Added a tutorial. + * Added Ubuntu Feisty (7.04) package support. + + -- Paul Boddie Sat, 15 Sep 2007 03:05:37 +0200 + +parallel-pprocess (0.2.5-0ubuntu1) hoary; urgency=low + + * Added a start method to the Exchange class for more + convenient creation of processes. + * Relicensed under the LGPL (version 3 or later) - this + also fixes the contradictory situation where the GPL was + stated in the pprocess module (which was not, in fact, + the intention) and the LGPL was stated in the + documentation. + + -- Paul Boddie Sun, 8 Jul 2007 00:08:39 +0200 + +parallel-pprocess (0.2.4-0ubuntu1) hoary; urgency=low + + * Set buffer sizes to zero for the file object wrappers + around sockets: this may prevent deadlock issues. + + -- Paul Boddie Thu, 29 Mar 2007 01:50:13 +0200 + +parallel-pprocess (0.2.3-0ubuntu1) hoary; urgency=low + + * Added convenient message exchanges, offering methods + handling common situations at the cost of having to + define a subclass of Exchange. + * Added a simple example of performing a parallel + computation. + * Improved the PyGmy raytracer example to use the newly + added functionality. + + -- Paul Boddie Sun, 14 Jan 2007 23:50:54 +0100 + +parallel-pprocess (0.2.2-0ubuntu1) hoary; urgency=low + + * Changed the status testing in the Exchange class, + potentially fixing the premature closure of channels + before all data was read. + * Fixed the PyGmy raytracer example's process accounting + by relying on the possibly more reliable Exchange + behaviour, whilst also preventing erroneous creation of + "out of bounds" processes. + * Added a removed attribute on the Exchange to record + which channels were removed in the last call to the + ready method. + + -- Paul Boddie Sun, 19 Nov 2006 20:35:25 +0100 + +parallel-pprocess (0.2.1-0ubuntu1) hoary; urgency=low + + * Added a PyGmy raytracer example. + * Updated copyright and licensing details (FSF address, + additional works). + + -- Paul Boddie Sun, 1 Oct 2006 17:46:17 +0200 + +parallel-pprocess (0.2-0ubuntu1) hoary; urgency=low + + * Changed the parallel module to pprocess. + + -- Paul Boddie Tue, 11 Oct 2005 18:50:24 +0200 + +parallel-module (0.1-0ubuntu1) hoary; urgency=low + + * New upstream release. + + -- Paul Boddie Wed, 28 Sep 2005 19:18:47 +0200 diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/compat Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,1 @@ +5 diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/control Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,19 @@ +Source: pprocess +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) +XS-Python-Version: all +Standards-Version: 3.7.2.1 + +Package: python-pprocess +Architecture: all +Depends: ${python:Depends} +Conflicts: python2.4-parallel-pprocess (<< 0.3-0ubuntu1) +Replaces: python2.4-parallel-pprocess (<< 0.3-0ubuntu1) +XB-Python-Version: ${python:Versions} +Description: Elementary parallel programming for Python + The pprocess module provides elementary support for parallel + programming in Python using a fork-based process creation model in + conjunction with a channel-based communications model implemented + using socketpair and poll. diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/copyright Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,60 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.python.org/pypi/parallel + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for parallel/pprocess +--------------------------------------- + +Copyright (C) 2005, 2006, 2007 Paul Boddie + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU Lesser General Public License as published by the Free +Software Foundation; either version 3 of the License, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +details. + +You should have received a copy of the GNU Lesser General Public License along +with this program. If not, see . + +Licence Agreement for PyGmy +--------------------------- + +Copyright (C) 2005 Dave Griffiths +Copyright (C) 2006 Paul Boddie + +This software is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 2 of +the License, or (at your option) any later version. + +This software is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public +License along with this library; see the file LICENCE.txt +If not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Notes on the Inclusion of PyGmy +------------------------------- + +PyGmy is included in this distribution of parallel/pprocess as an independent +demonstration of the pprocess library's facilities. This distribution is thus +considered as an aggregation of the two works, with separate licences +governing each work. diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/docs Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,5 @@ +README.txt +apidocs +docs +examples +tests diff -r cc77b4b80b8c -r a87586a22725 packages/ubuntu-feisty/python-pprocess/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/python-pprocess/debian/rules Sat Sep 15 01:22:20 2007 +0000 @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# A debian/rules file using python-central. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +PYVERS=$(shell pyversions -vr) + +build: build-stamp + +build-stamp: $(PYVERS:%=build-python%) build-python-scripts + touch $@ + +build-python%: + python$* setup.py build_py + touch $@ + +build-python-scripts: + #python setup.py build_scripts + #touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + rm -rf build + find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts + # Script fixing would appear here. + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +install-python%: + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-pprocess/usr/lib/python$*/site-packages + +install-python-scripts: + #python setup.py install_scripts --install-dir $(CURDIR)/debian/python-pprocess/usr/bin + +# Build architecture-independent files here. + +binary-indep: install + tools/apidocs.sh + dh_testdir -i + dh_testroot -i + dh_pycentral -i + dh_installdocs -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. + +binary-arch: + # Empty rule for this package. + +binary: binary-indep binary-arch +.PHONY: build clean binary-arch binary-indep binary install