# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-ruledispatch
version             0.5a0.dev-r2306
categories-append   devel
platforms           darwin
license             {PSF ZPL}
maintainers         nomaintainer

description         Rule-based Dispatching and Generic Functions
long_description    Rule-based Dispatching and Generic Functions
homepage            http://www.turbogears.org/

master_sites
distname            RuleDispatch-${version}
checksums           md5     fc716f2e2d6247fb8e3b50f0e6476bcd \
                    sha1    009fe952a3d469d31a656083ef951a61efa52dd6 \
                    rmd160  e109c1df8f164993c3236af60397d61029040259
dist_subdir         python

python.versions     27

if {${name} ne ${subport}} {
    depends_lib     port:py${python.version}-pyprotocols

    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
            TODO.txt ${destroot}${prefix}/share/doc/${subport}
    }
}
