# -*- 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-pygithub
version             2.9.1
revision            0

license             LGPL-3+
supported_archs     noarch
platforms           {darwin any}
maintainers         {raimue @raimue} \
                    openmaintainer

description         Typed interactions with the GitHub API v3
long_description    PyGitHub is a Python library to access the GitHub REST API. This \
                    library enables you to manage GitHub resources such as repositories, \
                    user profiles, and organizations in your Python applications.

homepage            https://pygithub.readthedocs.io/

checksums           rmd160  09dc46423ccb90493c1dd53901bfd4a7c14527c1 \
                    sha256  59771d7ff63d54d427be2e7d0dad2208dfffc2b0a045fec959263787739b611c \
                    size    2594989

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools_scm

    depends_run-append  port:py${python.version}-cryptography \
                        port:py${python.version}-deprecated \
                        port:py${python.version}-jwt \
                        port:py${python.version}-pynacl \
                        port:py${python.version}-requests \
                        port:py${python.version}-typing_extensions \
                        port:py${python.version}-urllib3
}
