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

Last change on this file since 102584 was 102584, checked in by larryv@…, 7 years ago

python/*: Use categories-append in all {no,open}maintainer ports that use a Python portgroup.

Overriding a portgroup's default category is not necessarily incorrect, but if there isn't a good reason for it, it sets a bad example.

(See https://lists.macosforge.org/pipermail/macports-dev/2013-February/021899.html and related messages.)

  • 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 102584 2013-02-05 04:25:13Z larryv@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}-distribute
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.