FreeBSD Bugzilla – Attachment 179398 Details for
Bug 216208
textproc/py-tabletext: configure target fails under py3k with UnicodeDecodeError
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
textproc/py-tabletext: Specify encoding of files in setup.py
patch-textproc_py-tabletext.txt (text/plain), 1.35 KB, created by
John W. O'Brien
on 2017-01-29 15:35:05 UTC
(
hide
)
Description:
textproc/py-tabletext: Specify encoding of files in setup.py
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2017-01-29 15:35:05 UTC
Size:
1.35 KB
patch
obsolete
>Index: textproc/py-tabletext/files/patch-setup.py >=================================================================== >--- textproc/py-tabletext/files/patch-setup.py (nonexistent) >+++ textproc/py-tabletext/files/patch-setup.py (working copy) >@@ -0,0 +1,23 @@ >+--- setup.py.orig 2014-08-14 18:05:14 UTC >++++ setup.py >+@@ -1,13 +1,18 @@ >+ #!/usr/bin/env python >+ >+ from setuptools import setup >++import sys >++ >++open_kwargs = {} >++if sys.version_info.major >= 3: >++ open_kwargs['encoding'] = 'utf8' >+ >+ setup(name='tabletext', >+ version='0.1', >+ description='Python library and command line utility to pretty-print\ >+ tabular data', >+- long_description=open("README.rst").read() + "\n" >+- + open("CHANGELOG.rst").read(), >++ long_description=open("README.rst", **open_kwargs).read() + "\n" >++ + open("CHANGELOG.rst", **open_kwargs).read(), >+ url='https://github.com/Thibauth/tabletext', >+ author='Thibaut Horel', >+ author_email='thibaut.horel+tabletext@gmail.com', > >Property changes on: textproc/py-tabletext/files/patch-setup.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
john
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 216208
:
179022
| 179398