# HG changeset patch # User paulb # Date 1180281162 0 # Node ID 670d939f99f55c27bede4ad563fa336cd22e643f # Parent 9798f5ccbb90895a8294288fe939badf3976cfc9 [project @ 2007-05-27 15:52:42 by paulb] Moved the debian-stable files into the new debian-sarge directory. Updated release notes (about packaging). diff -r 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/changelog Sun May 27 15:52:42 2007 +0000 @@ -0,0 +1,132 @@ +libxml2dom (0.4.3-0ubuntu1) stable; urgency=low + + * Enforced well-formedness in parse operations unless + otherwise requested. + * Fixed access to null doctype properties. + * Added getElementById, firstChild and lastChild to the Node class. + * Added a __hash__ method to the Node class. + * Moved document checking into the Node class. + * Added an iterator for the NamedNodeMap class. + * Expanded the svg and events modules, including a test of + SVG events. + * Split the debian-stable packages into debian-sarge and + debian-etch. + + -- Paul Boddie Sun, 27 May 2007 17:51:38 +0200 + +libxml2dom (0.4.2-0ubuntu1) stable; urgency=low + + * Added missing impl attribute to NamedNodeMap, fixing + attribute retrieval. + * Added documentElement to Document. + * Fixed and expanded the events module. + * Added lots of functionality to the svg module. + + -- Paul Boddie Sun, 25 Mar 2007 03:56:21 +0200 + +libxml2dom (0.4.1-0ubuntu1) stable; urgency=low + + * Fixed the absence of CDATA node creation and importing. + + -- Paul Boddie Thu, 22 Mar 2007 21:48:23 +0100 + +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. + * Changed libxml2mod import details to try libxmlmods - + suggested by Lucian Wischik. + + -- Paul Boddie Tue, 28 Nov 2006 23:29:45 +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 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/control Sun May 27 15:52:42 2007 +0000 @@ -0,0 +1,18 @@ +Source: libxml2dom +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>> 3.0.0), python2.3-dev, python-epydoc (>= 2.1-6ubuntu1) +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 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/copyright Sun May 27 15:52:42 2007 +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 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/docs Sun May 27 15:52:42 2007 +0000 @@ -0,0 +1,2 @@ +README.txt +docs diff -r 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/postinst Sun May 27 15:52:42 2007 +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 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/prerm Sun May 27 15:52:42 2007 +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 9798f5ccbb90 -r 670d939f99f5 packages/debian-sarge/python2.3-libxml2dom/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/rules Sun May 27 15:52:42 2007 +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