--- elementtidy-1.0.orig/debian/README.Debian-source +++ elementtidy-1.0/debian/README.Debian-source @@ -0,0 +1,8 @@ +elementtidy-1.0 for Debian +-------------------------- + +The original source code is distributed as a ZIP archive only, which is used +to create the orig.tar.gz. + + + -- Torsten Marek , Fri, 8 Apr 2005 02:10:48 +0200 --- elementtidy-1.0.orig/debian/changelog +++ elementtidy-1.0/debian/changelog @@ -0,0 +1,108 @@ +elementtidy (1.0-8build2) disco; urgency=medium + + * No-change rebuild against libtidy5deb1 + + -- Steve Langasek Wed, 14 Nov 2018 17:57:53 +0000 + +elementtidy (1.0-8build1) yakkety; urgency=medium + + * No-change rebuild against tidy-html5 + + -- Jeremy Bicha Tue, 28 Jun 2016 15:06:40 -0400 + +elementtidy (1.0-8) unstable; urgency=low + + * Team upload + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + * Drop obsolete Conflicts/Replaces with python2.3-elementtidy and + python2.4-elementtidy. + + [ Andrey Rahmatullin ] + * Drop debian/pycompat + * Convert from dh_pysupport to dh_python2 (Closes: #786087) + - replace python-support with dh-python in Build-Depends + + -- Andrey Rahmatullin Thu, 20 Aug 2015 01:35:50 +0500 + +elementtidy (1.0-7) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Jakub Wilk ] + * Add "Depends: ${misc:Depends}". + + [ Luca Falavigna ] + * debian/control: + - Build-depend on python-all-dev (>= 2.5). + - Add XS-Python-Version field. + - Remove python-elementtree from Depends (Closes: #562458). + - Bump Standards-Version to 3.8.3. + + -- Debian Python Modules Team Sun, 10 Jan 2010 15:36:35 +0100 + +elementtidy (1.0-6) unstable; urgency=low + + [ Torsten Marek ] + * debian/control{.in} + - Updated standards version to 3.8.0, no changes necessary + + * debian/rules + - removed outdated workaround for cdbs bug + + * Rebuild against libtidy (Closes: #461629) + + [ Sandro Tosi ] + * debian/control{.in} + - fix Svn-Browser field + + -- Torsten Marek Sun, 06 Jul 2008 22:42:15 +0200 + +elementtidy (1.0-5) unstable; urgency=low + + [ Piotr Ożarowski ] + * Added Vcs-Svn, Vcs-Browser and Homepage fields + + [ Bernd Zeimetz ] + * Fixing debian/watch. Thanks to Raphael Geissert (Closes: #450296). + + [ Torsten Marek ] + * Updated debian/control.in + * Added patch to make ElementTidy work with Python 2.5 + * Converted the package to use python-support + * Changed standards version to 3.7.2.2, no changes + + -- Torsten Marek Sat, 08 Dec 2007 00:05:53 +0100 + +elementtidy (1.0-4) unstable; urgency=low + + * Updated for the new Python policy. Closes: #373419 + + -- Torsten Marek Thu, 6 Jul 2006 22:38:29 +0200 + +elementtidy (1.0-3) unstable; urgency=low + + * Bump standards version to 3.7.2 + * Depend on python-all-dev + * pythonx.y-elementtidy packages depend on python-elementtree only + + -- Torsten Marek Wed, 24 May 2006 10:47:00 +0200 + +elementtidy (1.0-2) unstable; urgency=low + + * Create patch for setup.py + * Change maintainer address to Debian Python modules team, + add myself to uploaders + * Add control.in + + -- Torsten Marek Sun, 16 Apr 2006 12:39:32 +0200 + +elementtidy (1.0-1) unstable; urgency=low + + * Initial Release (Closes: #315544) + + -- Torsten Marek Sat, 8 Apr 2006 15:33:47 +0200 + --- elementtidy-1.0.orig/debian/compat +++ elementtidy-1.0/debian/compat @@ -0,0 +1 @@ +5 --- elementtidy-1.0.orig/debian/control +++ elementtidy-1.0/debian/control @@ -0,0 +1,23 @@ +Source: elementtidy +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek +Build-Depends: cdbs (>= 0.4.49), patchutils (>= 0.2.25), debhelper (>= 5.0.37.2), python-all-dev (>= 2.6.6-3~), dh-python, libtidy-dev +Standards-Version: 3.8.3 +XS-Python-Version: >= 2.5 +Homepage: http://effbot.org/zone/element-tidylib.htm +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/elementtidy/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/elementtidy/trunk/ + +Package: python-elementtidy +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: An HTML tree builder for ElementTree based on Tidy + The ElementTidy parser can read (almost) arbitrary + HTML files, and turn them into well-formed element trees. + This parser uses a library version of Dave Raggett's + HTML Tidy utility to fix any problems with the HTML before + converting it to XHTML (the XML version of HTML). --- elementtidy-1.0.orig/debian/control.in +++ elementtidy-1.0/debian/control.in @@ -0,0 +1,25 @@ +Source: elementtidy +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek +Build-Depends: @cdbs@, libtidy-dev +Standards-Version: 3.8.3 +XS-Python-Version: >= 2.5 +Homepage: http://effbot.org/zone/element-tidylib.htm +Vcs-Svn: svn://svn.debian.org/python-modules/packages/elementtidy/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/elementtidy/trunk/?op=log + +Package: python-elementtidy +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends} +Conflicts: python2.3-elementtidy (<< 1.0-4), python2.4-elementtidy (<< 1.0-4) +Replaces: python2.3-elementtidy (<< 1.0-4), python2.4-elementtidy (<< 1.0-4) +Provides: ${python:Provides} +Description: An HTML tree builder for ElementTree based on Tidy + The ElementTidy parser can read (almost) arbitrary + HTML files, and turn them into well-formed element trees. + This parser uses a library version of Dave Raggett's + HTML Tidy utility to fix any problems with the HTML before + converting it to XHTML (the XML version of HTML). --- elementtidy-1.0.orig/debian/copyright +++ elementtidy-1.0/debian/copyright @@ -0,0 +1,96 @@ +This package was debianized by Torsten Marek on +Fri, 8 Apr 2005 02:10:48 +0200. + +It was downloaded from http://effbot.org/downloads/#elementtidy + +Copyright Holder: Frederik Lundh + +License: + + Copyright (c) 2003-2005 by Fredrik Lundh. All rights reserved. + + 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. + +The files in tidylib/ are Copyright (c) 1998-2003 World Wide Web Consortium +(Massachusetts Institute of Technology, Institut National de Recherche en +Informatique et en Automatique, Keio University). All Rights Reserved. + + Contributing Author(s): + + Dave Raggett + + The contributing author(s) would like to thank all those who + helped with testing, bug fixes, and patience. This wouldn't + have been possible without all of you. + + COPYRIGHT NOTICE: + + This software and documentation is provided "as is," and + the copyright holders and contributing author(s) make no + representations or warranties, express or implied, including + but not limited to, warranties of merchantability or fitness + for any particular purpose or that the use of the software or + documentation will not infringe any third party patents, + copyrights, trademarks or other rights. + + The copyright holders and contributing author(s) will not be + liable for any direct, indirect, special or consequential damages + arising out of any use of the software or documentation, even if + advised of the possibility of such damage. + + Permission is hereby granted to use, copy, modify, and distribute + this source code, or portions hereof, documentation and executables, + for any purpose, without fee, subject to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + 2. Altered versions must be plainly marked as such and must + not be misrepresented as being the original source. + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + The copyright holders and contributing author(s) specifically + permit, without fee, and encourage the use of this source code + as a component for supporting the Hypertext Markup Language in + commercial products. If you use this source code in a product, + acknowledgment is not required but would be appreciated. + + +The Debian packaging is (C) 2005-2006, Torsten Marek +and licensed under the GPL. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; + if not, write to the Free Software Foundation, Inc., 51 Franklin St, + Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License, version 2, can be found in /usr/share/common-licenses/GPL-2. + --- elementtidy-1.0.orig/debian/docs +++ elementtidy-1.0/debian/docs @@ -0,0 +1 @@ +README --- elementtidy-1.0.orig/debian/patches/01_setuppy.patch +++ elementtidy-1.0/debian/patches/01_setuppy.patch @@ -0,0 +1,92 @@ +Rewrite setup.py + +diff -Nur elementtidy-1.0/setup.py elementtidy-1.0.new/setup.py +--- elementtidy-1.0/setup.py 2005-04-11 14:00:40.000000000 +0200 ++++ elementtidy-1.0.new/setup.py 2006-04-15 13:08:50.000000000 +0200 +@@ -1,55 +1,31 @@ +-#!/usr/bin/env python +-# +-# Setup script for the elementtidy library +-# $Id: setup.py 2275 2005-02-03 18:20:56Z fredrik $ +-# +-# Usage: python setup.py install +-# +- +-from distutils.core import setup, Extension +- +-NAME = "elementtidy" +-VERSION = "1.0-20050212" +- +-TIDYFILES = [ +- "tidylib/src/access.c", +- "tidylib/src/alloc.c", +- "tidylib/src/attrask.c", +- "tidylib/src/attrdict.c", +- "tidylib/src/attrget.c", +- "tidylib/src/attrs.c", +- "tidylib/src/buffio.c", +- "tidylib/src/clean.c", +- "tidylib/src/config.c", +- "tidylib/src/entities.c", +- "tidylib/src/fileio.c", +- "tidylib/src/istack.c", +- "tidylib/src/lexer.c", +- "tidylib/src/localize.c", +- "tidylib/src/parser.c", +- "tidylib/src/pprint.c", +- "tidylib/src/streamio.c", +- "tidylib/src/tagask.c", +- "tidylib/src/tags.c", +- "tidylib/src/tidylib.c", +- "tidylib/src/tmbstr.c", +- "tidylib/src/utf8.c", +-] +- +-setup( +- name=NAME, +- version=VERSION, +- author="Fredrik Lundh", +- author_email="fredrik@pythonware.com", +- description="ElementTidy - a tidylib interface for ElementTree", +- url="http://effbot.org/zone/element-tidylib.htm", +- packages=["elementtidy"], +- ext_modules = [ +- Extension( +- "_elementtidy", +- ["_elementtidy.c"] + TIDYFILES, +- define_macros=[("NDEBUG", None)], +- include_dirs=["tidylib/include"], +- ) +- ] +- ) ++#!/usr/bin/env python ++# ++# Setup script for the elementtidy library ++# $Id: setup.py 2275 2005-02-03 18:20:56Z fredrik $ ++# ++# Usage: python setup.py install ++# ++ ++from distutils.core import setup, Extension ++ ++NAME = "elementtidy" ++VERSION = "1.0-20050212" ++ ++setup( ++ name=NAME, ++ version=VERSION, ++ author="Fredrik Lundh", ++ author_email="fredrik@pythonware.com", ++ description="ElementTidy - a tidylib interface for ElementTree", ++ url="http://effbot.org/zone/element-tidylib.htm", ++ packages=["elementtidy"], ++ ext_modules = [ ++ Extension( ++ "_elementtidy", ++ ["_elementtidy.c"], ++ libraries=["tidy"], ++ define_macros=[("NDEBUG", None)], ++ include_dirs=["/usr/include/tidy"] ++ ) ++ ] ++ ) --- elementtidy-1.0.orig/debian/patches/02_python25_etree.patch +++ elementtidy-1.0/debian/patches/02_python25_etree.patch @@ -0,0 +1,17 @@ +Make ElementTidy work with Python 2.5 + +diff -Naur elementtidy-1.0-20050212.orig/elementtidy/TidyHTMLTreeBuilder.py changed/elementtidy/TidyHTMLTreeBuilder.py +--- elementtidy-1.0-20050212.orig/elementtidy/TidyHTMLTreeBuilder.py 2005-04-11 14:00:41.000000000 +0200 ++++ changed/elementtidy/TidyHTMLTreeBuilder.py 2007-12-07 23:46:42.000000000 +0100 +@@ -46,7 +46,10 @@ + # users can "patch in" another implementation if they want to (such as + # cElementTree) + +-from elementtree import ElementTree ++try: ++ from elementtree import ElementTree ++except ImportError: ++ from xml.etree import ElementTree + + import _elementtidy + import string --- elementtidy-1.0.orig/debian/rules +++ elementtidy-1.0/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk --- elementtidy-1.0.orig/debian/source/format +++ elementtidy-1.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- elementtidy-1.0.orig/debian/watch +++ elementtidy-1.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/-20050212// \ +http://effbot.org/downloads /media/downloads/elementtidy-(.*).zip