Date: Sat, 20 Jan 2018 12:37:49 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459511 - head/www/py-spyne/files Message-ID: <201801201237.w0KCbnlV001878@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Jan 20 12:37:48 2018 New Revision: 459511 URL: https://svnweb.freebsd.org/changeset/ports/459511 Log: Use patch from upstream Modified: head/www/py-spyne/files/patch-setup.py Modified: head/www/py-spyne/files/patch-setup.py ============================================================================== --- head/www/py-spyne/files/patch-setup.py Sat Jan 20 11:56:14 2018 (r459510) +++ head/www/py-spyne/files/patch-setup.py Sat Jan 20 12:37:48 2018 (r459511) @@ -1,19 +1,13 @@ +Obtained from: https://github.com/arskom/spyne/commit/4b89a21f9af72f07628d2ecd114c308987acc0e1 + --- setup.py.orig 2016-10-28 11:15:20 UTC +++ setup.py -@@ -3,6 +3,7 @@ +@@ -48,7 +48,7 @@ protocols and transports. - from __future__ import print_function - -+import codecs - import os - import re - import sys -@@ -48,7 +49,7 @@ protocols and transports. - try: os.stat('CHANGELOG.rst') - LONG_DESC += "\n\n" + open('CHANGELOG.rst', 'r').read() -+ LONG_DESC += "\n\n" + codecs.open('CHANGELOG.rst', 'r', encoding='utf-8').read() ++ LONG_DESC += u"\n\n" + open('CHANGELOG.rst', 'rb').read().decode('utf8') except OSError: pass
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201237.w0KCbnlV001878>