# -*- 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.8.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  8ee582aa29eddd8dcda09addbeafdcde5d5c86b4 \
                    sha256  341b7c78521cb07324ff670afd1baa2bf5c286f8d9fd302c1798ba594a5400c9 \
                    size    2246994

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
}
