# -*- 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.4.6
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             Apache-2

python.versions     313

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            https://aiosmtpd.readthedocs.io

checksums           rmd160  388497999d109d4983c09b7ffd0afd46886afb60 \
                    sha256  5a811826e1a5a06c25ebc3e6c4a704613eb9a1bcf6b78428fbe865f4f6c9a4b8 \
                    size    152775

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