1.1 --- a/README.txt Thu Jun 19 21:42:50 2008 +0200
1.2 +++ b/README.txt Fri Oct 14 13:50:11 2005 +0000
1.3 @@ -61,13 +61,13 @@
1.4 Making Packages
1.5 ---------------
1.6
1.7 -To make Debian packages:
1.8 +To make Debian-based packages:
1.9
1.10 - 1. Create new package directories under packages/debian if necessary.
1.11 + 1. Create new package directories under packages if necessary.
1.12 2. Make a symbolic link in the distribution's root directory to keep the
1.13 Debian tools happy:
1.14
1.15 - ln -s packages/debian/python2.4-parallel-pprocess/debian/
1.16 + ln -s packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/
1.17
1.18 3. Run the package builder:
1.19
2.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/changelog Thu Jun 19 21:42:50 2008 +0200
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,11 +0,0 @@
2.4 -parallel-pprocess (0.2-0ubuntu1) unstable; urgency=low
2.5 -
2.6 - * Changed the parallel module to pprocess.
2.7 -
2.8 - -- Paul Boddie <paul@boddie.org.uk> Tue, 11 Oct 2005 18:50:24 +0200
2.9 -
2.10 -parallel-module (0.1-0ubuntu1) unstable; urgency=low
2.11 -
2.12 - * New upstream release.
2.13 -
2.14 - -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Sep 2005 19:18:47 +0200
3.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/control Thu Jun 19 21:42:50 2008 +0200
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,18 +0,0 @@
3.4 -Source: parallel-pprocess
3.5 -Priority: optional
3.6 -Maintainer: Paul Boddie <paul@boddie.org.uk>
3.7 -Build-Depends: debhelper (>> 3.0.0), python2.4-dev
3.8 -Standards-Version: 3.5.8
3.9 -Section: python
3.10 -
3.11 -Package: python2.4-parallel-pprocess
3.12 -Section: python
3.13 -Architecture: all
3.14 -Depends: python2.4
3.15 -Description: Elementary parallel programming for Python
3.16 - The pprocess module provides elementary support for parallel
3.17 - programming in Python using a fork-based process creation model in
3.18 - conjunction with a channel-based communications model implemented
3.19 - using socketpair and poll.
3.20 - .
3.21 - This package is built for Python 2.4.x.
4.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/copyright Thu Jun 19 21:42:50 2008 +0200
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,32 +0,0 @@
4.4 -Package creator:
4.5 -
4.6 - Paul Boddie <paul@boddie.org.uk>
4.7 -
4.8 -The origin of the package is:
4.9 -
4.10 - http://www.python.org/pypi/parallel
4.11 -
4.12 -Package author:
4.13 -
4.14 - Paul Boddie <paul@boddie.org.uk>
4.15 -
4.16 -Copyright:
4.17 -
4.18 -Licence Agreement for parallel
4.19 -------------------------------
4.20 -
4.21 -Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
4.22 -
4.23 -This library is free software; you can redistribute it and/or
4.24 -modify it under the terms of the GNU Lesser General Public
4.25 -License as published by the Free Software Foundation; either
4.26 -version 2.1 of the License, or (at your option) any later version.
4.27 -
4.28 -This library is distributed in the hope that it will be useful,
4.29 -but WITHOUT ANY WARRANTY; without even the implied warranty of
4.30 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4.31 -Lesser General Public License for more details.
4.32 -
4.33 -You should have received a copy of the GNU Lesser General Public
4.34 -License along with this library; if not, write to the Free Software
4.35 -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/docs Thu Jun 19 21:42:50 2008 +0200
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,2 +0,0 @@
5.4 -README.txt
5.5 -docs
6.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/postinst Thu Jun 19 21:42:50 2008 +0200
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,46 +0,0 @@
6.4 -#! /bin/sh
6.5 -# postinst script for parallel
6.6 -#
6.7 -# see: dh_installdeb(1)
6.8 -
6.9 -set -e
6.10 -
6.11 -# summary of how this script can be called:
6.12 -# * <postinst> `configure' <most-recently-configured-version>
6.13 -# * <old-postinst> `abort-upgrade' <new version>
6.14 -# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
6.15 -# <new-version>
6.16 -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
6.17 -# <failed-install-package> <version> `removing'
6.18 -# <conflicting-package> <version>
6.19 -# for details, see http://www.debian.org/doc/debian-policy/ or
6.20 -# the debian-policy package
6.21 -#
6.22 -# quoting from the policy:
6.23 -# Any necessary prompting should almost always be confined to the
6.24 -# post-installation script, and should be protected with a conditional
6.25 -# so that unnecessary prompting doesn't happen if a package's
6.26 -# installation fails and the `postinst' is called with `abort-upgrade',
6.27 -# `abort-remove' or `abort-deconfigure'.
6.28 -
6.29 -PACKAGE=python2.4-parallel-pprocess
6.30 -VERSION=2.4
6.31 -LIB="/usr/lib/python$VERSION"
6.32 -
6.33 -case "$1" in
6.34 - configure|abort-upgrade|abort-remove|abort-deconfigure)
6.35 - /usr/bin/python$VERSION -O -c "import pprocess"
6.36 - /usr/bin/python$VERSION -c "import pprocess"
6.37 - ;;
6.38 -
6.39 - *)
6.40 - echo "postinst called with unknown argument \`$1'" >&2
6.41 - exit 1
6.42 - ;;
6.43 -esac
6.44 -
6.45 -
6.46 -
6.47 -exit 0
6.48 -
6.49 -
7.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/prerm Thu Jun 19 21:42:50 2008 +0200
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,24 +0,0 @@
7.4 -#! /bin/sh
7.5 -# prerm script for parallel
7.6 -
7.7 -set -e
7.8 -
7.9 -PACKAGE=python2.4-parallel-pprocess
7.10 -VERSION=2.4
7.11 -LIB="/usr/lib/python$VERSION"
7.12 -DIR="$LIB/site-packages"
7.13 -
7.14 -case "$1" in
7.15 - remove|upgrade|failed-upgrade)
7.16 - rm ${DIR}/pprocess.py[co]
7.17 - ;;
7.18 -
7.19 - *)
7.20 - echo "prerm called with unknown argument \`$1'" >&2
7.21 - exit 1
7.22 - ;;
7.23 -esac
7.24 -
7.25 -
7.26 -
7.27 -exit 0
8.1 --- a/packages/debian/python2.4-parallel-pprocess/debian/rules Thu Jun 19 21:42:50 2008 +0200
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,49 +0,0 @@
8.4 -#!/usr/bin/make -f
8.5 -# Sample debian/rules that uses debhelper.
8.6 -# GNU copyright 1997 to 1999 by Joey Hess.
8.7 -
8.8 -# Uncomment this to turn on verbose mode.
8.9 -#export DH_VERBOSE=1
8.10 -
8.11 -# This is the debhelper compatibility version to use.
8.12 -export DH_COMPAT=4
8.13 -
8.14 -
8.15 -
8.16 -build: build-stamp
8.17 - /usr/bin/python2.4 setup.py build
8.18 -build-stamp:
8.19 - touch build-stamp
8.20 -
8.21 -configure:
8.22 - # Do nothing
8.23 -
8.24 -clean:
8.25 - dh_testdir
8.26 - dh_testroot
8.27 - rm -f build-stamp
8.28 -
8.29 - -rm -rf build
8.30 -
8.31 - dh_clean
8.32 -
8.33 -install: build
8.34 - dh_testdir
8.35 - dh_testroot
8.36 - dh_clean -k
8.37 - /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-parallel-pprocess/usr
8.38 -
8.39 -# Build architecture-independent files here.
8.40 -binary-indep: install
8.41 - dh_testdir
8.42 - dh_testroot
8.43 -
8.44 - dh_installdocs
8.45 - dh_installdeb
8.46 - dh_gencontrol
8.47 - dh_md5sums
8.48 - dh_builddeb
8.49 -# We have nothing to do by default.
8.50 -
8.51 -binary: binary-indep
8.52 -.PHONY: build clean binary-indep binary install
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/changelog Fri Oct 14 13:50:11 2005 +0000
9.3 @@ -0,0 +1,11 @@
9.4 +parallel-pprocess (0.2-0ubuntu1) unstable; urgency=low
9.5 +
9.6 + * Changed the parallel module to pprocess.
9.7 +
9.8 + -- Paul Boddie <paul@boddie.org.uk> Tue, 11 Oct 2005 18:50:24 +0200
9.9 +
9.10 +parallel-module (0.1-0ubuntu1) unstable; urgency=low
9.11 +
9.12 + * New upstream release.
9.13 +
9.14 + -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Sep 2005 19:18:47 +0200
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/control Fri Oct 14 13:50:11 2005 +0000
10.3 @@ -0,0 +1,18 @@
10.4 +Source: parallel-pprocess
10.5 +Priority: optional
10.6 +Maintainer: Paul Boddie <paul@boddie.org.uk>
10.7 +Build-Depends: debhelper (>> 3.0.0), python2.4-dev
10.8 +Standards-Version: 3.5.8
10.9 +Section: python
10.10 +
10.11 +Package: python2.4-parallel-pprocess
10.12 +Section: python
10.13 +Architecture: all
10.14 +Depends: python2.4
10.15 +Description: Elementary parallel programming for Python
10.16 + The pprocess module provides elementary support for parallel
10.17 + programming in Python using a fork-based process creation model in
10.18 + conjunction with a channel-based communications model implemented
10.19 + using socketpair and poll.
10.20 + .
10.21 + This package is built for Python 2.4.x.
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/copyright Fri Oct 14 13:50:11 2005 +0000
11.3 @@ -0,0 +1,32 @@
11.4 +Package creator:
11.5 +
11.6 + Paul Boddie <paul@boddie.org.uk>
11.7 +
11.8 +The origin of the package is:
11.9 +
11.10 + http://www.python.org/pypi/parallel
11.11 +
11.12 +Package author:
11.13 +
11.14 + Paul Boddie <paul@boddie.org.uk>
11.15 +
11.16 +Copyright:
11.17 +
11.18 +Licence Agreement for parallel
11.19 +------------------------------
11.20 +
11.21 +Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
11.22 +
11.23 +This library is free software; you can redistribute it and/or
11.24 +modify it under the terms of the GNU Lesser General Public
11.25 +License as published by the Free Software Foundation; either
11.26 +version 2.1 of the License, or (at your option) any later version.
11.27 +
11.28 +This library is distributed in the hope that it will be useful,
11.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of
11.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11.31 +Lesser General Public License for more details.
11.32 +
11.33 +You should have received a copy of the GNU Lesser General Public
11.34 +License along with this library; if not, write to the Free Software
11.35 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/docs Fri Oct 14 13:50:11 2005 +0000
12.3 @@ -0,0 +1,2 @@
12.4 +README.txt
12.5 +docs
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/postinst Fri Oct 14 13:50:11 2005 +0000
13.3 @@ -0,0 +1,46 @@
13.4 +#! /bin/sh
13.5 +# postinst script for parallel
13.6 +#
13.7 +# see: dh_installdeb(1)
13.8 +
13.9 +set -e
13.10 +
13.11 +# summary of how this script can be called:
13.12 +# * <postinst> `configure' <most-recently-configured-version>
13.13 +# * <old-postinst> `abort-upgrade' <new version>
13.14 +# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
13.15 +# <new-version>
13.16 +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
13.17 +# <failed-install-package> <version> `removing'
13.18 +# <conflicting-package> <version>
13.19 +# for details, see http://www.debian.org/doc/debian-policy/ or
13.20 +# the debian-policy package
13.21 +#
13.22 +# quoting from the policy:
13.23 +# Any necessary prompting should almost always be confined to the
13.24 +# post-installation script, and should be protected with a conditional
13.25 +# so that unnecessary prompting doesn't happen if a package's
13.26 +# installation fails and the `postinst' is called with `abort-upgrade',
13.27 +# `abort-remove' or `abort-deconfigure'.
13.28 +
13.29 +PACKAGE=python2.4-parallel-pprocess
13.30 +VERSION=2.4
13.31 +LIB="/usr/lib/python$VERSION"
13.32 +
13.33 +case "$1" in
13.34 + configure|abort-upgrade|abort-remove|abort-deconfigure)
13.35 + /usr/bin/python$VERSION -O -c "import pprocess"
13.36 + /usr/bin/python$VERSION -c "import pprocess"
13.37 + ;;
13.38 +
13.39 + *)
13.40 + echo "postinst called with unknown argument \`$1'" >&2
13.41 + exit 1
13.42 + ;;
13.43 +esac
13.44 +
13.45 +
13.46 +
13.47 +exit 0
13.48 +
13.49 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/prerm Fri Oct 14 13:50:11 2005 +0000
14.3 @@ -0,0 +1,24 @@
14.4 +#! /bin/sh
14.5 +# prerm script for parallel
14.6 +
14.7 +set -e
14.8 +
14.9 +PACKAGE=python2.4-parallel-pprocess
14.10 +VERSION=2.4
14.11 +LIB="/usr/lib/python$VERSION"
14.12 +DIR="$LIB/site-packages"
14.13 +
14.14 +case "$1" in
14.15 + remove|upgrade|failed-upgrade)
14.16 + rm ${DIR}/pprocess.py[co]
14.17 + ;;
14.18 +
14.19 + *)
14.20 + echo "prerm called with unknown argument \`$1'" >&2
14.21 + exit 1
14.22 + ;;
14.23 +esac
14.24 +
14.25 +
14.26 +
14.27 +exit 0
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/rules Fri Oct 14 13:50:11 2005 +0000
15.3 @@ -0,0 +1,49 @@
15.4 +#!/usr/bin/make -f
15.5 +# Sample debian/rules that uses debhelper.
15.6 +# GNU copyright 1997 to 1999 by Joey Hess.
15.7 +
15.8 +# Uncomment this to turn on verbose mode.
15.9 +#export DH_VERBOSE=1
15.10 +
15.11 +# This is the debhelper compatibility version to use.
15.12 +export DH_COMPAT=4
15.13 +
15.14 +
15.15 +
15.16 +build: build-stamp
15.17 + /usr/bin/python2.4 setup.py build
15.18 +build-stamp:
15.19 + touch build-stamp
15.20 +
15.21 +configure:
15.22 + # Do nothing
15.23 +
15.24 +clean:
15.25 + dh_testdir
15.26 + dh_testroot
15.27 + rm -f build-stamp
15.28 +
15.29 + -rm -rf build
15.30 +
15.31 + dh_clean
15.32 +
15.33 +install: build
15.34 + dh_testdir
15.35 + dh_testroot
15.36 + dh_clean -k
15.37 + /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-parallel-pprocess/usr
15.38 +
15.39 +# Build architecture-independent files here.
15.40 +binary-indep: install
15.41 + dh_testdir
15.42 + dh_testroot
15.43 +
15.44 + dh_installdocs
15.45 + dh_installdeb
15.46 + dh_gencontrol
15.47 + dh_md5sums
15.48 + dh_builddeb
15.49 +# We have nothing to do by default.
15.50 +
15.51 +binary: binary-indep
15.52 +.PHONY: build clean binary-indep binary install