[Bug 201050] www/py-tornado: match_hostname dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 22 19:30:14 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201050
Bug ID: 201050
Summary: www/py-tornado: match_hostname dependency
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: rm at FreeBSD.org
CC: khsing.cn at gmail.com
CC: khsing.cn at gmail.com
Flags: maintainer-feedback?(khsing.cn at gmail.com)
Created attachment 157989
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157989&action=edit
tornado.diff.txt
Hello Guixing,
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')
"""
As you can see certifi package is also stated as not required on
pythons>=2.7.9, but it is actually still used in simple_httpclient.py so I'd
better retain it as is. But py-backports.ssl_match_hostname is already
deprecated and expired in FreeBSD ports, so I'm asking you to approve patch
attached, that removes it from py-tornado port along with setup.py version
check tuning. I also did couple of minor fixes (whitespace and alphabetic
sorting in USE_PYTHON).
Thanks in advance.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list