# -*- 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-discordpy
python.rootname     discord.py
version             1.7.0
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.

homepage            https://github.com/Rapptz/discord.py

checksums           rmd160 4171c02be03286251e78cd90606231e92f95a491 \
                    sha256 1b05150e767c4a18941d863d819844ecef8395b0ca3784055d78770b8fa70b68 \
                    size 730908

python.versions     37 38 39

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

    livecheck.type  none
}
