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

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 106911 2013-06-11 14:40:14Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-html5lib
8license             MIT
9version             0.95
10categories-append   textproc devel
11platforms           darwin
12maintainers         lightnin openmaintainer
13supported_archs     noarch
14
15description         Library for working with HTML documents
16long_description    A Python implementation of a HTML parser based on the \
17                    WHATWG HTML5 specification for maximum compatibility \
18                    with major desktop web browsers.
19
20homepage            http://code.google.com/p/html5lib/
21master_sites        googlecode:html5lib
22distname            html5lib-${version}
23checksums           md5     fe607f9917d81763e842f818f23464ee \
24                    sha1    1645840a6dbd152c06aa513e04dfafe09a36703a \
25                    rmd160  0b5c73d39f0203e15752f11fbf8ca5218ea2b236
26
27python.versions     25 26 27 31 32
28python.default_version 27
29
30if {${subport} != ${name}} {
31    depends_lib         port:py${python.version}-setuptools
32
33    post-destroot   {
34        set docdir ${prefix}/share/doc/${subport}
35        xinstall -d ${destroot}${docdir}
36        xinstall -m 644 -W ${worksrcpath} \
37            PKG-INFO \
38            README \
39            ${destroot}${docdir}
40    }
41}
Note: See TracBrowser for help on using the repository browser.