# HG changeset patch # User paulb # Date 1163372006 0 # Node ID fc04a3cf97e08b6d5af616bd18c1098af8d61499 # Parent 36f688a79f18283c77c8b1303c87bce9443c446b [project @ 2006-11-12 22:53:26 by paulb] Added Debian stable packaging details for Python 2.3. diff -r 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/changelog Sun Nov 12 22:53:26 2006 +0000 @@ -0,0 +1,98 @@ +libxml2dom (0.3.6-0ubuntu1) stable; urgency=low + + * Added cloneNode almost as a synonym for importNode + (which, unlike in the DOM specification, is present on + all nodes). + * Introduced Debian stable package details - suggested by + Robert Siemer. + + -- Paul Boddie Sun, 12 Nov 2006 23:49:57 +0100 + +libxml2dom (0.3.5-0ubuntu1) hoary; urgency=low + + * Fixed nodeType for HTML document elements - reported by + Robert Siemer. + * Fixed string results from XPath expressions - reported + by Robert Siemer. + + -- Paul Boddie Thu, 27 Jul 2006 22:37:15 +0200 + +libxml2dom (0.3.4-0ubuntu1) hoary; urgency=low + + * Attempted to introduce generated prefixes for attributes + having namespaces but whose names are unprefixed. + * Added support for xmlns attribute retrieval + (getAttributeNS) and detection (hasAttributeNS). + * Added the length attribute to NamedNodeMap; renamed the + length method on NodeList, adding a length attribute. + + -- Paul Boddie Sun, 4 Jun 2006 16:23:35 +0200 + +libxml2dom (0.3.3-0ubuntu1) hoary; urgency=low + + * Removed redundant weakref usage. + * Added explicit copyright and licensing information to + source files. + + -- Paul Boddie Mon, 12 Dec 2005 13:45:34 +0100 + +libxml2dom (0.3.2-0ubuntu1) hoary; urgency=low + + * Improved the xmlns attribute creation controls. + + -- Paul Boddie Mon, 12 Dec 2005 11:29:23 +0100 + +libxml2dom (0.3.1-0ubuntu1) hoary; urgency=low + + * Fixed empty namespace declarations on elements created + with namespaceURI set to None. Previously, such + declarations were missing. + * Fixed attribute creation and introduced stricter + controls over the construction of xmlns attributes. + + -- Paul Boddie Sun, 11 Dec 2005 18:10:12 +0100 + +libxml2dom (0.3-0ubuntu1) hoary; urgency=low + + * Imposed much stricter tests on strings used with the + libxml2dom API. Strings given as arguments to methods + and functions must now only contain ASCII characters; + any other character data must be provided as Unicode + objects. This change fixes various issues with XPath + expressions, and quite probably various other things. + * Fixed parentNode on Document objects (which caused + xml.dom.ext.PrettyPrint to crash). + * Added some support for the doctype attribute and related + information. + * libxml2dom is now licensed under the LGPL - see + docs/COPYING.txt for details. + + -- Paul Boddie Sat, 3 Dec 2005 03:33:33 +0100 + +libxml2dom (0.2.4-0ubuntu1) hoary; urgency=low + + * Fixed Unicode conversions in the Node's xpath method. + + -- Paul Boddie Wed, 16 Nov 2005 18:18:51 +0100 + +libxml2dom (0.2.3-0ubuntu1) hoary; urgency=low + + * Fixed the parse function's docstring. + * Added the owner element to obtained attribute nodes. + * Fixed the Debian package changelog distribution + identifiers. + + -- Paul Boddie Wed, 16 Nov 2005 18:18:44 +0100 + +libxml2dom (0.2.2-0ubuntu1) hoary; urgency=low + + * Fixed exception raising in parseURI, adding a docstring + to explain the current limitations around HTML parsing. + + -- Paul Boddie Tue, 18 Oct 2005 19:14:40 +0200 + +libxml2dom (0.2.1-0ubuntu1) hoary; urgency=low + + * New upstream release. + + -- Paul Boddie Mon, 15 Aug 2005 19:25:28 +0200 diff -r 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/control Sun Nov 12 22:53:26 2006 +0000 @@ -0,0 +1,18 @@ +Source: libxml2dom +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>> 3.0.0), python2.3-dev +Standards-Version: 3.5.8 +Section: python + +Package: python2.3-libxml2dom +Section: python +Architecture: all +Depends: python2.3-libxml2 (>= 2.6.16), 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.3.x. diff -r 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/copyright Sun Nov 12 22:53:26 2006 +0000 @@ -0,0 +1,29 @@ +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, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA diff -r 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/docs Sun Nov 12 22:53:26 2006 +0000 @@ -0,0 +1,2 @@ +README.txt +docs diff -r 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/postinst Sun Nov 12 22:53:26 2006 +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.3-libxml2dom +VERSION=2.3 +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 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/prerm Sun Nov 12 22:53:26 2006 +0000 @@ -0,0 +1,26 @@ +#! /bin/sh +# prerm script for libxml2dom + +set -e + +PACKAGE=python2.3-libxml2dom +VERSION=2.3 +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 36f688a79f18 -r fc04a3cf97e0 packages/debian-stable/python2.3-libxml2dom/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-stable/python2.3-libxml2dom/debian/rules Sun Nov 12 22:53:26 2006 +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.3 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.3 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.3-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