ports/173714: update www/py-tornado-2.3 to 2.4
Grzegorz Blach
magik at roorback.net
Mon Nov 26 23:10:01 UTC 2012
The following reply was made to PR ports/173714; it has been noted by GNATS.
From: Grzegorz Blach <magik at roorback.net>
To: bug-followup at FreeBSD.org, freebsd at nagilum.org
Cc: khsing.cn at gmail.com
Subject: Re: ports/173714: update www/py-tornado-2.3 to 2.4
Date: Tue, 27 Nov 2012 00:05:44 +0100
--=-B0Ud4ueJ4lCb5iSRoQM2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Update to 2.4.1
Changes: http://www.tornadoweb.org/documentation/releases/v2.4.1.html
--=-B0Ud4ueJ4lCb5iSRoQM2
Content-Disposition: attachment; filename="www_py-tornado.diff"
Content-Type: text/x-patch; name="www_py-tornado.diff"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
diff -ruN www/py-tornado/Makefile www/py-tornado/Makefile
--- www/py-tornado/Makefile 2012-11-17 07:03:01.000000000 +0100
+++ www/py-tornado/Makefile 2012-11-26 16:53:40.000000000 +0100
@@ -1,15 +1,9 @@
-# New ports collection makefile for: tornado
-# Date created: 2009-09-14
-# Whom: Guixing Bai<khsing.cn at gmail.com>
-#
+# Created by: Guixing Bai<khsing.cn at 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.1
CATEGORIES= www python
-MASTER_SITES= CHEESESHOP \
- http://github.com/downloads/facebook/tornado/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= khsing.cn at 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= v${PORTVERSION}
+GH_COMMIT= 50af6cc
-.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 www/py-tornado/distinfo www/py-tornado/distinfo
--- www/py-tornado/distinfo 2012-08-05 08:22:23.000000000 +0200
+++ www/py-tornado/distinfo 2012-11-26 16:53:40.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (tornado-2.3.tar.gz) = 627ef58b7134781c814ac81d83cd435d4b9ebf3b5ba94c2102a1259740c4415c
-SIZE (tornado-2.3.tar.gz) = 338950
+SHA256 (tornado-2.4.1.tar.gz) = 0866e991517516049be98d9e865f341ad677789b0b488773dee24c2d495cc1c1
+SIZE (tornado-2.4.1.tar.gz) = 429432
diff -ruN www/py-tornado/files/patch-setup.py www/py-tornado/files/patch-setup.py
--- www/py-tornado/files/patch-setup.py 1970-01-01 01:00:00.000000000 +0100
+++ www/py-tornado/files/patch-setup.py 2012-11-26 16:53:40.000000000 +0100
@@ -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 www/py-tornado/pkg-plist www/py-tornado/pkg-plist
--- www/py-tornado/pkg-plist 2012-08-05 08:22:23.000000000 +0200
+++ www/py-tornado/pkg-plist 2012-11-26 16:53:40.000000000 +0100
@@ -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
--=-B0Ud4ueJ4lCb5iSRoQM2--
More information about the freebsd-ports-bugs
mailing list