From owner-svn-ports-all@freebsd.org Sat Jan 20 12:37:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41682ECEFED; Sat, 20 Jan 2018 12:37:50 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1453F77C69; Sat, 20 Jan 2018 12:37:50 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4A2121C6E1; Sat, 20 Jan 2018 12:37:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KCbnWE001879; Sat, 20 Jan 2018 12:37:49 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0KCbnlV001878; Sat, 20 Jan 2018 12:37:49 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801201237.w0KCbnlV001878@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 20 Jan 2018 12:37:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459511 - head/www/py-spyne/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/py-spyne/files X-SVN-Commit-Revision: 459511 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 12:37:50 -0000 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