e30e2260b1
gevent is a Python networking library that uses greenlet to provide synchronous API on top of libevent event loop. * Fast event loop based on libevent. * Lightweight execution units based on greenlet. * Familiar API that re-uses concepts from the Python standard library. * Cooperative sockets with ssl support. * DNS queries performed through libevent-dns. * Ability to use standard library and 3rd party modules written for standard blocking sockets * Fast WSGI server based on libevent-http. Requirement of upcoming firefox sync port. ok rpointel@
30 lines
679 B
Makefile
30 lines
679 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/07/17 19:23:31 landry Exp $
|
|
|
|
COMMENT = network library for easy and scalable concurrency
|
|
|
|
MODPY_EGG_VERSION = 0.13.7
|
|
DISTNAME = gevent-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
HOMEPAGE = http://www.gevent.org/
|
|
|
|
# MPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=g/gevent/}
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_DISTUTILS_BUILD= build --build-base=${WRKSRC} --libevent ${LOCALBASE}
|
|
|
|
LIB_DEPENDS = devel/libeventextra
|
|
WANTLIB = ${MODPY_WANTLIB} event
|
|
RUN_DEPENDS = devel/py-greenlet
|
|
|
|
.include <bsd.port.mk>
|