# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-html5lib license MIT version 1.0b3 revision 1 categories-append textproc devel platforms darwin maintainers nomaintainer supported_archs noarch 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 35 livecheck.type regex 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 post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS.rst \ CHANGES.rst \ CONTRIBUTING.rst \ LICENSE \ README.rst \ ${destroot}${docdir} } }