1.1 --- a/README.txt Thu Oct 13 17:56:06 2005 +0000
1.2 +++ b/README.txt Fri Oct 14 13:47:44 2005 +0000
1.3 @@ -121,13 +121,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-libxml2dom/debian/
1.16 + ln -s packages/ubuntu-hoary/python2.4-libxml2dom/debian/
1.17
1.18 3. Run the package builder:
1.19
2.1 --- a/packages/debian/python2.4-libxml2dom/debian/changelog Thu Oct 13 17:56:06 2005 +0000
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,5 +0,0 @@
2.4 -libxml2dom (0.2.1-0ubuntu1) unstable; urgency=low
2.5 -
2.6 - * New upstream release.
2.7 -
2.8 - -- Paul Boddie <paul@boddie.org.uk> Mon, 15 Aug 2005 19:25:28 +0200
3.1 --- a/packages/debian/python2.4-libxml2dom/debian/control Thu Oct 13 17:56:06 2005 +0000
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,18 +0,0 @@
3.4 -Source: libxml2dom
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-libxml2dom
3.12 -Section: python
3.13 -Architecture: all
3.14 -Depends: python2.4-libxml2 (>= 2.6.17), python2.4
3.15 -Description: PyXML-style API for the libxml2 Python bindings
3.16 - The libxml2dom package provides a traditional DOM wrapper around the Python
3.17 - bindings for libxml2. In contrast to the libxml2 bindings, libxml2dom provides
3.18 - an API reminiscent of minidom, pxdom and other Python-based and Python-related
3.19 - XML toolkits.
3.20 - .
3.21 - This package is built for Python 2.4.x.
4.1 --- a/packages/debian/python2.4-libxml2dom/debian/copyright Thu Oct 13 17:56:06 2005 +0000
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,37 +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.boddie.org.uk/python/libxml2dom.html
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 - Copyright (C) 2003, 2004, 2005 Paul Boddie <paul@boddie.org.uk>.
4.19 - All Rights Reserved.
4.20 -
4.21 -Permission is hereby granted, free of charge, to any person obtaining a copy
4.22 -of this software and associated documentation files (the "Software"), to deal
4.23 -in the Software without restriction, including without limitation the rights
4.24 -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4.25 -copies of the Software, and to permit persons to whom the Software is
4.26 -furnished to do so, subject to the following conditions:
4.27 -
4.28 -The above copyright notice and this permission notice shall be included in
4.29 -all copies or substantial portions of the Software.
4.30 -
4.31 -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4.32 -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4.33 -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PAUL
4.34 -BODDIE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
4.35 -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
4.36 -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4.37 -
4.38 -Except as contained in this notice, the name of Paul Boddie shall not be used
4.39 -in advertising or otherwise to promote the sale, use or other dealings in
4.40 -this Software without prior written authorization from him.
5.1 --- a/packages/debian/python2.4-libxml2dom/debian/docs Thu Oct 13 17:56:06 2005 +0000
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-libxml2dom/debian/postinst Thu Oct 13 17:56:06 2005 +0000
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,49 +0,0 @@
6.4 -#! /bin/sh
6.5 -# postinst script for libxml2dom
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-libxml2dom
6.30 -VERSION=2.4
6.31 -LIB="/usr/lib/python$VERSION"
6.32 -DIRLIST="$LIB/site-packages/libxml2dom"
6.33 -
6.34 -case "$1" in
6.35 - configure|abort-upgrade|abort-remove|abort-deconfigure)
6.36 - for i in $DIRLIST ; do
6.37 - /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
6.38 - /usr/bin/python$VERSION $LIB/compileall.py -q $i
6.39 - done
6.40 - ;;
6.41 -
6.42 - *)
6.43 - echo "postinst called with unknown argument \`$1'" >&2
6.44 - exit 1
6.45 - ;;
6.46 -esac
6.47 -
6.48 -
6.49 -
6.50 -exit 0
6.51 -
6.52 -
7.1 --- a/packages/debian/python2.4-libxml2dom/debian/prerm Thu Oct 13 17:56:06 2005 +0000
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,26 +0,0 @@
7.4 -#! /bin/sh
7.5 -# prerm script for libxml2dom
7.6 -
7.7 -set -e
7.8 -
7.9 -PACKAGE=python2.4-libxml2dom
7.10 -VERSION=2.4
7.11 -LIB="/usr/lib/python$VERSION"
7.12 -DIRLIST="$LIB/site-packages/libxml2dom"
7.13 -
7.14 -case "$1" in
7.15 - remove|upgrade|failed-upgrade)
7.16 - for i in $DIRLIST ; do
7.17 - find $i -name '*.py[co]' -exec rm \{\} \;
7.18 - done
7.19 - ;;
7.20 -
7.21 - *)
7.22 - echo "prerm called with unknown argument \`$1'" >&2
7.23 - exit 1
7.24 - ;;
7.25 -esac
7.26 -
7.27 -
7.28 -
7.29 -exit 0
8.1 --- a/packages/debian/python2.4-libxml2dom/debian/rules Thu Oct 13 17:56:06 2005 +0000
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-libxml2dom/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-libxml2dom/debian/changelog Fri Oct 14 13:47:44 2005 +0000
9.3 @@ -0,0 +1,5 @@
9.4 +libxml2dom (0.2.1-0ubuntu1) unstable; urgency=low
9.5 +
9.6 + * New upstream release.
9.7 +
9.8 + -- Paul Boddie <paul@boddie.org.uk> Mon, 15 Aug 2005 19:25:28 +0200
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/control Fri Oct 14 13:47:44 2005 +0000
10.3 @@ -0,0 +1,18 @@
10.4 +Source: libxml2dom
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-libxml2dom
10.12 +Section: python
10.13 +Architecture: all
10.14 +Depends: python2.4-libxml2 (>= 2.6.17), python2.4
10.15 +Description: PyXML-style API for the libxml2 Python bindings
10.16 + The libxml2dom package provides a traditional DOM wrapper around the Python
10.17 + bindings for libxml2. In contrast to the libxml2 bindings, libxml2dom provides
10.18 + an API reminiscent of minidom, pxdom and other Python-based and Python-related
10.19 + XML toolkits.
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-libxml2dom/debian/copyright Fri Oct 14 13:47:44 2005 +0000
11.3 @@ -0,0 +1,37 @@
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.boddie.org.uk/python/libxml2dom.html
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 + Copyright (C) 2003, 2004, 2005 Paul Boddie <paul@boddie.org.uk>.
11.19 + All Rights Reserved.
11.20 +
11.21 +Permission is hereby granted, free of charge, to any person obtaining a copy
11.22 +of this software and associated documentation files (the "Software"), to deal
11.23 +in the Software without restriction, including without limitation the rights
11.24 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11.25 +copies of the Software, and to permit persons to whom the Software is
11.26 +furnished to do so, subject to the following conditions:
11.27 +
11.28 +The above copyright notice and this permission notice shall be included in
11.29 +all copies or substantial portions of the Software.
11.30 +
11.31 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11.32 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11.33 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PAUL
11.34 +BODDIE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
11.35 +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
11.36 +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11.37 +
11.38 +Except as contained in this notice, the name of Paul Boddie shall not be used
11.39 +in advertising or otherwise to promote the sale, use or other dealings in
11.40 +this Software without prior written authorization from him.
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/docs Fri Oct 14 13:47:44 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-libxml2dom/debian/postinst Fri Oct 14 13:47:44 2005 +0000
13.3 @@ -0,0 +1,49 @@
13.4 +#! /bin/sh
13.5 +# postinst script for libxml2dom
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-libxml2dom
13.30 +VERSION=2.4
13.31 +LIB="/usr/lib/python$VERSION"
13.32 +DIRLIST="$LIB/site-packages/libxml2dom"
13.33 +
13.34 +case "$1" in
13.35 + configure|abort-upgrade|abort-remove|abort-deconfigure)
13.36 + for i in $DIRLIST ; do
13.37 + /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
13.38 + /usr/bin/python$VERSION $LIB/compileall.py -q $i
13.39 + done
13.40 + ;;
13.41 +
13.42 + *)
13.43 + echo "postinst called with unknown argument \`$1'" >&2
13.44 + exit 1
13.45 + ;;
13.46 +esac
13.47 +
13.48 +
13.49 +
13.50 +exit 0
13.51 +
13.52 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/prerm Fri Oct 14 13:47:44 2005 +0000
14.3 @@ -0,0 +1,26 @@
14.4 +#! /bin/sh
14.5 +# prerm script for libxml2dom
14.6 +
14.7 +set -e
14.8 +
14.9 +PACKAGE=python2.4-libxml2dom
14.10 +VERSION=2.4
14.11 +LIB="/usr/lib/python$VERSION"
14.12 +DIRLIST="$LIB/site-packages/libxml2dom"
14.13 +
14.14 +case "$1" in
14.15 + remove|upgrade|failed-upgrade)
14.16 + for i in $DIRLIST ; do
14.17 + find $i -name '*.py[co]' -exec rm \{\} \;
14.18 + done
14.19 + ;;
14.20 +
14.21 + *)
14.22 + echo "prerm called with unknown argument \`$1'" >&2
14.23 + exit 1
14.24 + ;;
14.25 +esac
14.26 +
14.27 +
14.28 +
14.29 +exit 0
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/rules Fri Oct 14 13:47:44 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-libxml2dom/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