source: trunk/dports/python/py-html5lib/Portfile

Last change on this file was 153851, checked in by mf2k@…, 11 months ago

py-beautifulsoup py-beautifulsoup4 py-flup py-html5lib py-pybtex py-pyrex py-soaplib py-vobject py-yaml: Ports abandoned. (#52195)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 153851 2016-10-13 16:31:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-html5lib
8license             MIT
9version             1.0b3
10revision            1
11categories-append   textproc devel
12platforms           darwin
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         Library for working with HTML documents
17long_description    A Python implementation of a HTML parser based on the \
18                    WHATWG HTML5 specification for maximum compatibility \
19                    with major desktop web browsers.
20
21homepage            http://github.com/html5lib/html5lib-python/
22master_sites        https://github.com/html5lib/html5lib-python/archive
23distname            html5lib-python-${version}
24distfiles           ${version}.tar.gz
25checksums           rmd160  4f916b9a4a6aafe91de48d5fc9075245408874b2 \
26                    sha256  689b80f7cccfa226728ddb99346414c10e8e9a92278360788b8b7d87368455e1
27
28python.versions     26 27 33 34 35
29
30livecheck.type      regex
31livecheck.url       https://github.com/html5lib/html5lib-python/tags/
32livecheck.regex     "(\\d+(?:\\.\\d)*\[.a-z0-9\]*).tar.gz"
33
34if {${name} ne ${subport}} {
35    depends_build         port:py${python.version}-setuptools
36    depends_lib           port:py${python.version}-six
37
38    post-destroot   {
39        set docdir ${prefix}/share/doc/${subport}
40        xinstall -d ${destroot}${docdir}
41        xinstall -m 644 -W ${worksrcpath} \
42            AUTHORS.rst \
43            CHANGES.rst \
44            CONTRIBUTING.rst \
45            LICENSE \
46            README.rst \
47            ${destroot}${docdir}
48    }
49}
Note: See TracBrowser for help on using the repository browser.