Bug 216951

Summary: [patch] dns/py-publicsuffix update to 1.1.0
Product: Ports & Packages Reporter: mjl
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: d.pryadko, mjl
Priority: --- Keywords: patch
Version: LatestFlags: amdmi3: maintainer-feedback-
Hardware: Any   
OS: Any   
Attachments:
Description Flags
update py-publicsuffix to 1.1.0 none

Description mjl 2017-02-09 22:25:16 UTC
Created attachment 179811 [details]
update py-publicsuffix to 1.1.0

The attached patch updates the public suffix module to 1.1.0, which has several useful methods not found in 1.0.4 (e.g. fetch).

The patch removing the special characters from the module author's name is necessary to avoid the following error during configuration, though there might be a better way to achieve the same thing:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 19, in <module>
    long_description=get_long_description(),
  File "setup.py", line 13, in get_long_description
    read_doc("LICENSE")
  File "setup.py", line 7, in read_doc
    return open(os.path.join(os.path.dirname(__file__), name)).read()
  File "/usr/local/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 23: ordinal not in range(128)
*** Error code 1
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2017-02-21 14:21:30 UTC
LGTM, awaiting maintainers feedback/timeout,
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-02-27 13:53:51 UTC
A commit references this bug:

Author: amdmi3
Date: Mon Feb 27 13:53:29 UTC 2017
New revision: 434938
URL: https://svnweb.freebsd.org/changeset/ports/434938

Log:
  - Update to 1.1.0

  PR:		216951
  Submitted by:	mjl@luckie.org.nz
  Approved by:	maintainer timeout (d.pryadko@rambler-co.ru, 2 weeks)

Changes:
  head/dns/py-publicsuffix/Makefile
  head/dns/py-publicsuffix/distinfo
  head/dns/py-publicsuffix/files/
  head/dns/py-publicsuffix/files/patch-LICENSE