# -*- 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-dkimpy
version             1.1.5
categories-append   devel mail
supported_archs     noarch
platforms           {darwin any}
license             MIT

python.versions     39 310 311

maintainers         nomaintainer

description         DKIM, ARC, and TLSRPT email signing and verification
long_description    dkimpy is a library that implements DKIM \
                    (DomainKeys Identified Mail) email signing and \
                    verification. Basic DKIM requirements are defined \
                    in RFC 6376: https://tools.ietf.org/html/rfc6376

homepage            https://launchpad.net/dkimpy

checksums           rmd160  98748f33c6c75fbada876feea190acd45f4f86c9 \
                    sha256  9a667f8664b72eb9f8aa1250b0757cc3982ab68f70c48af39317b58cf62f2d75 \
                    size    67064

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

    depends_run-append \
                    port:py${python.version}-py3dns

    test.run        yes
    python.test_framework
    test.cmd        ${python.bin}
    test.target     test.py
}
