Index: head/www/py-tornado/Makefile =================================================================== --- head/www/py-tornado/Makefile (revision 390440) +++ head/www/py-tornado/Makefile (revision 390441) @@ -1,33 +1,33 @@ -# Created by: Guixing Bai +# Created by: Guixing Bai # $FreeBSD$ PORTNAME= tornado PORTVERSION= 4.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= khsing.cn@gmail.com COMMENT= Python Web Server from FriendFeed LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certifi USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:${PORTSDIR}/security/py-backports.ssl_match_hostname \ - ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures .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/files/patch-setup.py =================================================================== --- head/www/py-tornado/files/patch-setup.py (revision 390440) +++ head/www/py-tornado/files/patch-setup.py (revision 390441) @@ -1,12 +1,21 @@ ---- setup.py.orig 2013-04-29 08:46:17.852783104 +0200 -+++ setup.py 2013-04-29 08:46:30.135662912 +0200 -@@ -41,9 +41,6 @@ +--- setup.py.orig 2015-05-27 01:44:57 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 = [] +- 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( # 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", - "templates/utf8.html", + "static/dir/index.html",