# -*- 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-aiosmtpd
version             1.2
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     38

maintainers         {danchr @danchr} openmaintainer

description         Reimplementation of the Python stdlib smtpd.py based on asyncio
long_description    An asyncio based implementation of a server for \
                    RFC 5321 - Simple Mail Transfer Protocol (SMTP) \
                    and RFC 2033 - Local Mail Transfer Protocol \
                    (LMTP). It is derived from Python 3’s smtpd.py \
                    standard library module, and provides both a \
                    command line interface and an API for use in \
                    testing applications that send email.

homepage            http://aiosmtpd.readthedocs.io
master_sites        pypi:a/aiosmtpd

distname            aiosmtpd-${version}

checksums           rmd160  1b866b0e2da3155e574f6a72faba920caa3d4fe4 \
                    sha256  b7ea7ee663f3b8514d3224d55c4e8827148277b124ea862a0bbfca1bc899aef5 \
                    size    51457

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

    livecheck.type          none
} else {
    livecheck.type          pypi
}
