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

python.versions     310 311 312 313 314

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://www.gevent.org

checksums           rmd160  581d0d24758fdb3479bd6434ca2e6bcc2b4c40ff \
                    sha256  adf9cd552de44a4e6754c51ff2e78d9193b7fa6eab123db9578a210e657235dd \
                    size    5059025

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
}
