pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/py-eth-utils
Module Name: pkgsrc
Committed By: mef
Date: Thu Feb 18 12:35:03 UTC 2021
Modified Files:
pkgsrc/finance/py-eth-utils: distinfo
Added Files:
pkgsrc/finance/py-eth-utils/patches: patch-setup.py
Log Message:
(finance/py-eth-utils) Fix build by py36, UnicodeDecodeError:
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/finance/py-eth-utils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/py-eth-utils/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-utils/distinfo
diff -u pkgsrc/finance/py-eth-utils/distinfo:1.2 pkgsrc/finance/py-eth-utils/distinfo:1.3
--- pkgsrc/finance/py-eth-utils/distinfo:1.2 Sun Feb 7 20:01:35 2021
+++ pkgsrc/finance/py-eth-utils/distinfo Thu Feb 18 12:35:02 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/02/07 20:01:35 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/02/18 12:35:02 mef Exp $
SHA1 (eth-utils-1.10.0.tar.gz) = e359f87592cb64639abca695e7c7cb7a9e9b3ad9
RMD160 (eth-utils-1.10.0.tar.gz) = b03c1cebbf2392fb0ebd691e6fb5a07ecda3d446
SHA512 (eth-utils-1.10.0.tar.gz) = 910f6d1e89c17415141e0d67c9ae915272c1709b6b691a7c5661d308d0a854c84d7d5644f4d968e7c3fba8ff38101fd8ce63134b16f845e640874de1201717f4
Size (eth-utils-1.10.0.tar.gz) = 4602591 bytes
+SHA1 (patch-setup.py) = 6a7906a300f7d7023bbee0dbc983626c888b06e8
Added files:
Index: pkgsrc/finance/py-eth-utils/patches/patch-setup.py
diff -u /dev/null pkgsrc/finance/py-eth-utils/patches/patch-setup.py:1.1
--- /dev/null Thu Feb 18 12:35:03 2021
+++ pkgsrc/finance/py-eth-utils/patches/patch-setup.py Thu Feb 18 12:35:03 2021
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2021/02/18 12:35:03 mef Exp $
+
+py36 gives following flag:
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2119: ordinal not in range(128)
+
+--- setup.py.orig 2021-01-22 07:56:32.000000000 +0900
++++ setup.py 2021-02-18 21:31:28.038465408 +0900
+@@ -1,5 +1,6 @@
+ #!/usr/bin/env python
+ # -*- coding: utf-8 -*-
++import sys
+ from setuptools import (
+ setup,
+ find_packages,
+@@ -42,7 +43,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