diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-10-23 09:55:09 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-10-23 09:55:09 +0000 |
commit | 5adb2d99c0f8c683a53563a6d0e6cc815c35143c (patch) | |
tree | 336a4c18b90e18ce70c31524ea5a56ee2fe02217 | |
parent | 05090f74e60425d6d7d8ae2bf67e6c600f603c56 (diff) | |
download | pkgsrc-5adb2d99c0f8c683a53563a6d0e6cc815c35143c.tar.gz |
py-rsa: Ensure previous fix works with python2.
-rw-r--r-- | security/py-rsa/distinfo | 4 | ||||
-rw-r--r-- | security/py-rsa/patches/patch-setup.py | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/security/py-rsa/distinfo b/security/py-rsa/distinfo index ee3396c6908..12e87536ea1 100644 --- a/security/py-rsa/distinfo +++ b/security/py-rsa/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2018/10/19 14:36:10 jperkin Exp $ +$NetBSD: distinfo,v 1.9 2018/10/23 09:55:09 jperkin Exp $ SHA1 (rsa-4.0.tar.gz) = 8a68dcee7bd2a7727c253b9ed2820cd1b5b9241a RMD160 (rsa-4.0.tar.gz) = 806f139f5b69af170c7a04977665cdf8d4c046c7 SHA512 (rsa-4.0.tar.gz) = e11106741cc4275246c986d39b3f028b5a4df6fbffdd08a78072ac3d3a9a7ade7a39789c504a2705f54d858a9bdbf03981251f32f9c45baba71e4a986e14b24e Size (rsa-4.0.tar.gz) = 37385 bytes -SHA1 (patch-setup.py) = b4b9884b04eb0e80a32936c41501e5b72d551e1c +SHA1 (patch-setup.py) = 8335daf31dd1acd8b47512b647f83196cfaa38d5 diff --git a/security/py-rsa/patches/patch-setup.py b/security/py-rsa/patches/patch-setup.py index 1e11552e1a3..c36e6abad46 100644 --- a/security/py-rsa/patches/patch-setup.py +++ b/security/py-rsa/patches/patch-setup.py @@ -1,12 +1,14 @@ -$NetBSD: patch-setup.py,v 1.1 2018/10/19 14:36:10 jperkin Exp $ +$NetBSD: patch-setup.py,v 1.2 2018/10/23 09:55:09 jperkin Exp $ Pull in fix from https://github.com/sybrenstuvel/python-rsa/pull/122/files --- setup.py.orig 2018-09-16 11:39:35.000000000 +0000 +++ setup.py -@@ -16,7 +16,7 @@ +@@ -15,8 +15,9 @@ + # limitations under the License. from setuptools import setup ++from io import open -with open('README.md') as f: +with open('README.md', 'r', encoding='utf-8') as f: |