Files
2026-04-02 07:21:16 -05:00

55 lines
1.8 KiB
Tcl

# -*- 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-eventlet
version 0.41.0
revision 0
categories-append devel
license MIT
maintainers {mps @Schamschula} openmaintainer
description Highly concurrent networking library
long_description Eventlet is a networking library written in \
Python. It achieves high scalability by using \
non-blocking io while at the same time \
retaining high programmer usability by using \
coroutines to make the non-blocking io \
operations appear blocking at the source code \
level.
homepage https://eventlet.net/
supported_archs noarch
platforms {darwin any}
checksums rmd160 cdca896ee4268d3ea52b921eb81ee4e0a4106681 \
sha256 35df85f0ccd3e73effb6fd9f1ceae46b500b966c7da1817289c323a307bd397b \
size 565911
python.versions 310 311 312 313 314
python.pep517_backend \
hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
depends_lib-append \
port:py${python.version}-dnspython \
port:py${python.version}-greenlet
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE NEWS \
README.rst ${destroot}${prefix}/share/doc/${subport}
}
test.run yes
python.test_framework nose
# The normal testing has too many missing deps
test.cmd nosetests-${python.branch} tests/timer_test.py
}