aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryzlin <yzlin@FreeBSD.org>2009-10-03 11:21:14 +0800
committeryzlin <yzlin@FreeBSD.org>2009-10-03 11:21:14 +0800
commit1a702902d4a54fbfc23d1b4027b6b94b127459f9 (patch)
tree9d5534544f034c31e2a9376a7b50ff5aea15d632
parent6e7e3225c3ecb9261963dcf8030de91ebab7340e (diff)
downloadfreebsd-ports-gnome-1a702902d4a54fbfc23d1b4027b6b94b127459f9.tar.gz
freebsd-ports-gnome-1a702902d4a54fbfc23d1b4027b6b94b127459f9.tar.zst
freebsd-ports-gnome-1a702902d4a54fbfc23d1b4027b6b94b127459f9.zip
Add py-tornado 0.1, python Web Server from FriendFeed.
PR: ports/138802 Submitted by: Guixing Bai<khsing.cn at gmail.com> Approved by: rafan (co-mentor)
-rw-r--r--www/Makefile1
-rw-r--r--www/py-tornado/Makefile23
-rw-r--r--www/py-tornado/distinfo3
-rw-r--r--www/py-tornado/pkg-descr10
-rw-r--r--www/py-tornado/pkg-plist43
5 files changed, 80 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 5be75e22fb91..7d761ac4caa5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1331,6 +1331,7 @@
SUBDIR += py-slimmer
SUBDIR += py-textile
SUBDIR += py-tgwebservices
+ SUBDIR += py-tornado
SUBDIR += py-turbodjango
SUBDIR += py-turbogears
SUBDIR += py-turbogears2
diff --git a/www/py-tornado/Makefile b/www/py-tornado/Makefile
new file mode 100644
index 000000000000..dae61d8157c7
--- /dev/null
+++ b/www/py-tornado/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: tornado
+# Date created: 2009-09-14
+# Whom: Guixing Bai<khsing.cn@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tornado
+PORTVERSION= 0.1
+CATEGORIES= www python
+MASTER_SITES= http://www.tornadoweb.org/static/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= khsing.cn@gmail.com
+COMMENT= Python Web Server from FriendFeed
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-tornado/distinfo b/www/py-tornado/distinfo
new file mode 100644
index 000000000000..2a2bff21b5a2
--- /dev/null
+++ b/www/py-tornado/distinfo
@@ -0,0 +1,3 @@
+MD5 (tornado-0.1.tar.gz) = 69d6c60c4eca3a32de23aa5e3717b6f2
+SHA256 (tornado-0.1.tar.gz) = d8fc8cc2bf9ac9e2e50767f8e29d521f6b8359e2255a3ba38c71ee82d70cf8a1
+SIZE (tornado-0.1.tar.gz) = 106878
diff --git a/www/py-tornado/pkg-descr b/www/py-tornado/pkg-descr
new file mode 100644
index 000000000000..ccd6de60d643
--- /dev/null
+++ b/www/py-tornado/pkg-descr
@@ -0,0 +1,10 @@
+Tornado is an open source version of this web server and some of the tools we
+use most often at FriendFeed.
+
+The framework is distinct from most mainstream web server frameworks (and
+certainly most Python frameworks) because it is non-blocking and reasonably
+fast. Because it is non-blocking and uses epoll, it can handle 1000s of
+simultaneous standing connections, which means the framework is ideal for
+real-time web services.
+
+WWW: http://www.tornadoweb.org
diff --git a/www/py-tornado/pkg-plist b/www/py-tornado/pkg-plist
new file mode 100644
index 000000000000..5cc6ec7c9a6c
--- /dev/null
+++ b/www/py-tornado/pkg-plist
@@ -0,0 +1,43 @@
+%%PYTHON_SITELIBDIR%%/tornado/__init__.py
+%%PYTHON_SITELIBDIR%%/tornado/__init__.pyc
+%%PYTHON_SITELIBDIR%%/tornado/__init__.pyo
+%%PYTHON_SITELIBDIR%%/tornado/auth.py
+%%PYTHON_SITELIBDIR%%/tornado/auth.pyc
+%%PYTHON_SITELIBDIR%%/tornado/auth.pyo
+%%PYTHON_SITELIBDIR%%/tornado/database.py
+%%PYTHON_SITELIBDIR%%/tornado/database.pyc
+%%PYTHON_SITELIBDIR%%/tornado/database.pyo
+%%PYTHON_SITELIBDIR%%/tornado/escape.py
+%%PYTHON_SITELIBDIR%%/tornado/escape.pyc
+%%PYTHON_SITELIBDIR%%/tornado/escape.pyo
+%%PYTHON_SITELIBDIR%%/tornado/httpclient.py
+%%PYTHON_SITELIBDIR%%/tornado/httpclient.pyc
+%%PYTHON_SITELIBDIR%%/tornado/httpclient.pyo
+%%PYTHON_SITELIBDIR%%/tornado/httpserver.py
+%%PYTHON_SITELIBDIR%%/tornado/httpserver.pyc
+%%PYTHON_SITELIBDIR%%/tornado/httpserver.pyo
+%%PYTHON_SITELIBDIR%%/tornado/ioloop.py
+%%PYTHON_SITELIBDIR%%/tornado/ioloop.pyc
+%%PYTHON_SITELIBDIR%%/tornado/ioloop.pyo
+%%PYTHON_SITELIBDIR%%/tornado/iostream.py
+%%PYTHON_SITELIBDIR%%/tornado/iostream.pyc
+%%PYTHON_SITELIBDIR%%/tornado/iostream.pyo
+%%PYTHON_SITELIBDIR%%/tornado/locale.py
+%%PYTHON_SITELIBDIR%%/tornado/locale.pyc
+%%PYTHON_SITELIBDIR%%/tornado/locale.pyo
+%%PYTHON_SITELIBDIR%%/tornado/options.py
+%%PYTHON_SITELIBDIR%%/tornado/options.pyc
+%%PYTHON_SITELIBDIR%%/tornado/options.pyo
+%%PYTHON_SITELIBDIR%%/tornado/s3server.py
+%%PYTHON_SITELIBDIR%%/tornado/s3server.pyc
+%%PYTHON_SITELIBDIR%%/tornado/s3server.pyo
+%%PYTHON_SITELIBDIR%%/tornado/template.py
+%%PYTHON_SITELIBDIR%%/tornado/template.pyc
+%%PYTHON_SITELIBDIR%%/tornado/template.pyo
+%%PYTHON_SITELIBDIR%%/tornado/web.py
+%%PYTHON_SITELIBDIR%%/tornado/web.pyc
+%%PYTHON_SITELIBDIR%%/tornado/web.pyo
+%%PYTHON_SITELIBDIR%%/tornado/wsgi.py
+%%PYTHON_SITELIBDIR%%/tornado/wsgi.pyc
+%%PYTHON_SITELIBDIR%%/tornado/wsgi.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/tornado