summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-06-08 22:36:22 +0000
committerrodent <rodent@pkgsrc.org>2014-06-08 22:36:22 +0000
commit3ab805c1ca7024a881dc36451148bee5be137592 (patch)
treef3786e8c75a2355534c7401c43f2a36f9a5d1ae3 /net
parent6fa83b1810c9e3ddbc44d3b15d7626c7f8033b48 (diff)
downloadpkgsrc-3ab805c1ca7024a881dc36451148bee5be137592.tar.gz
Import py27-gevent-1.0.1 as net/py-gevent.
gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop.
Diffstat (limited to 'net')
-rw-r--r--net/py-gevent/DESCR2
-rw-r--r--net/py-gevent/Makefile26
-rw-r--r--net/py-gevent/PLIST100
-rw-r--r--net/py-gevent/buildlink3.mk18
-rw-r--r--net/py-gevent/distinfo5
5 files changed, 151 insertions, 0 deletions
diff --git a/net/py-gevent/DESCR b/net/py-gevent/DESCR
new file mode 100644
index 00000000000..eb25d810752
--- /dev/null
+++ b/net/py-gevent/DESCR
@@ -0,0 +1,2 @@
+gevent is a coroutine-based Python networking library that uses greenlet
+to provide a high-level synchronous API on top of libevent event loop.
diff --git a/net/py-gevent/Makefile b/net/py-gevent/Makefile
new file mode 100644
index 00000000000..f391c176efd
--- /dev/null
+++ b/net/py-gevent/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2014/06/08 22:36:22 rodent Exp $
+
+DISTNAME= gevent-1.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= https://pypi.python.org/packages/source/g/gevent/
+
+MAINTAINER= kamel.derouiche@gmail.com
+HOMEPAGE= http://www.gevent.org/
+COMMENT= Python-gevent a coroutine-based Python networking library
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.1:../../devel/py-greenlet
+
+USE_LANGUAGES= c c++
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34
+
+do-test:
+ ${RUN} cd ${WRKSRC}/greentest; ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py
+
+.include "../../devel/py-cython/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libevent+= libevent>=0.6
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-gevent/PLIST b/net/py-gevent/PLIST
new file mode 100644
index 00000000000..9b507f533c0
--- /dev/null
+++ b/net/py-gevent/PLIST
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/08 22:36:22 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/gevent/__init__.py
+${PYSITELIB}/gevent/__init__.pyc
+${PYSITELIB}/gevent/__init__.pyo
+${PYSITELIB}/gevent/_semaphore.so
+${PYSITELIB}/gevent/_threading.py
+${PYSITELIB}/gevent/_threading.pyc
+${PYSITELIB}/gevent/_threading.pyo
+${PYSITELIB}/gevent/_util.so
+${PYSITELIB}/gevent/ares.so
+${PYSITELIB}/gevent/backdoor.py
+${PYSITELIB}/gevent/backdoor.pyc
+${PYSITELIB}/gevent/backdoor.pyo
+${PYSITELIB}/gevent/baseserver.py
+${PYSITELIB}/gevent/baseserver.pyc
+${PYSITELIB}/gevent/baseserver.pyo
+${PYSITELIB}/gevent/core.so
+${PYSITELIB}/gevent/coros.py
+${PYSITELIB}/gevent/coros.pyc
+${PYSITELIB}/gevent/coros.pyo
+${PYSITELIB}/gevent/event.py
+${PYSITELIB}/gevent/event.pyc
+${PYSITELIB}/gevent/event.pyo
+${PYSITELIB}/gevent/fileobject.py
+${PYSITELIB}/gevent/fileobject.pyc
+${PYSITELIB}/gevent/fileobject.pyo
+${PYSITELIB}/gevent/greenlet.py
+${PYSITELIB}/gevent/greenlet.pyc
+${PYSITELIB}/gevent/greenlet.pyo
+${PYSITELIB}/gevent/hub.py
+${PYSITELIB}/gevent/hub.pyc
+${PYSITELIB}/gevent/hub.pyo
+${PYSITELIB}/gevent/local.py
+${PYSITELIB}/gevent/local.pyc
+${PYSITELIB}/gevent/local.pyo
+${PYSITELIB}/gevent/lock.py
+${PYSITELIB}/gevent/lock.pyc
+${PYSITELIB}/gevent/lock.pyo
+${PYSITELIB}/gevent/monkey.py
+${PYSITELIB}/gevent/monkey.pyc
+${PYSITELIB}/gevent/monkey.pyo
+${PYSITELIB}/gevent/os.py
+${PYSITELIB}/gevent/os.pyc
+${PYSITELIB}/gevent/os.pyo
+${PYSITELIB}/gevent/pool.py
+${PYSITELIB}/gevent/pool.pyc
+${PYSITELIB}/gevent/pool.pyo
+${PYSITELIB}/gevent/pywsgi.py
+${PYSITELIB}/gevent/pywsgi.pyc
+${PYSITELIB}/gevent/pywsgi.pyo
+${PYSITELIB}/gevent/queue.py
+${PYSITELIB}/gevent/queue.pyc
+${PYSITELIB}/gevent/queue.pyo
+${PYSITELIB}/gevent/resolver_ares.py
+${PYSITELIB}/gevent/resolver_ares.pyc
+${PYSITELIB}/gevent/resolver_ares.pyo
+${PYSITELIB}/gevent/resolver_thread.py
+${PYSITELIB}/gevent/resolver_thread.pyc
+${PYSITELIB}/gevent/resolver_thread.pyo
+${PYSITELIB}/gevent/select.py
+${PYSITELIB}/gevent/select.pyc
+${PYSITELIB}/gevent/select.pyo
+${PYSITELIB}/gevent/server.py
+${PYSITELIB}/gevent/server.pyc
+${PYSITELIB}/gevent/server.pyo
+${PYSITELIB}/gevent/socket.py
+${PYSITELIB}/gevent/socket.pyc
+${PYSITELIB}/gevent/socket.pyo
+${PYSITELIB}/gevent/ssl.py
+${PYSITELIB}/gevent/ssl.pyc
+${PYSITELIB}/gevent/ssl.pyo
+${PYSITELIB}/gevent/subprocess.py
+${PYSITELIB}/gevent/subprocess.pyc
+${PYSITELIB}/gevent/subprocess.pyo
+${PYSITELIB}/gevent/thread.py
+${PYSITELIB}/gevent/thread.pyc
+${PYSITELIB}/gevent/thread.pyo
+${PYSITELIB}/gevent/threading.py
+${PYSITELIB}/gevent/threading.pyc
+${PYSITELIB}/gevent/threading.pyo
+${PYSITELIB}/gevent/threadpool.py
+${PYSITELIB}/gevent/threadpool.pyc
+${PYSITELIB}/gevent/threadpool.pyo
+${PYSITELIB}/gevent/timeout.py
+${PYSITELIB}/gevent/timeout.pyc
+${PYSITELIB}/gevent/timeout.pyo
+${PYSITELIB}/gevent/util.py
+${PYSITELIB}/gevent/util.pyc
+${PYSITELIB}/gevent/util.pyo
+${PYSITELIB}/gevent/win32util.py
+${PYSITELIB}/gevent/win32util.pyc
+${PYSITELIB}/gevent/win32util.pyo
+${PYSITELIB}/gevent/wsgi.py
+${PYSITELIB}/gevent/wsgi.pyc
+${PYSITELIB}/gevent/wsgi.pyo
diff --git a/net/py-gevent/buildlink3.mk b/net/py-gevent/buildlink3.mk
new file mode 100644
index 00000000000..7df261e0418
--- /dev/null
+++ b/net/py-gevent/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/06/08 22:36:22 rodent Exp $
+
+BUILDLINK_TREE+= py-gevent
+
+.if !defined(PY_GEVENT_BUILDLINK3_MK)
+PY_GEVENT_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-gevent+= ${PYPKGPREFIX}-gevent>=0.13.0
+BUILDLINK_PKGSRCDIR.py-gevent?= ../../net/py-gevent
+
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
+
+.endif # PY_GEVENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-gevent
diff --git a/net/py-gevent/distinfo b/net/py-gevent/distinfo
new file mode 100644
index 00000000000..38730e26678
--- /dev/null
+++ b/net/py-gevent/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/08 22:36:22 rodent Exp $
+
+SHA1 (gevent-1.0.1.tar.gz) = 2cc1b6e1fa29b30ea881fa6a195e57faaf089ae8
+RMD160 (gevent-1.0.1.tar.gz) = 430fb627b4f7350969e2e0bfc45eedaf18aa6325
+Size (gevent-1.0.1.tar.gz) = 1455636 bytes