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.
This commit is contained in:
parent
3452fb1309
commit
9eb08b5510
4 changed files with 54 additions and 0 deletions
3
textproc/py-html5-parser/DESCR
Normal file
3
textproc/py-html5-parser/DESCR
Normal file
|
@ -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.
|
20
textproc/py-html5-parser/Makefile
Normal file
20
textproc/py-html5-parser/Makefile
Normal file
|
@ -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"
|
25
textproc/py-html5-parser/PLIST
Normal file
25
textproc/py-html5-parser/PLIST
Normal file
|
@ -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
|
6
textproc/py-html5-parser/distinfo
Normal file
6
textproc/py-html5-parser/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue