Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 19:30:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201050] www/py-tornado: match_hostname dependency
Message-ID:  <bug-201050-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: rm@FreeBSD.org
                CC: khsing.cn@gmail.com
                CC: khsing.cn@gmail.com
             Flags: maintainer-feedback?(khsing.cn@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201050-13>