pkgsrc/www/py-tornado/Makefile
wiz 91d1218e35 Update to 4.0.2:
Bug fixes
~~~~~~~~~

* Fixed a bug that could sometimes cause a timeout to fire after being
  cancelled.
* `.AsyncTestCase` once again passes along arguments to test methods,
  making it compatible with extensions such as Nose's test generators.
* `.StaticFileHandler` can again compress its responses when gzip is enabled.
* ``simple_httpclient`` passes its ``max_buffer_size`` argument to the
  underlying stream.
* Fixed a reference cycle that can lead to increased memory consumption.
* `.add_accept_handler` will now limit the number of times it will call
  `~socket.socket.accept` per `.IOLoop` iteration, addressing a potential
  starvation issue.
* Improved error handling in `.IOStream.connect` (primarily for FreeBSD
  systems)
2014-09-14 17:58:25 +00:00

31 lines
916 B
Makefile

# $NetBSD: Makefile,v 1.9 2014/09/14 17:58:25 wiz Exp $
DISTNAME= tornado-4.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://pypi.python.org/packages/source/t/tornado/
MAINTAINER= imil@NetBSD.org
HOMEPAGE= http://www.tornadoweb.org/
COMMENT= Fast and non-blocking web framework
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-curl>=7.18.2:../../www/py-curl
REPLACE_PYTHON+= setup.py
REPLACE_PYTHON+= tornado/*.py
REPLACE_PYTHON+= tornado/platform/*.py
REPLACE_PYTHON+= tornado/test/*.py
do-test:
${RUN}cd ${WRKSRC}; ${PYTHONBIN} -m tornado.test.runtests
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py26" || "${PYPKGPREFIX}" == "py27
DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
.endif
.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"