aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-13 03:26:10 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-13 03:26:10 +0800
commit6700d1af02e1e75d1407230547d6603bf37d9b84 (patch)
treec05e38715bd3f36aa01ddddb2e92ff18ad9fc6b5 /devel
parent03fd13e6e32a437df1c08d0296782570d29c6258 (diff)
downloadfreebsd-ports-gnome-6700d1af02e1e75d1407230547d6603bf37d9b84.tar.gz
freebsd-ports-gnome-6700d1af02e1e75d1407230547d6603bf37d9b84.tar.zst
freebsd-ports-gnome-6700d1af02e1e75d1407230547d6603bf37d9b84.zip
A coroutine-based Python networking library that uses greenlet to
provide a high-level synchronous API on top of an libevent event loop. WWW: http://www.gevent.org/ PR: ports/143589 Submitted by: Peter Schuller <peter.schuller at infidyne.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-gevent/Makefile23
-rw-r--r--devel/py-gevent/distinfo3
-rw-r--r--devel/py-gevent/pkg-descr4
-rw-r--r--devel/py-gevent/pkg-plist68
5 files changed, 99 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f1cb84550204..eb623ae844a1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2548,6 +2548,7 @@
SUBDIR += py-generate
SUBDIR += py-geojson
SUBDIR += py-geotypes
+ SUBDIR += py-gevent
SUBDIR += py-gitosis
SUBDIR += py-gitpython
SUBDIR += py-gobject
diff --git a/devel/py-gevent/Makefile b/devel/py-gevent/Makefile
new file mode 100644
index 000000000000..dfcdf942f674
--- /dev/null
+++ b/devel/py-gevent/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-gevent
+# Date created: 5 Feb 2010
+# Whom: Peter Schuller <peter.schuller@infidyne.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gevent
+PORTVERSION= 0.12.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= peter.schuller@infidyne.com
+COMMENT= Python co-routine networking library based on greenlet/libevent
+
+LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/devel/py-gevent/distinfo b/devel/py-gevent/distinfo
new file mode 100644
index 000000000000..8d06018ab04c
--- /dev/null
+++ b/devel/py-gevent/distinfo
@@ -0,0 +1,3 @@
+MD5 (gevent-0.12.0.tar.gz) = 2fbf9902013e4452efa0d31bf2b5efb2
+SHA256 (gevent-0.12.0.tar.gz) = a011289b16d06c1367929f8d4cc16dec4f3528554438b1810914db95bc38f3cd
+SIZE (gevent-0.12.0.tar.gz) = 208238
diff --git a/devel/py-gevent/pkg-descr b/devel/py-gevent/pkg-descr
new file mode 100644
index 000000000000..070008bc1d23
--- /dev/null
+++ b/devel/py-gevent/pkg-descr
@@ -0,0 +1,4 @@
+A coroutine-based Python networking library that uses greenlet to
+provide a high-level synchronous API on top of an libevent event loop.
+
+WWW: http://www.gevent.org/
diff --git a/devel/py-gevent/pkg-plist b/devel/py-gevent/pkg-plist
new file mode 100644
index 000000000000..5dbd8998dba8
--- /dev/null
+++ b/devel/py-gevent/pkg-plist
@@ -0,0 +1,68 @@
+%%PYTHON_SITELIBDIR%%/gevent/dns.py
+%%PYTHON_SITELIBDIR%%/gevent/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gevent/monkey.pyo
+%%PYTHON_SITELIBDIR%%/gevent/event.pyo
+%%PYTHON_SITELIBDIR%%/gevent/win32util.pyo
+%%PYTHON_SITELIBDIR%%/gevent/select.pyc
+%%PYTHON_SITELIBDIR%%/gevent/backdoor.py
+%%PYTHON_SITELIBDIR%%/gevent/sslold.pyc
+%%PYTHON_SITELIBDIR%%/gevent/pywsgi.pyc
+%%PYTHON_SITELIBDIR%%/gevent/__init__.py
+%%PYTHON_SITELIBDIR%%/gevent/coros.pyo
+%%PYTHON_SITELIBDIR%%/gevent/http.pyo
+%%PYTHON_SITELIBDIR%%/gevent/pool.pyc
+%%PYTHON_SITELIBDIR%%/gevent/wsgi.py
+%%PYTHON_SITELIBDIR%%/gevent/ssl.py
+%%PYTHON_SITELIBDIR%%/gevent/hub.pyc
+%%PYTHON_SITELIBDIR%%/gevent/greenlet.pyc
+%%PYTHON_SITELIBDIR%%/gevent/queue.pyc
+%%PYTHON_SITELIBDIR%%/gevent/event.py
+%%PYTHON_SITELIBDIR%%/gevent/thread.py
+%%PYTHON_SITELIBDIR%%/gevent/greenlet.py
+%%PYTHON_SITELIBDIR%%/gevent/timeout.pyo
+%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.pyc
+%%PYTHON_SITELIBDIR%%/gevent/socket.pyc
+%%PYTHON_SITELIBDIR%%/gevent/thread.pyc
+%%PYTHON_SITELIBDIR%%/gevent/dns.pyc
+%%PYTHON_SITELIBDIR%%/gevent/hub.py
+%%PYTHON_SITELIBDIR%%/gevent/ssl.pyo
+%%PYTHON_SITELIBDIR%%/gevent/wsgi.pyo
+%%PYTHON_SITELIBDIR%%/gevent/backdoor.pyc
+%%PYTHON_SITELIBDIR%%/gevent/util.pyc
+%%PYTHON_SITELIBDIR%%/gevent/event.pyc
+%%PYTHON_SITELIBDIR%%/gevent/win32util.py
+%%PYTHON_SITELIBDIR%%/gevent/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gevent/monkey.pyc
+%%PYTHON_SITELIBDIR%%/gevent/queue.py
+%%PYTHON_SITELIBDIR%%/gevent/select.pyo
+%%PYTHON_SITELIBDIR%%/gevent/win32util.pyc
+%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.py
+%%PYTHON_SITELIBDIR%%/gevent/socket.py
+%%PYTHON_SITELIBDIR%%/gevent/sslold.pyo
+%%PYTHON_SITELIBDIR%%/gevent/pywsgi.pyo
+%%PYTHON_SITELIBDIR%%/gevent/core.so
+%%PYTHON_SITELIBDIR%%/gevent/coros.pyc
+%%PYTHON_SITELIBDIR%%/gevent/monkey.py
+%%PYTHON_SITELIBDIR%%/gevent/pool.pyo
+%%PYTHON_SITELIBDIR%%/gevent/http.pyc
+%%PYTHON_SITELIBDIR%%/gevent/timeout.py
+%%PYTHON_SITELIBDIR%%/gevent/greenlet.pyo
+%%PYTHON_SITELIBDIR%%/gevent/queue.pyo
+%%PYTHON_SITELIBDIR%%/gevent/hub.pyo
+%%PYTHON_SITELIBDIR%%/gevent/pywsgi.py
+%%PYTHON_SITELIBDIR%%/gevent/util.py
+%%PYTHON_SITELIBDIR%%/gevent/select.py
+%%PYTHON_SITELIBDIR%%/gevent/coros.py
+%%PYTHON_SITELIBDIR%%/gevent/socket.pyo
+%%PYTHON_SITELIBDIR%%/gevent/thread.pyo
+%%PYTHON_SITELIBDIR%%/gevent/rawgreenlet.pyo
+%%PYTHON_SITELIBDIR%%/gevent/sslold.py
+%%PYTHON_SITELIBDIR%%/gevent/timeout.pyc
+%%PYTHON_SITELIBDIR%%/gevent/util.pyo
+%%PYTHON_SITELIBDIR%%/gevent/wsgi.pyc
+%%PYTHON_SITELIBDIR%%/gevent/ssl.pyc
+%%PYTHON_SITELIBDIR%%/gevent/backdoor.pyo
+%%PYTHON_SITELIBDIR%%/gevent/pool.py
+%%PYTHON_SITELIBDIR%%/gevent/http.py
+%%PYTHON_SITELIBDIR%%/gevent/dns.pyo
+@dirrmtry lib/python2.6/site-packages/gevent