pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-html2text Update to 2.29. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ccca5064648
branches:  trunk
changeset: 538770:7ccca5064648
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Feb 19 10:31:53 2008 +0000

description:
Update to 2.29. From the changelog:

* fix degenerate sites (cough 9rules) that don't close head tags
* fix crash when feedparser wasn't available (tx Johann Burkard)

diffstat:

 textproc/py-html2text/Makefile         |   4 ++--
 textproc/py-html2text/distinfo         |  10 +++++-----
 textproc/py-html2text/patches/patch-aa |   8 ++++----
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (58 lines):

diff -r 1f2712113496 -r 7ccca5064648 textproc/py-html2text/Makefile
--- a/textproc/py-html2text/Makefile    Tue Feb 19 10:28:12 2008 +0000
+++ b/textproc/py-html2text/Makefile    Tue Feb 19 10:31:53 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2007/06/08 11:39:02 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/02/19 10:31:53 schmonz Exp $
 #
 
-DISTNAME=              html2text-2.28
+DISTNAME=              html2text-2.29
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=            textproc python
 MASTER_SITES=          ${HOMEPAGE}
diff -r 1f2712113496 -r 7ccca5064648 textproc/py-html2text/distinfo
--- a/textproc/py-html2text/distinfo    Tue Feb 19 10:28:12 2008 +0000
+++ b/textproc/py-html2text/distinfo    Tue Feb 19 10:31:53 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/06/08 11:39:02 wiz Exp $
+$NetBSD: distinfo,v 1.6 2008/02/19 10:31:53 schmonz Exp $
 
-SHA1 (html2text-2.28.py) = 349675fcc80658089861189f02bf44cfe5215e43
-RMD160 (html2text-2.28.py) = e6d09506e9a532e98b1cd9205a72b73b072e4799
-Size (html2text-2.28.py) = 9936 bytes
-SHA1 (patch-aa) = eee74cc6651c6c329bbae59c5340eceddb938138
+SHA1 (html2text-2.29.py) = 778b66d2c5a6df80e609590402add947ab2cdea3
+RMD160 (html2text-2.29.py) = ce9b7b017570da496fc042ad57e70ab184d51ba0
+Size (html2text-2.29.py) = 10031 bytes
+SHA1 (patch-aa) = 41781f6a893ef6d883c65110928e2b072102924a
diff -r 1f2712113496 -r 7ccca5064648 textproc/py-html2text/patches/patch-aa
--- a/textproc/py-html2text/patches/patch-aa    Tue Feb 19 10:28:12 2008 +0000
+++ b/textproc/py-html2text/patches/patch-aa    Tue Feb 19 10:31:53 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2007/06/08 11:39:02 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2008/02/19 10:31:54 schmonz Exp $
 
---- html2text.py.orig  2007-01-18 19:06:49.000000000 -0500
+--- html2text.py.orig  2008-02-13 16:24:14.000000000 -0500
 +++ html2text.py
 @@ -150,7 +150,7 @@ class _html2text(sgmllib.SGMLParser):
                self.lastWasNL = 0
@@ -11,7 +11,7 @@
                self.outtext += s
        
        def close(self):
-@@ -259,6 +259,7 @@ class _html2text(sgmllib.SGMLParser):
+@@ -262,6 +262,7 @@ class _html2text(sgmllib.SGMLParser):
                        if attrs.has_key('src'):
                                attrs['href'] = attrs['src']
                                alt = attrs.get('alt', '')
@@ -19,7 +19,7 @@
                                i = self.previousIndex(attrs)
                                if i is not None:
                                        attrs = self.a[i]
-@@ -279,7 +280,7 @@ class _html2text(sgmllib.SGMLParser):
+@@ -282,7 +283,7 @@ class _html2text(sgmllib.SGMLParser):
                if tag in ["ol", "ul"]:
                        if start:
                                self.list.append({'name':tag, 'num':0})



Home | Main Index | Thread Index | Old Index