# HG changeset patch # User paulb # Date 1129297811 0 # Node ID ec3fa35d48b83b6f283ebbb9609a878e6f346c79 # Parent a97eeb8199edf74c5831e5eb2baadb987a9f4611 [project @ 2005-10-14 13:50:07 by paulb] Renamed packages/debian to packages/ubuntu-hoary. diff -r a97eeb8199ed -r ec3fa35d48b8 README.txt --- a/README.txt Thu Jun 19 21:42:50 2008 +0200 +++ b/README.txt Fri Oct 14 13:50:11 2005 +0000 @@ -61,13 +61,13 @@ Making Packages --------------- -To make Debian packages: +To make Debian-based packages: - 1. Create new package directories under packages/debian if necessary. + 1. Create new package directories under packages if necessary. 2. Make a symbolic link in the distribution's root directory to keep the Debian tools happy: - ln -s packages/debian/python2.4-parallel-pprocess/debian/ + ln -s packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/ 3. Run the package builder: diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/changelog --- a/packages/debian/python2.4-parallel-pprocess/debian/changelog Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -parallel-pprocess (0.2-0ubuntu1) unstable; urgency=low - - * Changed the parallel module to pprocess. - - -- Paul Boddie Tue, 11 Oct 2005 18:50:24 +0200 - -parallel-module (0.1-0ubuntu1) unstable; urgency=low - - * New upstream release. - - -- Paul Boddie Wed, 28 Sep 2005 19:18:47 +0200 diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/control --- a/packages/debian/python2.4-parallel-pprocess/debian/control Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -Source: parallel-pprocess -Priority: optional -Maintainer: Paul Boddie -Build-Depends: debhelper (>> 3.0.0), python2.4-dev -Standards-Version: 3.5.8 -Section: python - -Package: python2.4-parallel-pprocess -Section: python -Architecture: all -Depends: python2.4 -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. - . - This package is built for Python 2.4.x. diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/copyright --- a/packages/debian/python2.4-parallel-pprocess/debian/copyright Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -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 ------------------------------- - -Copyright (C) 2005 Paul Boddie - -This library 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 2.1 of the License, or (at your option) any later version. - -This library 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 library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/docs --- a/packages/debian/python2.4-parallel-pprocess/debian/docs Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -README.txt -docs diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/postinst --- a/packages/debian/python2.4-parallel-pprocess/debian/postinst Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -#! /bin/sh -# postinst script for parallel -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -PACKAGE=python2.4-parallel-pprocess -VERSION=2.4 -LIB="/usr/lib/python$VERSION" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - /usr/bin/python$VERSION -O -c "import pprocess" - /usr/bin/python$VERSION -c "import pprocess" - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 - - diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/prerm --- a/packages/debian/python2.4-parallel-pprocess/debian/prerm Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#! /bin/sh -# prerm script for parallel - -set -e - -PACKAGE=python2.4-parallel-pprocess -VERSION=2.4 -LIB="/usr/lib/python$VERSION" -DIR="$LIB/site-packages" - -case "$1" in - remove|upgrade|failed-upgrade) - rm ${DIR}/pprocess.py[co] - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 diff -r a97eeb8199ed -r ec3fa35d48b8 packages/debian/python2.4-parallel-pprocess/debian/rules --- a/packages/debian/python2.4-parallel-pprocess/debian/rules Thu Jun 19 21:42:50 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -#!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This is the debhelper compatibility version to use. -export DH_COMPAT=4 - - - -build: build-stamp - /usr/bin/python2.4 setup.py build -build-stamp: - touch build-stamp - -configure: - # Do nothing - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - -rm -rf build - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-parallel-pprocess/usr - -# Build architecture-independent files here. -binary-indep: install - dh_testdir - dh_testroot - - dh_installdocs - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb -# We have nothing to do by default. - -binary: binary-indep -.PHONY: build clean binary-indep binary install diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/changelog Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,11 @@ +parallel-pprocess (0.2-0ubuntu1) unstable; urgency=low + + * Changed the parallel module to pprocess. + + -- Paul Boddie Tue, 11 Oct 2005 18:50:24 +0200 + +parallel-module (0.1-0ubuntu1) unstable; urgency=low + + * New upstream release. + + -- Paul Boddie Wed, 28 Sep 2005 19:18:47 +0200 diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/control Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,18 @@ +Source: parallel-pprocess +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>> 3.0.0), python2.4-dev +Standards-Version: 3.5.8 +Section: python + +Package: python2.4-parallel-pprocess +Section: python +Architecture: all +Depends: python2.4 +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. + . + This package is built for Python 2.4.x. diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/copyright Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,32 @@ +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 +------------------------------ + +Copyright (C) 2005 Paul Boddie + +This library 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 2.1 of the License, or (at your option) any later version. + +This library 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 library; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/docs Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,2 @@ +README.txt +docs diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/postinst Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for parallel +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +PACKAGE=python2.4-parallel-pprocess +VERSION=2.4 +LIB="/usr/lib/python$VERSION" + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + /usr/bin/python$VERSION -O -c "import pprocess" + /usr/bin/python$VERSION -c "import pprocess" + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 + + diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/prerm Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,24 @@ +#! /bin/sh +# prerm script for parallel + +set -e + +PACKAGE=python2.4-parallel-pprocess +VERSION=2.4 +LIB="/usr/lib/python$VERSION" +DIR="$LIB/site-packages" + +case "$1" in + remove|upgrade|failed-upgrade) + rm ${DIR}/pprocess.py[co] + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 diff -r a97eeb8199ed -r ec3fa35d48b8 packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/rules Fri Oct 14 13:50:11 2005 +0000 @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + + + +build: build-stamp + /usr/bin/python2.4 setup.py build +build-stamp: + touch build-stamp + +configure: + # Do nothing + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -rm -rf build + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-parallel-pprocess/usr + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + + dh_installdocs + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb +# We have nothing to do by default. + +binary: binary-indep +.PHONY: build clean binary-indep binary install