Bug 216951 - [patch] dns/py-publicsuffix update to 1.1.0
Summary: [patch] dns/py-publicsuffix update to 1.1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-02-09 22:25 UTC by mjl
Modified: 2017-02-27 13:53 UTC (History)
2 users (show)

See Also:
amdmi3: maintainer-feedback-


Attachments
update py-publicsuffix to 1.1.0 (1.59 KB, patch)
2017-02-09 22:25 UTC, mjl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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