--- elementtree-1.2.6.orig/debian/patches/eggify.diff +++ elementtree-1.2.6/debian/patches/eggify.diff @@ -0,0 +1,10 @@ +--- elementtree-1.2.6.old/setup.py 2006-04-18 12:25:33.000000000 +0000 ++++ elementtree-1.2.6/setup.py 2006-04-18 12:26:30.000000000 +0000 +@@ -7,6 +7,7 @@ + # + + from distutils.core import setup ++from setuptools import setup + + try: + # add download_url syntax to distutils --- elementtree-1.2.6.orig/debian/control +++ elementtree-1.2.6/debian/control @@ -0,0 +1,39 @@ +Source: elementtree +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek , Raphael Hertzog +Build-Depends-Indep: python-setuptools (>= 0.6b3-1) +Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-dev (>= 2.3.5-7), python-support (>= 0.5.3), patchutils (>= 0.2.25) +Standards-Version: 3.7.2 + +Package: python-elementtree +Architecture: all +Depends: python (>= 2.3), python-support +Provides: python2.3-elementtree, python2.4-elementtree +Replaces: python2.3-elementtree, python2.4-elementtree +Conflicts: python2.3-elementtree, python2.4-elementtree +Description: Light-weight toolkit for XML processing + ElementTree provides a simple but flexible container object, + designed to store hierarchical data structures, such as + simplified XML infosets, in memory. The element type can + be described as a hybrid between a Python list and a Python + dictionary. + . + ElementTree is included in Python 2.5, so there is no need + to install this package if you are using Python 2.5. + . + Homepage: http://effbot.org/zone/element-index.htm + +Package: python-elementtree-doc +Architecture: all +Description: Documentation for ElementTree + ElementTree provides a simple but flexible container object, + designed to store hierarchical data structures, such as + simplified XML infosets, in memory. The element type can + be described as a hybrid between a Python list and a Python + dictionary. + . + This package contains the HTML documentation for ElementTree. + . + Homepage: http://effbot.org/zone/element-index.htm --- elementtree-1.2.6.orig/debian/python-elementtree-doc.install +++ elementtree-1.2.6/debian/python-elementtree-doc.install @@ -0,0 +1 @@ +docs/* usr/share/doc/python-elementtree-doc/html --- elementtree-1.2.6.orig/debian/pyversions +++ elementtree-1.2.6/debian/pyversions @@ -0,0 +1 @@ +2.3-2.4 --- elementtree-1.2.6.orig/debian/compat +++ elementtree-1.2.6/debian/compat @@ -0,0 +1 @@ +5 --- elementtree-1.2.6.orig/debian/control.in +++ elementtree-1.2.6/debian/control.in @@ -0,0 +1,42 @@ +Source: elementtree +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek , Raphael Hertzog +Build-Depends-Indep: python-dev, python-setuptools (>= 0.6b3-1) +Build-Depends: @cdbs@ +XS-Python-Version: << 2.5 +Standards-Version: 3.6.2 + +Package: python-elementtree +Architecture: all +Depends: python (>= 2.3), python-support +Provides: python2.3-elementtree, python2.4-elementtree +Replaces: python2.3-elementtree, python2.4-elementtree +Conflicts: python2.3-elementtree, python2.4-elementtree +XB-Python-Version: ${python:Versions} +Description: Light-weight toolkit for XML processing + ElementTree provides a simple but flexible container object, + designed to store hierarchical data structures, such as + simplified XML infosets, in memory. The element type can + be described as a hybrid between a Python list and a Python + dictionary. + . + ElementTree is included in Python 2.5, so there is no need + to install this package if you are using Python 2.5. + . + Homepage: http://effbot.org/zone/element-index.htm + +Package: python-elementtree-doc +Section: doc +Architecture: all +Description: Documentation for ElementTree + ElementTree provides a simple but flexible container object, + designed to store hierarchical data structures, such as + simplified XML infosets, in memory. The element type can + be described as a hybrid between a Python list and a Python + dictionary. + . + This package contains the HTML documentation for ElementTree. + . + Homepage: http://effbot.org/zone/element-index.htm --- elementtree-1.2.6.orig/debian/watch +++ elementtree-1.2.6/debian/watch @@ -0,0 +1,7 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://effbot.org/downloads/elementtree-(.*)-.*\.tar\.gz debian uupdate + --- elementtree-1.2.6.orig/debian/changelog +++ elementtree-1.2.6/debian/changelog @@ -0,0 +1,91 @@ +elementtree (1.2.6-10ubuntu1) edgy; urgency=low + + * Relax python-support build-dep slightly to allow building on edgy. + + -- Adam Conrad Fri, 20 Oct 2006 20:37:04 +1000 + +elementtree (1.2.6-10) unstable; urgency=low + + * Rebuild to ensure .pyc get removed by python-support. Closes: #378820 + * Build-depends on recent python-support. + * Fix sections to match overrides. + + -- Raphael Hertzog Wed, 14 Jun 2006 22:39:35 +0200 + +elementtree (1.2.6-9) unstable; urgency=low + + * Switch to the new Python policy. Closes: #373420 + * Many changes to the build-depends for that. + + -- Raphael Hertzog Wed, 14 Jun 2006 21:46:24 +0200 + +elementtree (1.2.6-8) unstable; urgency=low + + * Bump standards version to 3.7.2 + * Provide .version file for python-support + * Do not install python-elementtree for Python 2.5 + + -- Torsten Marek Wed, 24 May 2006 10:28:22 +0200 + +elementtree (1.2.6-7) unstable; urgency=low + + * Switch to python-support + * Remove python2.{3,4}-elementtree + * Provide, conflict and replace python2.{3,4}-elementtree + + -- Torsten Marek Wed, 19 Apr 2006 19:52:42 +0200 + +elementtree (1.2.6-6) unstable; urgency=low + + * Add some basic "egg support" for packages which need it (and kid does). + * Add myself to Uploaders. + + -- Raphael Hertzog Tue, 18 Apr 2006 13:00:50 +0000 + +elementtree (1.2.6-5) unstable; urgency=low + + * Raise debhelper compatibility level to 5 + * Switch to cdbs + * Set maintainer to Debian Python modules team and added + myself to uploaders with new address + * Removed outdated entries in Replaces field + * Put python-elementtree-doc into doc section + + -- Torsten Marek Sun, 16 Apr 2006 12:26:23 +0200 + +elementtree (1.2.6-4) unstable; urgency=low + + * Remove Python 2.2 package (Closes: #351121) + * Update standards version to 3.6.2 + + -- Torsten Marek Fri, 17 Feb 2006 14:09:02 +0100 + +elementtree (1.2.6-3) unstable; urgency=low + + * Make python2.3-elementtree replace python-elementtree (<< 1.2.6) + + -- Torsten Marek Sat, 9 Apr 2005 02:56:47 +0200 + +elementtree (1.2.6-2) unstable; urgency=low + + * Don't install the samples/*, since they are only meaningful for + the unit tests + * Put the documentation in a separate package + * Include the README in all packages + + -- Torsten Marek Wed, 6 Apr 2005 16:04:32 +0200 + +elementtree (1.2.6-1) unstable; urgency=low + + * New upstream release + * New maintainer + * Added packages for different Python versions + + -- Torsten Marek Sun, 27 Mar 2005 13:12:38 +0200 + +python-elementtree (1.2.4-20041228-1) unstable; urgency=low + + * Initial release + + -- Ross Burton Fri, 28 Jan 2005 09:32:03 +0000 + --- elementtree-1.2.6.orig/debian/python-elementtree-doc.doc-base +++ elementtree-1.2.6/debian/python-elementtree-doc.doc-base @@ -0,0 +1,16 @@ +Document: python-elementtree +Title: ElementTree Manual +Author: Fredrik Lundh +Abstract: A light-weight toolkit for XML processing + ElementTree provides a simple but flexible container object, + designed to store hierarchical data structures, such as + simplified XML infosets, in memory. The element type can + be described as a hybrid between a Python list and a Python + dictionary. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/python-elementtree-doc/html/index.html +Files: /usr/share/doc/python-elementtree-doc/html/*.html + + --- elementtree-1.2.6.orig/debian/copyright +++ elementtree-1.2.6/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Torsten Marek on +Wed, 10 Nov 2004 19:35:21 +0100. + +It was downloaded from http://effbot.org/downloads + +Copyright: + +Upstream Author: Fredrik Lundh + +License: + +By obtaining, using, and/or copying this software and/or its +associated documentation, you agree that you have read, understood, +and will comply with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appears in all +copies, and that both that copyright notice and this permission notice +appear in supporting documentation, and that the name of Secret Labs +AB or the author not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR +ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- elementtree-1.2.6.orig/debian/rules +++ elementtree-1.2.6/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# Install egg-info directories +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed +DEB_DESTDIR=debian/python-elementtree + +UPSTREAM_VERSION=$(shell python setup.py -V 2>&1 | sed 's/\-/_/') +PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2) + +common-binary-post-install-indep:: +# where does this come from? + rm -rf debian/python-elementtree-doc/usr/share/python-support + mv debian/python-elementtree/usr/share/python-support/python-elementtree/elementtree-${UPSTREAM_VERSION}-py${PYVER}.egg-info \ + debian/python-elementtree/usr/share/python-support/python-elementtree/elementtree-${UPSTREAM_VERSION}.egg-info + +clean:: +# hack (CDBS bug -- see #300149) + -rm -rf build + +binary-predeb/python-elementtree:: + # Which .py files to byte-compile + echo "2.3-2.4" > debian/python-elementtree/usr/share/python-support/python-elementtree/.version + --- elementtree-1.2.6.orig/debian/python-elementtree-doc.dirs +++ elementtree-1.2.6/debian/python-elementtree-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/python-elementtree-doc/html --- elementtree-1.2.6.orig/debian/pycompat +++ elementtree-1.2.6/debian/pycompat @@ -0,0 +1 @@ +2