pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-html5-parser textproc/py-html5-parser: imp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f693ea71fe99
branches:  trunk
changeset: 374891:f693ea71fe99
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 31 09:23:30 2018 +0000

description:
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:

 textproc/py-html5-parser/DESCR    |   3 +++
 textproc/py-html5-parser/Makefile |  20 ++++++++++++++++++++
 textproc/py-html5-parser/PLIST    |  25 +++++++++++++++++++++++++
 textproc/py-html5-parser/distinfo |   6 ++++++
 4 files changed, 54 insertions(+), 0 deletions(-)

diffs (70 lines):

diff -r 41cd4ca256aa -r f693ea71fe99 textproc/py-html5-parser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html5-parser/DESCR    Wed Jan 31 09:23:30 2018 +0000
@@ -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 -r 41cd4ca256aa -r f693ea71fe99 textproc/py-html5-parser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html5-parser/Makefile Wed Jan 31 09:23:30 2018 +0000
@@ -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@localhost
+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 -r 41cd4ca256aa -r f693ea71fe99 textproc/py-html5-parser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html5-parser/PLIST    Wed Jan 31 09:23:30 2018 +0000
@@ -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 -r 41cd4ca256aa -r f693ea71fe99 textproc/py-html5-parser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html5-parser/distinfo Wed Jan 31 09:23:30 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index