pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/py-cairosvg No encoding parameter on Python...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05200265c9f6
branches:  trunk
changeset: 367200:05200265c9f6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 25 20:01:34 2017 +0000

description:
No encoding parameter on Python 2.7.

diffstat:

 converters/py-cairosvg/distinfo               |   3 ++-
 converters/py-cairosvg/patches/patch-setup.py |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 4bcca67eaabb -r 05200265c9f6 converters/py-cairosvg/distinfo
--- a/converters/py-cairosvg/distinfo   Fri Aug 25 18:54:26 2017 +0000
+++ b/converters/py-cairosvg/distinfo   Fri Aug 25 20:01:34 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/07/14 17:02:20 adam Exp $
+$NetBSD: distinfo,v 1.8 2017/08/25 20:01:34 joerg Exp $
 
 SHA1 (CairoSVG-2.0.3.tar.gz) = 5e6fa20e71e729da6635f45f21b340368a1afcd6
 RMD160 (CairoSVG-2.0.3.tar.gz) = 09c5656f0d7be462d47d321d4be52561646a13bb
 SHA512 (CairoSVG-2.0.3.tar.gz) = b7ad7be9bd06059392f2004e7cd5c1df1667dbae78482c68d681990a8b3a4141a9c4b72aa4af5075a87ac6a1a4ddf8311d991512be98128b21b87d4355c1bd3d
 Size (CairoSVG-2.0.3.tar.gz) = 39371 bytes
+SHA1 (patch-setup.py) = f47acf7b801518c9be2df2feaedb44554f264ad8
diff -r 4bcca67eaabb -r 05200265c9f6 converters/py-cairosvg/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-cairosvg/patches/patch-setup.py     Fri Aug 25 20:01:34 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2017/08/25 20:01:34 joerg Exp $
+
+--- setup.py.orig      2017-08-25 16:01:40.820727909 +0000
++++ setup.py
+@@ -21,7 +21,7 @@ from os import path
+ from setuptools import setup
+ 
+ init_path = path.join(path.dirname(__file__), 'cairosvg', '__init__.py')
+-with open(init_path, 'r', encoding='utf-8') as fd:
++with open(init_path, 'r') as fd:
+     version = re.search("__version__ = '([^']+)'", fd.read().strip()).group(1)
+ 
+ needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)



Home | Main Index | Thread Index | Old Index