Import py-gevent 0.13.7

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@
This commit is contained in:
landry 2012-07-17 19:23:31 +00:00
parent 9ae851a904
commit e30e2260b1
4 changed files with 106 additions and 0 deletions

29
devel/py-gevent/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $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>

5
devel/py-gevent/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (gevent-0.13.7.tar.gz) = x0AEcwwlQyYLdRsKp4KYfA==
RMD160 (gevent-0.13.7.tar.gz) = iEF4Mobz/JZSteqxZtiA4mfy6Io=
SHA1 (gevent-0.13.7.tar.gz) = K5xjuE4ho24kSnyCW5vbqpi37GY=
SHA256 (gevent-0.13.7.tar.gz) = B1TxQdKIn6hhkY63VIK5VydjvWYUebv8c6jCUPTqtsU=
SIZE (gevent-0.13.7.tar.gz) = 288284

11
devel/py-gevent/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
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.

61
devel/py-gevent/pkg/PLIST Normal file
View File

@ -0,0 +1,61 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/07/17 19:23:31 landry Exp $
lib/python${MODPY_VERSION}/site-packages/gevent/
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/gevent-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/gevent/__init__.py
lib/python${MODPY_VERSION}/site-packages/gevent/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/backdoor.py
lib/python${MODPY_VERSION}/site-packages/gevent/backdoor.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/baseserver.py
lib/python${MODPY_VERSION}/site-packages/gevent/baseserver.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/core.so
lib/python${MODPY_VERSION}/site-packages/gevent/coros.py
lib/python${MODPY_VERSION}/site-packages/gevent/coros.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/dns.py
lib/python${MODPY_VERSION}/site-packages/gevent/dns.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/event.py
lib/python${MODPY_VERSION}/site-packages/gevent/event.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/greenlet.py
lib/python${MODPY_VERSION}/site-packages/gevent/greenlet.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/http.py
lib/python${MODPY_VERSION}/site-packages/gevent/http.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/httplib.py
lib/python${MODPY_VERSION}/site-packages/gevent/httplib.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/hub.py
lib/python${MODPY_VERSION}/site-packages/gevent/hub.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/local.py
lib/python${MODPY_VERSION}/site-packages/gevent/local.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/monkey.py
lib/python${MODPY_VERSION}/site-packages/gevent/monkey.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/pool.py
lib/python${MODPY_VERSION}/site-packages/gevent/pool.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/pywsgi.py
lib/python${MODPY_VERSION}/site-packages/gevent/pywsgi.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/queue.py
lib/python${MODPY_VERSION}/site-packages/gevent/queue.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/rawgreenlet.py
lib/python${MODPY_VERSION}/site-packages/gevent/rawgreenlet.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/select.py
lib/python${MODPY_VERSION}/site-packages/gevent/select.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/server.py
lib/python${MODPY_VERSION}/site-packages/gevent/server.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/socket.py
lib/python${MODPY_VERSION}/site-packages/gevent/socket.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/ssl.py
lib/python${MODPY_VERSION}/site-packages/gevent/ssl.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/sslold.py
lib/python${MODPY_VERSION}/site-packages/gevent/sslold.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/thread.py
lib/python${MODPY_VERSION}/site-packages/gevent/thread.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/timeout.py
lib/python${MODPY_VERSION}/site-packages/gevent/timeout.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/util.py
lib/python${MODPY_VERSION}/site-packages/gevent/util.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/win32util.py
lib/python${MODPY_VERSION}/site-packages/gevent/win32util.pyc
lib/python${MODPY_VERSION}/site-packages/gevent/wsgi.py
lib/python${MODPY_VERSION}/site-packages/gevent/wsgi.pyc