svn commit: r459511 - head/www/py-spyne/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jan 20 12:37:50 UTC 2018
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
More information about the svn-ports-all
mailing list