# -*- 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-yapsy
python.rootname     Yapsy
version             1.12.2
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         Yet Another Plugin SYstem
long_description    Yapsy’s main purpose is to offer a way to easily \
                    design a plugin system in Python, and motivated by \
                    the fact that many other Python plugin system are \
                    either too complicated for a basic use or depend \
                    on a lot of libraries.

homepage            https://yapsy.sourceforge.net

checksums           rmd160  ece6c729726ebfcc4b98ad4980b0dc33b87280d4 \
                    sha256  d8113d9f9c74eacf65b4663c9c037d278c9cb273b5eee5f0e1803baeedb23f8b \
                    size    83986

python.versions     311

if {${subport} ne ${name}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} LICENSE.txt \
           CHANGELOG.txt README.txt ${destroot}${docdir}
    }

    test.run        yes
}
