# -*- 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-gevent
version             25.5.1
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     i386 x86_64 arm64

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Coroutine-based Python networking library.

long_description    gevent is a coroutine-based Python networking \
                    library that uses greenlet to provide a high-level \
                    synchronous API on top of libevent event loop.

homepage            https://gevent.org

checksums           rmd160  ad2be6db246d425eebe0f3fdee1cf7e7c31f6d5a \
                    sha256  582c948fa9a23188b890d0bc130734a506d039a2e5ad87dae276a456cc683e61 \
                    size    6388207

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

    depends_lib-append  port:py${python.version}-greenlet \
                        port:py${python.version}-cffi \
                        port:py${python.version}-zope-event \
                        port:py${python.version}-zopeinterface
}
