pkgsrc-Changes archive

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

CVS commit: pkgsrc/finance/py-eth-typing



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Feb 15 15:14:56 UTC 2021

Modified Files:
        pkgsrc/finance/py-eth-typing: distinfo
Added Files:
        pkgsrc/finance/py-eth-typing/patches: patch-setup.py

Log Message:
(finance/py-eth-typing) build fix for py36 (others were OK)

py36 flags as follows:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2071: ordinal not in range(128)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/finance/py-eth-typing/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/py-eth-typing/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/py-eth-typing/distinfo
diff -u pkgsrc/finance/py-eth-typing/distinfo:1.2 pkgsrc/finance/py-eth-typing/distinfo:1.3
--- pkgsrc/finance/py-eth-typing/distinfo:1.2   Sun Feb  7 19:37:40 2021
+++ pkgsrc/finance/py-eth-typing/distinfo       Mon Feb 15 15:14:56 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/02/07 19:37:40 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/02/15 15:14:56 mef Exp $
 
 SHA1 (eth-typing-2.2.2.tar.gz) = 2aad0084f49f44d0903a6f801af33ce5397b2159
 RMD160 (eth-typing-2.2.2.tar.gz) = 35da4506b5f91f96022df3d14c8c18f0c0bf0c67
 SHA512 (eth-typing-2.2.2.tar.gz) = 79185a1a940b776cc350c6b5e3506d6fa27a3cc6d8ea233f59e9b1696589c62f8af777f0b9d90be6ba4045cc456cd0ab972a12c67120ddb2d302cb111e82dffe
 Size (eth-typing-2.2.2.tar.gz) = 5378 bytes
+SHA1 (patch-setup.py) = 674c387c0f6d42829499cfe1ee60bbb1642e46bc

Added files:

Index: pkgsrc/finance/py-eth-typing/patches/patch-setup.py
diff -u /dev/null pkgsrc/finance/py-eth-typing/patches/patch-setup.py:1.1
--- /dev/null   Mon Feb 15 15:14:56 2021
+++ pkgsrc/finance/py-eth-typing/patches/patch-setup.py Mon Feb 15 15:14:56 2021
@@ -0,0 +1,22 @@
+$NetBSD: patch-setup.py,v 1.1 2021/02/15 15:14:56 mef Exp $
+
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2071: ordinal not in range(128)
+
+--- setup.py.orig      2020-09-03 09:31:05.000000000 +0900
++++ setup.py   2021-02-16 00:03:32.721946377 +0900
+@@ -1,5 +1,6 @@
+ #!/usr/bin/env python
+ # -*- coding: utf-8 -*-
++import sys
+ from setuptools import (
+     setup,
+     find_packages,
+@@ -38,7 +39,7 @@ extras_require['dev'] = (
+ )
+ 
+ 
+-with open('./README.md') as readme:
++with open("./README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as readme:
+     long_description = readme.read()
+ 
+ 



Home | Main Index | Thread Index | Old Index