# HG changeset patch # User Paul Boddie # Date 1298831432 -3600 # Node ID 241561d1d7c407e8ad6f5670a5f5cafcb1f44dd5 # Parent bfddd75ff452439010558588d0c7690458666bd7 Fixed copyright files. Added Ubuntu Hardy packaging files. diff -r bfddd75ff452 -r 241561d1d7c4 packages/debian-etch/python-libxml2dom/debian/copyright --- a/packages/debian-etch/python-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/debian-etch/python-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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 diff -r bfddd75ff452 -r 241561d1d7c4 packages/debian-lenny/python-libxml2dom/debian/copyright --- a/packages/debian-lenny/python-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/debian-lenny/python-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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 diff -r bfddd75ff452 -r 241561d1d7c4 packages/debian-sarge/python2.3-libxml2dom/debian/copyright --- a/packages/debian-sarge/python2.3-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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 diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-feisty/python-libxml2dom/debian/copyright --- a/packages/ubuntu-feisty/python-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/ubuntu-feisty/python-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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 diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-gutsy/python-libxml2dom/debian/copyright --- a/packages/ubuntu-gutsy/python-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/ubuntu-gutsy/python-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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 diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/changelog Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,226 @@ +libxml2dom (0.5) hardy; urgency=low + + * Fixed text node handling to work around the libxml2 + tendency to merge text nodes in its own functions. + * Changed some XML-RPC node properties in order to retain + underlying DOM properties such as data. + * Added convenience methods to the XML-RPC implementation + providing combined node creation and insertion. + Introduced similar conveniences into the SOAP + implementation. These methods are similar to those found + in the XMPP implementation. + * Enabled prettyprinting support, finally. + * Added the hasChildNodes method, requested by Nick + Galbreath. + * Fixed the Debian packaging to use python-central. + * Changed the XMPP API to only return document fragments + from receive method calls; added support for failure + elements; removed the internal timeout interval; added a + disconnect method. + + -- Paul Boddie Sun, 27 Feb 2011 19:26:21 +0100 + +libxml2dom (0.4.7-0ubuntu1) feisty; urgency=low + + * Fixed the ownerElement of attributes created by XPath + queries, and in all other situations involving the + implementation's get_node method. + * Fixed SVG matrix operations which should have involved + matrix post-multiplication. + * Replaced the getElementById implementation with one + based on libxml2's own support for finding attributes + declared as identifiers. + * Introduced support for validation, together with the + libxml2dom.errors module. Relax-NG, XML Schema and + Schematron are supported, depending on libxml2 support. + * Improved error messages related to parsing. + * Added DOMConfiguration support to documents. + + -- Paul Boddie Tue, 26 Aug 2008 00:11:32 +0200 + +libxml2dom (0.4.6-0ubuntu1) feisty; urgency=low + + * Exposed the libxml2 support for processing XInclude declarations. + + -- Paul Boddie Sat, 16 Feb 2008 21:04:04 +0100 + +libxml2dom (0.4.5-0ubuntu1) feisty; urgency=low + + * Fixed crashes when parsing empty documents. + * Fixed operations involving the standard XML_NAMESPACE + value, particularly setAttributeNS. + * Introduced deletion of conflicting attributes in + setAttributeNS. + * Added slightly nicer errors for parsing and serialising. + * Added some support for SOAP and XML-RPC message + processing. + + -- Paul Boddie Sun, 28 Oct 2007 23:41:51 +0100 + +libxml2dom (0.4.4-0ubuntu1) feisty; urgency=low + + * Relicensed under the LGPL version 3 or later (fixing + PKG-INFO file). + * Improved XMPP support for messages, presence and events. + * Added Ubuntu Feisty (7.04) package support. + + -- Paul Boddie Sun, 26 Aug 2007 23:08:33 +0200 + +libxml2dom (0.4.3-0ubuntu1) hoary; 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:55 +0200 + +libxml2dom (0.4.2-0ubuntu1) hoary; 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:55:55 +0200 + +libxml2dom (0.4.1-0ubuntu1) hoary; urgency=low + + * Fixed the absence of CDATA node creation and importing. + + -- Paul Boddie Thu, 22 Mar 2007 21:48:43 +0100 + +libxml2dom (0.4-0ubuntu1) hoary; urgency=low + + * Changed the nodeValue property to return None for + various node types, as specified in the DOM + specification (Level 3). + * Fixed various "not supported" exceptions and added tests + which can raise "wrong document" exceptions. + * Introduced an Implementation class, permitting + specialised node creation. + * Added SVG-specific document support. + * Made parseURI work for HTML documents. + * Fixed getElementsByTagName(NS), as reported by Christian + Seiler. + * Fixed previousSibling, nextSibling and parentNode + crashes using suggestions from Christian Seiler. + * Reintroduced node comparisons using suggestions from + Christian Seiler. + * Fixed the absence of the CDATA node type. + * Added the textContent property to nodes. + * Added a getDOMImplementation function. + * Added an experimental events module. + * Added an htmlencoding parameter to the parse functions, + as requested by Iliyan Peychev. + + -- Paul Boddie Sat, 17 Mar 2007 20:37:02 +0100 + +libxml2dom (0.3.6-0ubuntu1) hoary; 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:24:18 +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 bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/compat Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,1 @@ +5 diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/control Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,19 @@ +Source: libxml2dom +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.6.7), python-epydoc (>= 3.0~beta1) +XS-Python-Version: all +Standards-Version: 3.7.2.1 + +Package: python-libxml2dom +Architecture: all +Depends: ${python:Depends}, python-libxml2 (>= 2.6.31) +Conflicts: python2.4-libxml2dom (<< 0.4.4-0ubuntu1) +Replaces: python2.4-libxml2dom (<< 0.4.4-0ubuntu1) +XB-Python-Version: ${python:Versions} +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. diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,31 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.boddie.org.uk/python/libxml2dom.html + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for libxml2dom +-------------------------------- + +Copyright (C) 2003-2011 Paul Boddie + +This program 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 3 of the License, or (at your option) any +later version. + +This program 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 program. If not, see . diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/docs Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,3 @@ +README.txt +docs +apidocs diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hardy/python-libxml2dom/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hardy/python-libxml2dom/debian/rules Sun Feb 27 19:30:32 2011 +0100 @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# A debian/rules file using python-central. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +PYVERS=$(shell pyversions -vr) + +build: build-stamp + +build-stamp: $(PYVERS:%=build-python%) build-python-scripts + touch $@ + +build-python%: + python$* setup.py build_py + touch $@ + +build-python-scripts: + python setup.py build_scripts + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + rm -rf build + find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts + # Script fixing would appear here. + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +install-python%: + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-libxml2dom/usr/lib/python$*/site-packages + +install-python-scripts: + python setup.py install_scripts --install-dir $(CURDIR)/debian/python-libxml2dom/usr/bin + +# Build architecture-independent files here. + +binary-indep: install + tools/apidocs.sh + dh_testdir -i + dh_testroot -i + dh_pycentral -i + dh_installdocs -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. + +binary-arch: + # Empty rule for this package. + +binary: binary-indep binary-arch +.PHONY: build clean binary-arch binary-indep binary install diff -r bfddd75ff452 -r 241561d1d7c4 packages/ubuntu-hoary/python2.4-libxml2dom/debian/copyright --- a/packages/ubuntu-hoary/python2.4-libxml2dom/debian/copyright Sun Feb 27 19:14:53 2011 +0100 +++ b/packages/ubuntu-hoary/python2.4-libxml2dom/debian/copyright Sun Feb 27 19:30:32 2011 +0100 @@ -15,7 +15,7 @@ Licence Agreement for libxml2dom -------------------------------- -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Paul Boddie +Copyright (C) 2003-2011 Paul Boddie This program 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