# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories-append textproc devel
description Library for working with HTML documents
long_description A Python implementation of a HTML parser based on the \
WHATWG HTML5 specification for maximum compatibility \
with major desktop web browsers.
homepage http://github.com/html5lib/html5lib-python/
master_sites https://github.com/html5lib/html5lib-python/archive
distname html5lib-python-${version}
distfiles ${version}.tar.gz
checksums rmd160 495315127ebbf71f5c959e019e35dbc9318bbcc0 \
sha256 192337c31b8a5112ca2fe2f408a7bac5ec7a351523d59663953e741c96df31c4
python.versions 26 27 33 34 35 36
livecheck.url https://github.com/html5lib/html5lib-python/tags/
livecheck.regex "(\\d+(?:\\.\\d)*\[.a-z0-9\]*).tar.gz"
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
depends_lib port:py${python.version}-six \
port:py${python.version}-webencodings
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \