[Python-modules-commits] r13716 - in packages/utidylib/tags (8 files)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Tue Jun 29 12:53:47 UTC 2010
Date: Tuesday, June 29, 2010 @ 12:53:42
Author: nijel
Revision: 13716
[svn-buildpackage] Tagging utidylib 0.2-6
Added:
packages/utidylib/tags/0.2-6/
packages/utidylib/tags/0.2-6/debian/changelog
(from rev 13714, packages/utidylib/trunk/debian/changelog)
packages/utidylib/tags/0.2-6/debian/control
(from rev 13705, packages/utidylib/trunk/debian/control)
packages/utidylib/tags/0.2-6/debian/patches/series
(from rev 13713, packages/utidylib/trunk/debian/patches/series)
packages/utidylib/tags/0.2-6/debian/patches/unicode-strings.patch
(from rev 13715, packages/utidylib/trunk/debian/patches/unicode-strings.patch)
Deleted:
packages/utidylib/tags/0.2-6/debian/changelog
packages/utidylib/tags/0.2-6/debian/control
packages/utidylib/tags/0.2-6/debian/patches/series
Deleted: packages/utidylib/tags/0.2-6/debian/changelog
===================================================================
--- packages/utidylib/trunk/debian/changelog 2010-06-28 23:57:30 UTC (rev 13703)
+++ packages/utidylib/tags/0.2-6/debian/changelog 2010-06-29 12:53:42 UTC (rev 13716)
@@ -1,57 +0,0 @@
-utidylib (0.2-5) UNRELEASED; urgency=low
-
- * NOT RELEASED YET
- * Fix handling of pointer on 64-bit (LP: #307000).
-
- -- Michal ÄihaÅ <nijel at debian.org> Thu, 06 May 2010 13:23:02 +0200
-
-utidylib (0.2-4) unstable; urgency=low
-
- * New maintainer.
- * Remove depdency on python-ctypes (Closes: #580215).
- * Convert patch to quilt and use 3.0 source format.
- * Switch build system to dh from cdbs.
- * Bump standards to 3.8.4.
- * Add ${misc:Depends}.
- * Change section to python.
- * Add homepage control field.
- * Add Vcs-* control fields.
- * No need to ship source readme in binary package.
-
- -- Michal ÄihaÅ <nijel at debian.org> Tue, 04 May 2010 17:35:13 +0200
-
-utidylib (0.2-3.2) unstable; urgency=low
-
- * Non-maintainer upload.
- * Fixes dependency on python-ctypes (Closes: #476276).
-
- -- Michal ÄihaÅ <nijel at debian.org> Tue, 15 Apr 2008 16:42:24 +0200
-
-utidylib (0.2-3.1) unstable; urgency=low
-
- * Non-maintainer upload.
- * Update to new Python Policy (Closes: #373404).
-
- -- Pierre Habouzit <madcoder at debian.org> Thu, 29 Jun 2006 14:48:22 +0200
-
-utidylib (0.2-3) unstable; urgency=low
-
- * debian/control: changed dependency on libtidy from
- libtidy0 to libtidy-0.99-0 (Closes: #343991)
-
- -- Igor Stroh <jenner at debian.org> Mon, 26 Dec 2005 12:42:30 +0100
-
-utidylib (0.2-2) unstable; urgency=low
-
- * debian/control: added missing python-dev dependency (Closes: #325679).
- Thanks to Andreas Jochens.
-
- -- Igor Stroh <jenner at debian.org> Tue, 30 Aug 2005 10:27:34 +0200
-
-utidylib (0.2-1) unstable; urgency=low
-
- * Initial release (Closes: #244110)
- * Thanks to Chad Walstrom for providing the original CDBS-based
- packaging infrastructure
-
- -- Igor Stroh <jenner at debian.org> Sun, 21 Aug 2005 10:18:04 +0200
Copied: packages/utidylib/tags/0.2-6/debian/changelog (from rev 13714, packages/utidylib/trunk/debian/changelog)
===================================================================
--- packages/utidylib/tags/0.2-6/debian/changelog (rev 0)
+++ packages/utidylib/tags/0.2-6/debian/changelog 2010-06-29 12:53:42 UTC (rev 13716)
@@ -0,0 +1,64 @@
+utidylib (0.2-6) unstable; urgency=low
+
+ * Add support for handling unicode strings (Closes: #339818).
+
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 29 Jun 2010 14:47:17 +0200
+
+utidylib (0.2-5) unstable; urgency=low
+
+ * Fix handling of pointer on 64-bit (LP: #307000).
+ * Replace Conflicts with Breaks for older package versions.
+ * Bump standards to 3.9.0.
+
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 29 Jun 2010 10:42:50 +0200
+
+utidylib (0.2-4) unstable; urgency=low
+
+ * New maintainer.
+ * Remove depdency on python-ctypes (Closes: #580215).
+ * Convert patch to quilt and use 3.0 source format.
+ * Switch build system to dh from cdbs.
+ * Bump standards to 3.8.4.
+ * Add ${misc:Depends}.
+ * Change section to python.
+ * Add homepage control field.
+ * Add Vcs-* control fields.
+ * No need to ship source readme in binary package.
+
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 04 May 2010 17:35:13 +0200
+
+utidylib (0.2-3.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes dependency on python-ctypes (Closes: #476276).
+
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 15 Apr 2008 16:42:24 +0200
+
+utidylib (0.2-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update to new Python Policy (Closes: #373404).
+
+ -- Pierre Habouzit <madcoder at debian.org> Thu, 29 Jun 2006 14:48:22 +0200
+
+utidylib (0.2-3) unstable; urgency=low
+
+ * debian/control: changed dependency on libtidy from
+ libtidy0 to libtidy-0.99-0 (Closes: #343991)
+
+ -- Igor Stroh <jenner at debian.org> Mon, 26 Dec 2005 12:42:30 +0100
+
+utidylib (0.2-2) unstable; urgency=low
+
+ * debian/control: added missing python-dev dependency (Closes: #325679).
+ Thanks to Andreas Jochens.
+
+ -- Igor Stroh <jenner at debian.org> Tue, 30 Aug 2005 10:27:34 +0200
+
+utidylib (0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #244110)
+ * Thanks to Chad Walstrom for providing the original CDBS-based
+ packaging infrastructure
+
+ -- Igor Stroh <jenner at debian.org> Sun, 21 Aug 2005 10:18:04 +0200
Deleted: packages/utidylib/tags/0.2-6/debian/control
===================================================================
--- packages/utidylib/trunk/debian/control 2010-06-28 23:57:30 UTC (rev 13703)
+++ packages/utidylib/tags/0.2-6/debian/control 2010-06-29 12:53:42 UTC (rev 13716)
@@ -1,33 +0,0 @@
-Source: utidylib
-Section: python
-Priority: optional
-Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Michal ÄihaÅ <nijel at debian.org>
-Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: python, python-support (>= 0.5.3)
-Standards-Version: 3.8.4
-Homepage: http://utidylib.berlios.de/
-Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/utidylib/trunk
-Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/utidylib/trunk/
-
-Package: python-utidylib
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5), libtidy-0.99-0 (>= 20051018)
-Provides: ${python:Provides}
-Replaces: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
-Conflicts: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
-XB-Python-Version: ${python:Versions}
-Description: Python wrapper for TidyLib
- Corrects markup in a way compliant with the latest standards, and
- optimal for the popular browsers. It has a comprehensive knowledge
- of the attributes defined in the HTML 4.0 recommendation from W3C,
- and understands the US ASCII, ISO Latin-1, UTF-8 and the ISO 2022
- family of 7-bit encodings. In the output:
- .
- * HTML entity names for characters are used when appropriate.
- * Missing attribute quotes are added, and mismatched quotes found.
- * Tags lacking a terminating '>' are spotted.
- * Proprietary elements are recognized and reported as such.
- * The page is reformatted, from a choice of indentation styles.
- .
- This package contains uTidylib, a Python wrapper for TidyLib.
Copied: packages/utidylib/tags/0.2-6/debian/control (from rev 13705, packages/utidylib/trunk/debian/control)
===================================================================
--- packages/utidylib/tags/0.2-6/debian/control (rev 0)
+++ packages/utidylib/tags/0.2-6/debian/control 2010-06-29 12:53:42 UTC (rev 13716)
@@ -0,0 +1,33 @@
+Source: utidylib
+Section: python
+Priority: optional
+Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Uploaders: Michal ÄihaÅ <nijel at debian.org>
+Build-Depends: debhelper (>= 7.0.50)
+Build-Depends-Indep: python, python-support (>= 0.5.3)
+Standards-Version: 3.9.0
+Homepage: http://utidylib.berlios.de/
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/utidylib/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/utidylib/trunk/
+
+Package: python-utidylib
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5), libtidy-0.99-0 (>= 20051018)
+Provides: ${python:Provides}
+Replaces: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
+Breaks: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
+XB-Python-Version: ${python:Versions}
+Description: Python wrapper for TidyLib
+ Corrects markup in a way compliant with the latest standards, and
+ optimal for the popular browsers. It has a comprehensive knowledge
+ of the attributes defined in the HTML 4.0 recommendation from W3C,
+ and understands the US ASCII, ISO Latin-1, UTF-8 and the ISO 2022
+ family of 7-bit encodings. In the output:
+ .
+ * HTML entity names for characters are used when appropriate.
+ * Missing attribute quotes are added, and mismatched quotes found.
+ * Tags lacking a terminating '>' are spotted.
+ * Proprietary elements are recognized and reported as such.
+ * The page is reformatted, from a choice of indentation styles.
+ .
+ This package contains uTidylib, a Python wrapper for TidyLib.
Deleted: packages/utidylib/tags/0.2-6/debian/patches/series
===================================================================
--- packages/utidylib/trunk/debian/patches/series 2010-06-28 23:57:30 UTC (rev 13703)
+++ packages/utidylib/tags/0.2-6/debian/patches/series 2010-06-29 12:53:42 UTC (rev 13716)
@@ -1,2 +0,0 @@
-fix_libtidy_import.patch
-fix-pointer-size.patch
Copied: packages/utidylib/tags/0.2-6/debian/patches/series (from rev 13713, packages/utidylib/trunk/debian/patches/series)
===================================================================
--- packages/utidylib/tags/0.2-6/debian/patches/series (rev 0)
+++ packages/utidylib/tags/0.2-6/debian/patches/series 2010-06-29 12:53:42 UTC (rev 13716)
@@ -0,0 +1,3 @@
+unicode-strings.patch
+fix_libtidy_import.patch
+fix-pointer-size.patch
Copied: packages/utidylib/tags/0.2-6/debian/patches/unicode-strings.patch (from rev 13715, packages/utidylib/trunk/debian/patches/unicode-strings.patch)
===================================================================
--- packages/utidylib/tags/0.2-6/debian/patches/unicode-strings.patch (rev 0)
+++ packages/utidylib/tags/0.2-6/debian/patches/unicode-strings.patch 2010-06-29 12:53:42 UTC (rev 13716)
@@ -0,0 +1,20 @@
+From: Michal ÄihaÅ <nijel at debian.org>
+Subject: Fix handling of unicode strings
+Forwarded: https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3011&group_id=1810
+
+--- a/tidy/lib.py
++++ b/tidy/lib.py
+@@ -204,6 +204,13 @@
+ @param st: the string to parse
+ @return: a document object
+ """
++ if type(st) == unicode:
++ try:
++ enc = kwargs['char_encoding']
++ except KeyError:
++ enc = 'utf8'
++ kwargs['char_encoding'] = enc
++ st = st.encode(enc)
+ doc = self._create(**kwargs)
+ self.loadString(doc, st)
+ return doc
More information about the Python-modules-commits
mailing list