Created attachment 216801 [details] www/py-feedgenerator: Replace gratuitous non-ASCII characters Changelog ========= * Use single quote (0x27) instead of RIGHT SINGLE QUOTATION MARK (U+2019) QA == portlint: OK poudriere: OK -- testport on 12.1-RELEASE amd64 w/py27, py35, py36, py37 (default), and py38 Notes ===== This enables the port to be built where locale.getpreferredencoding(False) returns 'ASCII', and makes portlint happier. Also submitted upstream: https://github.com/getpelican/feedgenerator/pull/18
Upstream appears to prefer an alternative solution: https://github.com/getpelican/feedgenerator/pull/20
@John I hadn't looked at the patch. decoding as UTF-8 is the correct method
Created attachment 216864 [details] www/py-feedgenerator: Explicitly decode README as UTF-8 Changelog ========= * Explicitly decode README as UTF-8 * Use single quote (0x27) instead of RIGHT SINGLE QUOTATION MARK (U+2019) in pkg-descr QA == portlint: OK poudriere: OK -- testport on 12.1-RELEASE amd64 w/py27, py35, py36, py37 (default), and py38 Notes ===== Also submitted upstream: https://github.com/getpelican/feedgenerator/pull/20
If the current version causes a build, run, package failure, the change is: Approved by: portmgr (blanket: build fix) MFH: <branch> (blanket: build fix)
A commit references this bug: Author: sunpoet Date: Thu Jul 30 09:54:35 UTC 2020 New revision: 543783 URL: https://svnweb.freebsd.org/changeset/ports/543783 Log: Handle encoding properly - Process README.rst using UTF-8 - Use ASCII character instead of UTF-8 in pkg-descr - Bump PORTREVISION for package change PR: 248295 Submitted by: John W. O'Brien <john@saltant.com> Changes: head/www/py-feedgenerator/Makefile head/www/py-feedgenerator/files/ head/www/py-feedgenerator/files/patch-setup.py head/www/py-feedgenerator/pkg-descr
A commit references this bug: Author: sunpoet Date: Thu Jul 30 10:05:34 UTC 2020 New revision: 543784 URL: https://svnweb.freebsd.org/changeset/ports/543784 Log: MFH: r543783 Handle encoding properly - Process README.rst using UTF-8 - Use ASCII character instead of UTF-8 in pkg-descr - Bump PORTREVISION for package change PR: 248295 Submitted by: John W. O'Brien <john@saltant.com> Approved by: ports-secteam (blanket) Changes: _U branches/2020Q3/ branches/2020Q3/www/py-feedgenerator/Makefile branches/2020Q3/www/py-feedgenerator/files/ branches/2020Q3/www/py-feedgenerator/pkg-descr
Committed. Thanks!