# -*- 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
PortGroup           github 1.0

github.setup        Rapptz discord.py 1.2.5 v
github.tarball_from archive
name                py-discordpy
license             MIT
platforms           darwin
maintainers         {toby @tobypeterson} openmaintainer
description         API wrapper for Discord written in Python
long_description    discord.py is an API wrapper for Discord written in Python. \
                    This was written to allow easier writing of bots or chat logs.

checksums           rmd160 65b7d38f0dc0b652b395673f177ac64da83d4290 \
                    sha256 9b53bd00413a4a3b0d697d8dc842590a0931639de8530f916ab19199f404b403 \
                    size 1220724

python.versions     37 38

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

    livecheck.type  none
}