From owner-svn-ports-all@FreeBSD.ORG Tue Jun 23 18:22:44 2015 Return-Path: Delivered-To: svn-ports-all@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75889ABD; Tue, 23 Jun 2015 18:22:44 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 639E7952; Tue, 23 Jun 2015 18:22:44 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5NIMinP080836; Tue, 23 Jun 2015 18:22:44 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5NIMhaN080831; Tue, 23 Jun 2015 18:22:43 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201506231822.t5NIMhaN080831@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Tue, 23 Jun 2015 18:22:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390441 - in head/www/py-tornado: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 18:22:44 -0000 Author: rm Date: Tue Jun 23 18:22:43 2015 New Revision: 390441 URL: https://svnweb.freebsd.org/changeset/ports/390441 Log: www/py-tornado: remove py-backports.ssl_match_hostname dependency since python 2.7.9 ssl.match_hostname() function is in standard library, so there is no need to depend on security/py-backports.ssl_match_hostname anymore as stated in tornado's setup.py: """ if sys.version_info < (3, 2): 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 # conditional on micro version numbers seems like a bad idea # until we have more declarative metadata. install_requires.append('certifi') """ Remove this dependency and bump PORTREVISION. While here sort USE_PYTHON components, add missed space in Makefile header. PR: 201050 Submitted by: rm (myself) Approved by: Guixing Bai (maintainer) Modified: head/www/py-tornado/Makefile head/www/py-tornado/files/patch-setup.py Modified: head/www/py-tornado/Makefile ============================================================================== --- head/www/py-tornado/Makefile Tue Jun 23 18:17:54 2015 (r390440) +++ head/www/py-tornado/Makefile Tue Jun 23 18:22:43 2015 (r390441) @@ -1,8 +1,9 @@ -# 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} @@ -15,13 +16,12 @@ 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: Modified: head/www/py-tornado/files/patch-setup.py ============================================================================== --- head/www/py-tornado/files/patch-setup.py Tue Jun 23 18:17:54 2015 (r390440) +++ head/www/py-tornado/files/patch-setup.py Tue Jun 23 18:22:43 2015 (r390441) @@ -1,6 +1,15 @@ ---- 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", @@ -9,4 +18,4 @@ - "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po", "options_test.cfg", "static/robots.txt", - "templates/utf8.html", + "static/dir/index.html",