You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
55 lines
1.8 KiB
Tcl
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.40.4
|
|
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 b6658f91a910b3f389818b047ec08408152c81d7 \
|
|
sha256 69bef712b1be18b4930df6f0c495d2a882bf7b63aa111e7b6eeff461cfcaf26f \
|
|
size 565920
|
|
|
|
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
|
|
}
|