# -*- 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-telethon
version             1.34.0
revision            0
python.rootname     Telethon
license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Full-featured Telegram client library.
long_description    Telethon is an asyncio Python 3 MTProto library to \
                    interact with Telegram's API as a user or through \
                    a bot account (bot API alternative).

homepage            https://github.com/LonamiWebs/Telethon

python.versions     39 310 311 312

checksums           rmd160  c2921e3c3a2aab765aaeed4958114dcbebcbd991 \
                    sha256  55290809a30081fa0bb5052abb7547cbb25d7fbca94f32f13c147504d521804f \
                    size    576927

if {${name} ne ${subport}} {
    depends_run-append  \
                    port:py${python.version}-cryptg \
                    port:py${python.version}-markdown-it-py \
                    port:py${python.version}-pyaes \
                    port:py${python.version}-rsa
}
