pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/py-eth-rlp py-eth-rlp: patch for Python 3.6 is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cbb6a3e24d4
branches:  trunk
changeset: 771944:1cbb6a3e24d4
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 30 13:39:41 2021 +0000

description:
py-eth-rlp: patch for Python 3.6 is no longer needed

diffstat:

 finance/py-eth-rlp/distinfo               |   3 +--
 finance/py-eth-rlp/patches/patch-setup.py |  23 -----------------------
 2 files changed, 1 insertions(+), 25 deletions(-)

diffs (38 lines):

diff -r 3994b733d369 -r 1cbb6a3e24d4 finance/py-eth-rlp/distinfo
--- a/finance/py-eth-rlp/distinfo       Thu Dec 30 13:39:00 2021 +0000
+++ b/finance/py-eth-rlp/distinfo       Thu Dec 30 13:39:41 2021 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:26:04 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/30 13:39:41 adam Exp $
 
 BLAKE2s (eth-rlp-0.2.1.tar.gz) = ca64eee6ba4fe3fcf53aec4d622add68b4ec2c769e2d7d0689c5466740dae6da
 SHA512 (eth-rlp-0.2.1.tar.gz) = b00c12ec6a740205fad40f1e60fe7c621ac22e8d2c0e50c76aad76895cc4007b27a4d940e5eee3547be640d3b4dc8de7840bf4fbccd2df112651855f22ba415f
 Size (eth-rlp-0.2.1.tar.gz) = 5830 bytes
-SHA1 (patch-setup.py) = 634a1a4f4ffea0266589e230bf83030d7f2e91d3
diff -r 3994b733d369 -r 1cbb6a3e24d4 finance/py-eth-rlp/patches/patch-setup.py
--- a/finance/py-eth-rlp/patches/patch-setup.py Thu Dec 30 13:39:00 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2021/03/02 04:03:31 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 13:01:58.145270773 +0900
-@@ -1,5 +1,6 @@
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
-+import sys
- from setuptools import (
-     setup,
-     find_packages,
-@@ -40,7 +41,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