devel/py-gevent 25.8.2_1 MidnightBSD
Python co-routine networking library based on greenlet
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libevent event loop.
Features include:
- Fast event loop based on libevent (epoll on Linux, kqueue on FreeBSD).
- Lightweight execution units based on greenlet.
- API that re-uses concepts from the Python standard library (for example there are Events and Queues).
- Cooperative sockets with SSL support.
- DNS queries performed through libevent-dns.
- Monkey patching utility to get 3rd party modules to become cooperative.
- Fast WSGI server based on libevent-http
gevent is inspired by eventlet but features more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-gevent | 25.8.2_1 |
| FreeBSD | devel/py-gevent | 26.9.0 |
| OpenBSD | devel/py-gevent | 26.9.0 |
| DragonFly | devel/py-gevent | 24.2.1 |
| HardenedBSD | devel/py-gevent | 26.9.0 |
| GhostBSD | devel/py-gevent | 26.9.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}gevent
From mports:
cd /usr/mports/devel/py-gevent && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent
Dependencies
As this port's Makefile names them.
Build 7
c-ares>=1.15.0: dns/c-areslibev>=4.31: devel/libevlibuv>=1.34.0: devel/libuv${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1: devel/py-cffi${PYTHON_PKGNAMEPREFIX}greenlet>=3.2.2: devel/py-greenlet${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Library 3
libcares.so: dns/c-areslibev.so: devel/libevlibuv.so: devel/libuv
Runtime 4
${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1: devel/py-cffi${PYTHON_PKGNAMEPREFIX}greenlet>=3.2.2: devel/py-greenlet${PYTHON_PKGNAMEPREFIX}zope.event>=0: devel/py-zope.event${PYTHON_PKGNAMEPREFIX}zope.interface>=0: devel/py-zope.interface
Test 1
${PYTHON_PKGNAMEPREFIX}sqlite3>=0: databases/py-sqlite3
Build dependencies 7
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- compiler:c11 localbase python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| gevent-25.8.2.tar.gz | 6.422843e+06 | 0cfab118ad5dcc55d7847dd9dccd560d9015fe671f42714b6f1ac97e3b2b9a3a |
Master sites 1
- PYPI