# -*- 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-overrides
version             7.7.0
revision            0
categories-append   devel
license             Apache-2
platforms           {darwin any}
supported_archs     noarch

python.versions     310 311 312 313 314

maintainers         nomaintainer

description         A decorator to automatically detect mismatch when \
                    overriding a method
long_description    {*}${description}. See \
                    http://stackoverflow.com/questions/1167617/in-python-how-do-i-indicate-im-overriding-a-method

homepage            https://github.com/mkorpela/overrides

checksums           rmd160  016cf2e0ca089aee51b50a8e428dde609ecbda53 \
                    sha256  55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a \
                    size    22812

if {${name} ne ${subport}} {
    test.run        yes
    python.test_framework nose

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }
}
