Index: head/www/py-tornado/Makefile =================================================================== --- head/www/py-tornado/Makefile (revision 401016) +++ head/www/py-tornado/Makefile (revision 401017) @@ -1,32 +1,40 @@ # Created by: Guixing Bai # $FreeBSD$ PORTNAME= tornado -PORTVERSION= 4.2.1 +PORTVERSION= 4.3 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gblach@FreeBSD.org COMMENT= Python Web Server from FriendFeed LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certifi USES= python USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures +.endif + +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>0:${PORTSDIR}/devel/py-singledispatch +.endif + +.if ${PYTHON_REL} < 3500 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports_abc>=0.4:${PORTSDIR}/devel/py-backports_abc .endif post-build: @${FIND} ${WRKSRC}/build -name speedups.so -exec ${STRIP_CMD} {} \; regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests .include Index: head/www/py-tornado/distinfo =================================================================== --- head/www/py-tornado/distinfo (revision 401016) +++ head/www/py-tornado/distinfo (revision 401017) @@ -1,2 +1,2 @@ -SHA256 (tornado-4.2.1.tar.gz) = a16fcdc4f76b184cb82f4f9eaeeacef6113b524b26a2cb331222e4a7fa6f2969 -SIZE (tornado-4.2.1.tar.gz) = 434304 +SHA256 (tornado-4.3.tar.gz) = c9c2d32593d16eedf2cec1b6a41893626a2649b40b21ca9c4cac4243bde2efbf +SIZE (tornado-4.3.tar.gz) = 450916 Index: head/www/py-tornado/files/patch-setup.py =================================================================== --- head/www/py-tornado/files/patch-setup.py (revision 401016) +++ head/www/py-tornado/files/patch-setup.py (revision 401017) @@ -1,21 +1,21 @@ ---- setup.py.orig 2015-05-27 01:44:57 UTC +--- setup.py.orig 2015-11-06 20:08:26 UTC +++ setup.py -@@ -122,7 +122,7 @@ if (platform.python_implementation() == - if setuptools is not None: - # If setuptools is not available, you're on your own for dependencies. - install_requires = [] +@@ -125,7 +125,7 @@ if setuptools is not None: + if sys.version_info < (2, 7): + # Only needed indirectly, for singledispatch. + install_requires.append('ordereddict') - if sys.version_info < (3, 2): + if sys.version_info < (2, 7, 9): install_requires.append('backports.ssl_match_hostname') if sys.version_info < (3, 4): - # Certifi is also optional on 2.7.9+, although making our dependencies -@@ -141,9 +141,6 @@ setup( + install_requires.append('singledispatch') +@@ -147,9 +147,6 @@ setup( # in the sdist tarball) "tornado.test": [ "README", - "csv_translations/fr_FR.csv", - "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.mo", - "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po", "options_test.cfg", "static/robots.txt", - "static/dir/index.html", + "static/sample.xml",