ports/devel/py-columnize/files/extra-patch-____pkginfo____.py
William Grzybowski fa7c499608 devel/py-columnize? add python 3 support
Approved by:	maintainer (via email)
2015-11-10 15:28:15 +00:00

11 lines
412 B
Python

--- __pkginfo__.py.orig 2015-10-27 08:06:17 UTC
+++ __pkginfo__.py
@@ -28,7 +28,7 @@ web = 'https://github.com/rocky/pycolumn
zip_safe = False
def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+ return open(os.path.join(os.path.dirname(__file__), *rnames), encoding='utf8').read()
readme = 'README.txt'
if os.path.exists('README.rst'): readme = 'README.rst'