432edbb132
server and tools. 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 or kqueue, it can handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. ok benoit@, Wen Heping (thanks).
28 lines
611 B
Makefile
28 lines
611 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/13 20:34:35 rpointel Exp $
|
|
|
|
COMMENT = scalable, non-blocking web server
|
|
|
|
MODPY_EGG_VERSION = 2.1.1
|
|
DISTNAME = tornado-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://www.tornadoweb.org/
|
|
|
|
# Apache v2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://cloud.github.com/downloads/facebook/tornado/
|
|
|
|
MODULES = lang/python
|
|
|
|
do-regress:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=.\
|
|
${MODPY_BIN} ./tornado/test/runtests.py
|
|
|
|
.include <bsd.port.mk>
|