summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-01-31 09:23:30 +0000
committerwiz <wiz@pkgsrc.org>2018-01-31 09:23:30 +0000
commitb30263af3532f5b99d62b366d87fd05ca55901f6 (patch)
treecd9eadeb1644e1922da363bd36410122229c3c0d /textproc
parentf96b5d9644ad10d227b057d4563178b635914e92 (diff)
downloadpkgsrc-b30263af3532f5b99d62b366d87fd05ca55901f6.tar.gz
textproc/py-html5-parser: import py-html5-parser-0.4.4
A fast, standards compliant, C based, HTML 5 parser for python. Over thirty times as fast as pure python based parsers, such as html5lib.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-html5-parser/DESCR3
-rw-r--r--textproc/py-html5-parser/Makefile20
-rw-r--r--textproc/py-html5-parser/PLIST25
-rw-r--r--textproc/py-html5-parser/distinfo6
4 files changed, 54 insertions, 0 deletions
diff --git a/textproc/py-html5-parser/DESCR b/textproc/py-html5-parser/DESCR
new file mode 100644
index 00000000000..d70e21f36e9
--- /dev/null
+++ b/textproc/py-html5-parser/DESCR
@@ -0,0 +1,3 @@
+A fast, standards compliant, C based, HTML 5 parser for python.
+Over thirty times as fast as pure python based parsers, such as
+html5lib.
diff --git a/textproc/py-html5-parser/Makefile b/textproc/py-html5-parser/Makefile
new file mode 100644
index 00000000000..4341396e4b4
--- /dev/null
+++ b/textproc/py-html5-parser/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/01/31 09:23:30 wiz Exp $
+
+DISTNAME= html5-parser-0.4.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/html5-parser/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/kovidgoyal/html5-parser
+COMMENT= Fast, standards-compliant, C-based HTML5 parser
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+
+USE_TOOLS+= pkg-config
+
+.include "../../lang/python/egg.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-html5-parser/PLIST b/textproc/py-html5-parser/PLIST
new file mode 100644
index 00000000000..cec02f3ff46
--- /dev/null
+++ b/textproc/py-html5-parser/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/31 09:23:30 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/html5_parser/__init__.py
+${PYSITELIB}/html5_parser/__init__.pyc
+${PYSITELIB}/html5_parser/__init__.pyo
+${PYSITELIB}/html5_parser/dom.py
+${PYSITELIB}/html5_parser/dom.pyc
+${PYSITELIB}/html5_parser/dom.pyo
+${PYSITELIB}/html5_parser/encoding_names.py
+${PYSITELIB}/html5_parser/encoding_names.pyc
+${PYSITELIB}/html5_parser/encoding_names.pyo
+${PYSITELIB}/html5_parser/encoding_parser.py
+${PYSITELIB}/html5_parser/encoding_parser.pyc
+${PYSITELIB}/html5_parser/encoding_parser.pyo
+${PYSITELIB}/html5_parser/html_parser.so
+${PYSITELIB}/html5_parser/soup.py
+${PYSITELIB}/html5_parser/soup.pyc
+${PYSITELIB}/html5_parser/soup.pyo
+${PYSITELIB}/html5_parser/stdlib_etree.py
+${PYSITELIB}/html5_parser/stdlib_etree.pyc
+${PYSITELIB}/html5_parser/stdlib_etree.pyo
diff --git a/textproc/py-html5-parser/distinfo b/textproc/py-html5-parser/distinfo
new file mode 100644
index 00000000000..0c991f5974d
--- /dev/null
+++ b/textproc/py-html5-parser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/31 09:23:30 wiz Exp $
+
+SHA1 (html5-parser-0.4.4.tar.gz) = 9579d7f2a413ae07c86f2ab058fbe97c8a51e1a8
+RMD160 (html5-parser-0.4.4.tar.gz) = 5c4ae71e70a98269dd830c4a5f9af4528512e71c
+SHA512 (html5-parser-0.4.4.tar.gz) = 3aaeb32f360d2c131ecbe11fa1dcd3dfcd62c9ca046fce7dd4ff8127d0e62216f666e83bb20c7809c6adc591e1fb2798e382e78a1cf6129b1f0a09a71377f8d4
+Size (html5-parser-0.4.4.tar.gz) = 267787 bytes