# -*- 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-authheaders
version             0.14.1
categories-append   devel mail
platforms           darwin
license             MIT

python.versions     38 39

maintainers         nomaintainer

description         Library for the generation of email authentication headers
long_description    A library wrapping email authentication header \
                    verification and generation. The library can \
                    perform DKIM, SPF, and DMARC validation, and the \
                    results are packaged into the Authentication-Results \
                    header.

homepage            https://github.com/ValiMail/authentication-headers

checksums           rmd160  492d5743a95c5c41c40fe141307ea1b769bc6aaf \
                    sha256  4e601b5b54080019a2f548fadf80ddf9c5538615607c7fb602936404aafe67e2 \
                    size    101412

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

    depends_run-append \
                    port:py${python.version}-authres \
                    port:py${python.version}-dkimpy \
                    port:py${python.version}-dnspython \
                    port:py${python.version}-ipaddress \
                    port:py${python.version}-publicsuffix2

    livecheck.type  none
}
