summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2012-12-01 18:37:51 +0000
committeradam <adam@pkgsrc.org>2012-12-01 18:37:51 +0000
commit0cd5fb86a7c58d23d5d5c9b7e03a7f82dabb6a06 (patch)
tree9074cb6208dcb882bcb1c6403ca58a743fc3c4bf /textproc
parent2468e3dcf9952b83edd6f0fb09697dd13a81a5ee (diff)
downloadpkgsrc-0cd5fb86a7c58d23d5d5c9b7e03a7f82dabb6a06.tar.gz
Changes 0.95:
* Parses valid and invalid HTML documents to a tree * Support for minidom, ElementTree (including cElementTree and lxml.etree), BeautifulSoup (deprecated) and custom simpletree output formats * DOM to SAX converter * Reports parse errors * Character encoding detection * Filtering and serializing of trees * HTML+CSS sanitizer * Many unit tests
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-html5lib/Makefile5
-rw-r--r--textproc/py-html5lib/PLIST121
-rw-r--r--textproc/py-html5lib/distinfo8
3 files changed, 123 insertions, 11 deletions
diff --git a/textproc/py-html5lib/Makefile b/textproc/py-html5lib/Makefile
index 7a4ac9cea06..ba236807df8 100644
--- a/textproc/py-html5lib/Makefile
+++ b/textproc/py-html5lib/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2012/10/25 06:56:50 asau Exp $
+# $NetBSD: Makefile,v 1.6 2012/12/01 18:37:51 adam Exp $
-DISTNAME= html5lib-0.90
+DISTNAME= html5lib-0.95
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc www python
MASTER_SITES= http://html5lib.googlecode.com/files/
-EXTRACT_SUFX= .zip
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://code.google.com/p/html5lib/
diff --git a/textproc/py-html5lib/PLIST b/textproc/py-html5lib/PLIST
index 24296e84574..9c51851e4a1 100644
--- a/textproc/py-html5lib/PLIST
+++ b/textproc/py-html5lib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2011/04/15 08:42:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2012/12/01 18:37:51 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -54,12 +54,125 @@ ${PYSITELIB}/html5lib/serializer/htmlserializer.pyo
${PYSITELIB}/html5lib/serializer/xhtmlserializer.py
${PYSITELIB}/html5lib/serializer/xhtmlserializer.pyc
${PYSITELIB}/html5lib/serializer/xhtmlserializer.pyo
+${PYSITELIB}/html5lib/tests/__init__.py
+${PYSITELIB}/html5lib/tests/__init__.pyc
+${PYSITELIB}/html5lib/tests/__init__.pyo
+${PYSITELIB}/html5lib/tests/mockParser.py
+${PYSITELIB}/html5lib/tests/mockParser.pyc
+${PYSITELIB}/html5lib/tests/mockParser.pyo
+${PYSITELIB}/html5lib/tests/runparsertests.py
+${PYSITELIB}/html5lib/tests/runparsertests.pyc
+${PYSITELIB}/html5lib/tests/runparsertests.pyo
+${PYSITELIB}/html5lib/tests/runtests.py
+${PYSITELIB}/html5lib/tests/runtests.pyc
+${PYSITELIB}/html5lib/tests/runtests.pyo
+${PYSITELIB}/html5lib/tests/support.py
+${PYSITELIB}/html5lib/tests/support.pyc
+${PYSITELIB}/html5lib/tests/support.pyo
+${PYSITELIB}/html5lib/tests/test_encoding.py
+${PYSITELIB}/html5lib/tests/test_encoding.pyc
+${PYSITELIB}/html5lib/tests/test_encoding.pyo
+${PYSITELIB}/html5lib/tests/test_formfiller.py
+${PYSITELIB}/html5lib/tests/test_formfiller.pyc
+${PYSITELIB}/html5lib/tests/test_formfiller.pyo
+${PYSITELIB}/html5lib/tests/test_parser.py
+${PYSITELIB}/html5lib/tests/test_parser.pyc
+${PYSITELIB}/html5lib/tests/test_parser.pyo
+${PYSITELIB}/html5lib/tests/test_parser2.py
+${PYSITELIB}/html5lib/tests/test_parser2.pyc
+${PYSITELIB}/html5lib/tests/test_parser2.pyo
+${PYSITELIB}/html5lib/tests/test_sanitizer.py
+${PYSITELIB}/html5lib/tests/test_sanitizer.pyc
+${PYSITELIB}/html5lib/tests/test_sanitizer.pyo
+${PYSITELIB}/html5lib/tests/test_serializer.py
+${PYSITELIB}/html5lib/tests/test_serializer.pyc
+${PYSITELIB}/html5lib/tests/test_serializer.pyo
+${PYSITELIB}/html5lib/tests/test_stream.py
+${PYSITELIB}/html5lib/tests/test_stream.pyc
+${PYSITELIB}/html5lib/tests/test_stream.pyo
+${PYSITELIB}/html5lib/tests/test_tokenizer.py
+${PYSITELIB}/html5lib/tests/test_tokenizer.pyc
+${PYSITELIB}/html5lib/tests/test_tokenizer.pyo
+${PYSITELIB}/html5lib/tests/test_treewalkers.py
+${PYSITELIB}/html5lib/tests/test_treewalkers.pyc
+${PYSITELIB}/html5lib/tests/test_treewalkers.pyo
+${PYSITELIB}/html5lib/tests/test_whitespace_filter.py
+${PYSITELIB}/html5lib/tests/test_whitespace_filter.pyc
+${PYSITELIB}/html5lib/tests/test_whitespace_filter.pyo
+${PYSITELIB}/html5lib/tests/testdata/encoding/test-yahoo-jp.dat
+${PYSITELIB}/html5lib/tests/testdata/encoding/tests1.dat
+${PYSITELIB}/html5lib/tests/testdata/encoding/tests2.dat
+${PYSITELIB}/html5lib/tests/testdata/sanitizer/tests1.dat
+${PYSITELIB}/html5lib/tests/testdata/serializer/core.test
+${PYSITELIB}/html5lib/tests/testdata/serializer/injectmeta.test
+${PYSITELIB}/html5lib/tests/testdata/serializer/optionaltags.test
+${PYSITELIB}/html5lib/tests/testdata/serializer/options.test
+${PYSITELIB}/html5lib/tests/testdata/serializer/whitespace.test
+${PYSITELIB}/html5lib/tests/testdata/sniffer/htmlOrFeed.json
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/contentModelFlags.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/domjs.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/entities.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/escapeFlag.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/namedEntities.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/numericEntities.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/pendingSpecChanges.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/test1.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/test2.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/test3.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/test4.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/unicodeChars.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/unicodeCharsProblematic.test
+${PYSITELIB}/html5lib/tests/testdata/tokenizer/xmlViolation.test
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/adoption01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/adoption02.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/comments01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/doctype01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/domjs-unsafe.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/entities01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/entities02.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/html5test-com.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/inbody01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/isindex.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/pending-spec-changes-plain-text-unsafe.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/pending-spec-changes.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/plain-text-unsafe.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/scriptdata01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tables01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests1.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests10.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests11.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests12.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests14.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests15.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests16.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests17.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests18.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests19.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests2.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests20.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests21.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests22.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests23.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests24.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests25.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests26.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests3.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests4.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests5.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests6.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests7.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests8.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests9.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tests_innerHTML_1.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/tricky01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/webkit01.dat
+${PYSITELIB}/html5lib/tests/testdata/tree-construction/webkit02.dat
+${PYSITELIB}/html5lib/tests/tokenizertotree.py
+${PYSITELIB}/html5lib/tests/tokenizertotree.pyc
+${PYSITELIB}/html5lib/tests/tokenizertotree.pyo
${PYSITELIB}/html5lib/tokenizer.py
${PYSITELIB}/html5lib/tokenizer.pyc
${PYSITELIB}/html5lib/tokenizer.pyo
-${PYSITELIB}/html5lib/tokenizer_old.py
-${PYSITELIB}/html5lib/tokenizer_old.pyc
-${PYSITELIB}/html5lib/tokenizer_old.pyo
${PYSITELIB}/html5lib/treebuilders/__init__.py
${PYSITELIB}/html5lib/treebuilders/__init__.pyc
${PYSITELIB}/html5lib/treebuilders/__init__.pyo
diff --git a/textproc/py-html5lib/distinfo b/textproc/py-html5lib/distinfo
index 0419f5570e9..8cc3de4cfbe 100644
--- a/textproc/py-html5lib/distinfo
+++ b/textproc/py-html5lib/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2011/04/15 08:42:03 adam Exp $
+$NetBSD: distinfo,v 1.4 2012/12/01 18:37:51 adam Exp $
-SHA1 (html5lib-0.90.zip) = 37fdf4d853f53ebd170250f7f023f55a02659378
-RMD160 (html5lib-0.90.zip) = ba01161f3b0d6a5dfb9e1ffedaf9c18a6b7d2a19
-Size (html5lib-0.90.zip) = 99322 bytes
+SHA1 (html5lib-0.95.tar.gz) = 1645840a6dbd152c06aa513e04dfafe09a36703a
+RMD160 (html5lib-0.95.tar.gz) = 0b5c73d39f0203e15752f11fbf8ca5218ea2b236
+Size (html5lib-0.95.tar.gz) = 222614 bytes