summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2008-02-19 10:31:53 +0000
committerschmonz <schmonz@pkgsrc.org>2008-02-19 10:31:53 +0000
commitb23ba056cf8fd73a4f26caa89e9f675b59d95c94 (patch)
tree1d7e7f61ab6db821bcbc7711c24a693362f13214 /textproc
parent2c72d1c3fcfaff65bb8684fad87b34d0cc54ef65 (diff)
downloadpkgsrc-b23ba056cf8fd73a4f26caa89e9f675b59d95c94.tar.gz
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 (limited to 'textproc')
-rw-r--r--textproc/py-html2text/Makefile4
-rw-r--r--textproc/py-html2text/distinfo10
-rw-r--r--textproc/py-html2text/patches/patch-aa8
3 files changed, 11 insertions, 11 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index a59781f3550..03bed8428fa 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -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 --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo
index 9960986ca68..d975fd04375 100644
--- a/textproc/py-html2text/distinfo
+++ b/textproc/py-html2text/distinfo
@@ -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 --git a/textproc/py-html2text/patches/patch-aa b/textproc/py-html2text/patches/patch-aa
index 883a857d3ef..e16ae1c57d0 100644
--- a/textproc/py-html2text/patches/patch-aa
+++ b/textproc/py-html2text/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.2 2007/06/08 11:39:02 wiz Exp $
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 @@ $NetBSD: patch-aa,v 1.2 2007/06/08 11:39:02 wiz Exp $
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})