# -*- 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-decoratortools
version             1.8
revision            0
categories-append   www
platforms           darwin
supported_archs     noarch
license             {PSF ZPL}
maintainers         nomaintainer

description         Class, Function, and Assignment Decorators, Metaclasses, \
                    and Related Tools
long_description    ${description}
homepage            https://pypi.python.org/pypi/DecoratorTools

master_sites        pypi:D/DecoratorTools
distname            DecoratorTools-${version}
use_zip             yes
checksums           rmd160  c4cc286a557588ec4d45ebbbc6d848fdee107a19 \
                    sha256  da73f03a9fab80a205c8febcecee83f8a989eab8ce81affd7989210e4a3d9ea8 \
                    size    29566

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-setuptools

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

    livecheck.type  none
}
