Date: Mon, 19 Nov 2012 09:10:01 GMT From: Kubilay Kocak <koobs.freebsd@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/173714: update www/py-tornado-2.3 to 2.4 Message-ID: <201211190910.qAJ9A1O1007183@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/173714; it has been noted by GNATS. From: Kubilay Kocak <koobs.freebsd@gmail.com> To: bug-followup@freebsd.org Cc: FreeBSD@nagilum.org, khsing.cn@gmail.com, kris.universe@gmail.com Subject: Re: ports/173714: update www/py-tornado-2.3 to 2.4 Date: Mon, 19 Nov 2012 20:04:58 +1100 This is a multi-part message in MIME format. --------------040907030406020203080606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Updated patch: - Update to 2.4 - Use GITHUB (And remove CHEESESHOP & FETCH_ARGS override) - Remove PYTHON_REL condition for < 260 (No longer supported) - Patch setup.py to add zip_safe=False (modules reference __file__) - Trim Makefile header - Whitespace alignment - Add regression-test: target Changes: http://www.tornadoweb.org/documentation/releases/v2.4.0.html ====[QA]==== portlint: WARN: Makefile: only one MASTER_SITE configured porttest: OK (9.0-RELEASE amd64) unittest: Ran 261 tests in 4.269s - OK testport: poudriere - freebsd-8-amd64: OK - freebsd-8-i386: OK =========== --------------040907030406020203080606 Content-Type: text/plain; charset=windows-1252; name="py-tornado-2.4.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="py-tornado-2.4.patch" ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/www/py-tornado/Makefile ./Makefile --- /usr/ports/www/py-tornado/Makefile 2012-11-17 17:03:01.000000000 +1100 +++ ./Makefile 2012-11-19 19:51:05.000000000 +1100 @@ -1,15 +1,9 @@ -# New ports collection makefile for: tornado -# Date created: 2009-09-14 -# Whom: Guixing Bai<khsing.cn@gmail.com> -# +# Created by: Guixing Bai<khsing.cn@gmail.com> # $FreeBSD: ports/www/py-tornado/Makefile,v 1.12 2012/11/17 06:03:01 svnexp Exp $ -# PORTNAME= tornado -PORTVERSION= 2.3 +PORTVERSION= 2.4 CATEGORIES= www python -MASTER_SITES= CHEESESHOP \ - http://github.com/downloads/facebook/tornado/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= khsing.cn@gmail.com @@ -19,15 +13,15 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curl>0:${PORTSDIR}/ftp/py-curl -USE_PYTHON= 2.5-2.7 -USE_PYDISTUTILS= easy_install - -FETCH_ARGS= -pRr +USE_GITHUB= yes +GH_ACCOUNT= facebook +GH_TAGNAME= v2.4.0 +GH_COMMIT= ea84a8c -.include <bsd.port.pre.mk> +USE_PYTHON= 2.5-2.7 +USE_PYDISTUTILS= easy_install -.if ${PYTHON_REL} < 260 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson -.endif +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/www/py-tornado/distinfo ./distinfo --- /usr/ports/www/py-tornado/distinfo 2012-08-05 16:22:23.000000000 +1000 +++ ./distinfo 2012-11-19 18:54:33.000000000 +1100 @@ -1,2 +1,2 @@ -SHA256 (tornado-2.3.tar.gz) = 627ef58b7134781c814ac81d83cd435d4b9ebf3b5ba94c2102a1259740c4415c -SIZE (tornado-2.3.tar.gz) = 338950 +SHA256 (tornado-2.4.tar.gz) = dfd763f2396c14a62b040c9bbb3d6db743ff704bb4e6ef4c97857961f822a52f +SIZE (tornado-2.4.tar.gz) = 428572 diff -ruN --exclude=CVS /usr/ports/www/py-tornado/files/patch-setup.py ./files/patch-setup.py --- /usr/ports/www/py-tornado/files/patch-setup.py 1970-01-01 10:00:00.000000000 +1000 +++ ./files/patch-setup.py 2012-11-19 19:24:37.000000000 +1100 @@ -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, diff -ruN --exclude=CVS /usr/ports/www/py-tornado/pkg-plist ./pkg-plist --- /usr/ports/www/py-tornado/pkg-plist 2012-08-05 16:22:23.000000000 +1000 +++ ./pkg-plist 2012-11-19 19:23:38.000000000 +1100 @@ -116,15 +116,15 @@ %%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.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.pyc %%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.pyc %%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.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tornado/test/runtests.pyo diff -ruN --exclude=CVS /usr/ports/www/py-tornado/py-tornado-2.4.patch ./py-tornado-2.4.patch --- /usr/ports/www/py-tornado/py-tornado-2.4.patch 1970-01-01 10:00:00.000000000 +1000 +++ ./py-tornado-2.4.patch 2012-11-19 19:57:51.000000000 +1100 @@ -0,0 +1 @@ +===> Generating patch ===> Done --------------040907030406020203080606--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211190910.qAJ9A1O1007183>