pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue Mar  2 03:53:35 UTC 2021

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

Log Message:
(finance/py-eth-rlp) Fix UnicodeDecodeError: ascii codec..


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/py-eth-rlp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/py-eth-rlp/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-rlp/distinfo
diff -u pkgsrc/finance/py-eth-rlp/distinfo:1.1 pkgsrc/finance/py-eth-rlp/distinfo:1.2
--- pkgsrc/finance/py-eth-rlp/distinfo:1.1      Mon Feb  8 08:28:04 2021
+++ pkgsrc/finance/py-eth-rlp/distinfo  Tue Mar  2 03:53:34 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2021/02/08 08:28:04 adam Exp $
+$NetBSD: distinfo,v 1.2 2021/03/02 03:53:34 mef Exp $
 
 SHA1 (eth-rlp-0.2.1.tar.gz) = cffbfe42396c244c90cad352165c2b6d3ee4f98b
 RMD160 (eth-rlp-0.2.1.tar.gz) = 326dd47543fb71acbe1f935ef38b2e2add604e7e
 SHA512 (eth-rlp-0.2.1.tar.gz) = b00c12ec6a740205fad40f1e60fe7c621ac22e8d2c0e50c76aad76895cc4007b27a4d940e5eee3547be640d3b4dc8de7840bf4fbccd2df112651855f22ba415f
 Size (eth-rlp-0.2.1.tar.gz) = 5830 bytes
+SHA1 (patch-setup.py) = 86438ab241de1e44d10310bab62086b509877e6e

Added files:

Index: pkgsrc/finance/py-eth-rlp/patches/patch-setup.py
diff -u /dev/null pkgsrc/finance/py-eth-rlp/patches/patch-setup.py:1.1
--- /dev/null   Tue Mar  2 03:53:35 2021
+++ pkgsrc/finance/py-eth-rlp/patches/patch-setup.py    Tue Mar  2 03:53:35 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2021/03/02 03:53:35 mef Exp $
+
+Fix for  python 3.6 only,
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2014: ordinal not in range(128)
+
+--- setup.py.orig      2020-10-15 02:15:17.000000000 +0900
++++ setup.py   2021-03-02 12:49:23.056851863 +0900
+@@ -40,7 +40,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