Update to 2.4.1.

Trim header.
Switch to USE_GITHUB.
Add a regression-test target.

PR:		ports/173714
Submitted by:	Grzegorz Blach <magik@roorback.net>
Approved by:	maintainer
Feature safe:	yes
This commit is contained in:
Wesley Shields 2012-12-02 01:16:05 +00:00
parent 0821a742f9
commit 8a613936e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308083
4 changed files with 37 additions and 22 deletions

View file

@ -1,15 +1,9 @@
# New ports collection makefile for: tornado # Created by: Guixing Bai<khsing.cn@gmail.com>
# Date created: 2009-09-14
# Whom: Guixing Bai<khsing.cn@gmail.com>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= tornado PORTNAME= tornado
PORTVERSION= 2.3 PORTVERSION= 2.4.1
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= CHEESESHOP \
http://github.com/downloads/facebook/tornado/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= khsing.cn@gmail.com MAINTAINER= khsing.cn@gmail.com
@ -19,15 +13,15 @@ LICENSE= AL2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl
USE_PYTHON= 2.5-2.7 USE_GITHUB= yes
GH_ACCOUNT= facebook
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 50af6cc
USE_PYTHON= 2.5-2.7
USE_PYDISTUTILS= easy_install USE_PYDISTUTILS= easy_install
FETCH_ARGS= -pRr regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
.include <bsd.port.pre.mk> .include <bsd.port.mk>
.if ${PYTHON_REL} < 260
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
.endif
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
SHA256 (tornado-2.3.tar.gz) = 627ef58b7134781c814ac81d83cd435d4b9ebf3b5ba94c2102a1259740c4415c SHA256 (tornado-2.4.1.tar.gz) = 0866e991517516049be98d9e865f341ad677789b0b488773dee24c2d495cc1c1
SIZE (tornado-2.3.tar.gz) = 338950 SIZE (tornado-2.4.1.tar.gz) = 429432

View file

@ -0,0 +1,21 @@
--- ./setup.py.orig 2012-09-04 15:09:29.000000000 +1000
+++ ./setup.py 2012-11-19 19:24:33.000000000 +1100
@@ -25,6 +25,8 @@
kwargs = {}
+kwargs["zip_safe"] = False
+
# Build the epoll extension for Linux systems with Python < 2.6
extensions = []
major, minor = sys.version_info[:2]
@@ -54,9 +56,6 @@
"test.key",
"static/robots.txt",
"templates/utf8.html",
- "csv_translations/fr_FR.csv",
- "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.mo",
- "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po",
],
},
ext_modules = extensions,

View file

@ -116,15 +116,15 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/iostream_test.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/locale_test.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/locale_test.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/locale_test.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/options_test.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/process_test.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/run_pyversion_tests.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/run_pyversion_tests.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/run_pyversion_tests.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.pyo