# HG changeset patch # User paulb # Date 1129297664 0 # Node ID da9cca2bb9dc66883febb2b221a9a6db8f4e3ca0 # Parent 0376bd41edc3433d43135fa60078805bd9f879d8 [project @ 2005-10-14 13:47:40 by paulb] Renamed packages/debian to packages/ubuntu-hoary. diff -r 0376bd41edc3 -r da9cca2bb9dc README.txt --- a/README.txt Thu Oct 13 17:56:06 2005 +0000 +++ b/README.txt Fri Oct 14 13:47:44 2005 +0000 @@ -121,13 +121,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-libxml2dom/debian/ + ln -s packages/ubuntu-hoary/python2.4-libxml2dom/debian/ 3. Run the package builder: diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/changelog --- a/packages/debian/python2.4-libxml2dom/debian/changelog Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -libxml2dom (0.2.1-0ubuntu1) unstable; urgency=low - - * New upstream release. - - -- Paul Boddie Mon, 15 Aug 2005 19:25:28 +0200 diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/control --- a/packages/debian/python2.4-libxml2dom/debian/control Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -Source: libxml2dom -Priority: optional -Maintainer: Paul Boddie -Build-Depends: debhelper (>> 3.0.0), python2.4-dev -Standards-Version: 3.5.8 -Section: python - -Package: python2.4-libxml2dom -Section: python -Architecture: all -Depends: python2.4-libxml2 (>= 2.6.17), python2.4 -Description: PyXML-style API for the libxml2 Python bindings - The libxml2dom package provides a traditional DOM wrapper around the Python - bindings for libxml2. In contrast to the libxml2 bindings, libxml2dom provides - an API reminiscent of minidom, pxdom and other Python-based and Python-related - XML toolkits. - . - This package is built for Python 2.4.x. diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/copyright --- a/packages/debian/python2.4-libxml2dom/debian/copyright Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -Package creator: - - Paul Boddie - -The origin of the package is: - - http://www.boddie.org.uk/python/libxml2dom.html - -Package author: - - Paul Boddie - -Copyright: - - Copyright (C) 2003, 2004, 2005 Paul Boddie . - All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PAUL -BODDIE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of Paul Boddie shall not be used -in advertising or otherwise to promote the sale, use or other dealings in -this Software without prior written authorization from him. diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/docs --- a/packages/debian/python2.4-libxml2dom/debian/docs Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -README.txt -docs diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/postinst --- a/packages/debian/python2.4-libxml2dom/debian/postinst Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -#! /bin/sh -# postinst script for libxml2dom -# -# 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-libxml2dom -VERSION=2.4 -LIB="/usr/lib/python$VERSION" -DIRLIST="$LIB/site-packages/libxml2dom" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - for i in $DIRLIST ; do - /usr/bin/python$VERSION -O $LIB/compileall.py -q $i - /usr/bin/python$VERSION $LIB/compileall.py -q $i - done - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 - - diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/prerm --- a/packages/debian/python2.4-libxml2dom/debian/prerm Thu Oct 13 17:56:06 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#! /bin/sh -# prerm script for libxml2dom - -set -e - -PACKAGE=python2.4-libxml2dom -VERSION=2.4 -LIB="/usr/lib/python$VERSION" -DIRLIST="$LIB/site-packages/libxml2dom" - -case "$1" in - remove|upgrade|failed-upgrade) - for i in $DIRLIST ; do - find $i -name '*.py[co]' -exec rm \{\} \; - done - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 diff -r 0376bd41edc3 -r da9cca2bb9dc packages/debian/python2.4-libxml2dom/debian/rules --- a/packages/debian/python2.4-libxml2dom/debian/rules Thu Oct 13 17:56:06 2005 +0000 +++ /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-libxml2dom/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 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/changelog Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,5 @@ +libxml2dom (0.2.1-0ubuntu1) unstable; urgency=low + + * New upstream release. + + -- Paul Boddie Mon, 15 Aug 2005 19:25:28 +0200 diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/control Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,18 @@ +Source: libxml2dom +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>> 3.0.0), python2.4-dev +Standards-Version: 3.5.8 +Section: python + +Package: python2.4-libxml2dom +Section: python +Architecture: all +Depends: python2.4-libxml2 (>= 2.6.17), python2.4 +Description: PyXML-style API for the libxml2 Python bindings + The libxml2dom package provides a traditional DOM wrapper around the Python + bindings for libxml2. In contrast to the libxml2 bindings, libxml2dom provides + an API reminiscent of minidom, pxdom and other Python-based and Python-related + XML toolkits. + . + This package is built for Python 2.4.x. diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/copyright Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,37 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.boddie.org.uk/python/libxml2dom.html + +Package author: + + Paul Boddie + +Copyright: + + Copyright (C) 2003, 2004, 2005 Paul Boddie . + All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PAUL +BODDIE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of Paul Boddie shall not be used +in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from him. diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/docs Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,2 @@ +README.txt +docs diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/postinst Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,49 @@ +#! /bin/sh +# postinst script for libxml2dom +# +# 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-libxml2dom +VERSION=2.4 +LIB="/usr/lib/python$VERSION" +DIRLIST="$LIB/site-packages/libxml2dom" + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + for i in $DIRLIST ; do + /usr/bin/python$VERSION -O $LIB/compileall.py -q $i + /usr/bin/python$VERSION $LIB/compileall.py -q $i + done + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 + + diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/prerm Fri Oct 14 13:47:44 2005 +0000 @@ -0,0 +1,26 @@ +#! /bin/sh +# prerm script for libxml2dom + +set -e + +PACKAGE=python2.4-libxml2dom +VERSION=2.4 +LIB="/usr/lib/python$VERSION" +DIRLIST="$LIB/site-packages/libxml2dom" + +case "$1" in + remove|upgrade|failed-upgrade) + for i in $DIRLIST ; do + find $i -name '*.py[co]' -exec rm \{\} \; + done + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 diff -r 0376bd41edc3 -r da9cca2bb9dc packages/ubuntu-hoary/python2.4-libxml2dom/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/rules Fri Oct 14 13:47:44 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-libxml2dom/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