# -*- 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
maintainers lightnin openmaintainer
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 4f916b9a4a6aafe91de48d5fc9075245408874b2 \
sha256 689b80f7cccfa226728ddb99346414c10e8e9a92278360788b8b7d87368455e1
python.versions 26 27 33 34
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
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \