# -*- 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.42.0
revision            0
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     310 311 312 313

checksums           rmd160  21c60d74b522e82d3b9b5047a5e874e17a8963b8 \
                    sha256  032e95511261d5ead719f75494c6c85ece2ce71816b54f3c65d6ccc371d6994d \
                    size    672734

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
}
