mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Use patch from upstream
This commit is contained in:
parent
45d713621d
commit
f56063772f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459511
1 changed files with 4 additions and 10 deletions
|
@ -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 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
+import codecs
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
@@ -48,7 +49,7 @@ protocols and transports.
|
||||
@@ -48,7 +48,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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue