# -*- 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-managesieve
version             0.8
revision            0

categories-append   mail
license             {PSF GPL-3}
platforms           {darwin any} freebsd
supported_archs     noarch
maintainers         nomaintainer

description         Protocol for remotely managing Sieve scripts
long_description    A Protocol for remotely managing Sieve Scripts. A \
                    MANGAGESIEVE client library for remotely managing \
                    Sieve scripts, including an interactive sieveshell.

homepage            https://managesieve.readthedocs.io/

checksums           rmd160  35a25045c0ff505afc2c3cbcb62100fff3b56980 \
                    sha256  d8209bea1ebd1f9f184f56f28ff7e4adfcc6b0c51baf4187a492dc329b1213f3 \
                    size    44089

python.versions	    312

if {${name} ne ${subport}} {

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

    test.run        yes
}
