Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Fix Python 3.6 build
details: https://anonhg.NetBSD.org/pkgsrc/rev/954176c1c3e9
branches: trunk
changeset: 437598:954176c1c3e9
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 27 12:28:06 2020 +0000
description:
Fix Python 3.6 build
diffstat:
converters/py-zfec/distinfo | 3 ++-
converters/py-zfec/patches/patch-setup.py | 13 +++++++++++++
textproc/py-deepdiff/distinfo | 3 ++-
textproc/py-deepdiff/patches/patch-setup.py | 13 +++++++++++++
4 files changed, 30 insertions(+), 2 deletions(-)
diffs (58 lines):
diff -r e8c1ffea341b -r 954176c1c3e9 converters/py-zfec/distinfo
--- a/converters/py-zfec/distinfo Thu Aug 27 12:27:23 2020 +0000
+++ b/converters/py-zfec/distinfo Thu Aug 27 12:28:06 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/06/29 15:55:52 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/08/27 12:28:06 joerg Exp $
SHA1 (zfec-1.5.3.tar.gz) = 113df9685c667c844c8224121741f4a5386e9207
RMD160 (zfec-1.5.3.tar.gz) = df7b9d7ad21f3d9c4fdb34dea0acb1fe00d90dd3
SHA512 (zfec-1.5.3.tar.gz) = 1aee0740b370025cf5c24dca0decd9d87b83311d408198f97aa7b2361a2ebc1e5f1c34015ee72456144667842f20dcbc12e5f788c54942e4489d5e355c2706bd
Size (zfec-1.5.3.tar.gz) = 79402 bytes
+SHA1 (patch-setup.py) = b2384bd72f82a6fb17e8231a9426c3e10670e365
diff -r e8c1ffea341b -r 954176c1c3e9 converters/py-zfec/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-zfec/patches/patch-setup.py Thu Aug 27 12:28:06 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:28:06 joerg Exp $
+
+--- setup.py.orig 2020-08-26 11:55:49.857831827 +0000
++++ setup.py
+@@ -57,7 +57,7 @@ setup(
+ name="zfec",
+ version=versioneer.get_version(),
+ description="An efficient, portable erasure coding tool",
+- long_description=open('README.rst', 'rU').read(),
++ long_description=open('README.rst', 'rU', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read(),
+ url="https://github.com/tahoe-lafs/zfec",
+ install_requires=[
+ "pyutil >= 3.0.0",
diff -r e8c1ffea341b -r 954176c1c3e9 textproc/py-deepdiff/distinfo
--- a/textproc/py-deepdiff/distinfo Thu Aug 27 12:27:23 2020 +0000
+++ b/textproc/py-deepdiff/distinfo Thu Aug 27 12:28:06 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2020/07/27 16:51:52 adam Exp $
+$NetBSD: distinfo,v 1.8 2020/08/27 12:28:47 joerg Exp $
SHA1 (deepdiff-5.0.2.tar.gz) = 1d1484d74f22a43b32db7f6806509d7dd96bb8c7
RMD160 (deepdiff-5.0.2.tar.gz) = 1cfd4d27219fe8b01db5dbca91e7ece0cba1fa70
SHA512 (deepdiff-5.0.2.tar.gz) = 2211903eefc49cdd4d926c2e3a83fe1e6d7891404a35e10e73be9dc7801d2b6d83f30630e501658c67450ed014227c5d13c3b19489fbb34b3afa836369d5f8f5
Size (deepdiff-5.0.2.tar.gz) = 357103 bytes
+SHA1 (patch-setup.py) = ccf3596de4113679f4ed6bbc8f1bc3ebf6232aa5
diff -r e8c1ffea341b -r 954176c1c3e9 textproc/py-deepdiff/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-deepdiff/patches/patch-setup.py Thu Aug 27 12:28:06 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:28:47 joerg Exp $
+
+--- setup.py.orig 2020-08-26 11:48:18.731049062 +0000
++++ setup.py
+@@ -22,7 +22,7 @@ def get_reqs(filename):
+
+ reqs = get_reqs("requirements.txt")
+
+-with open('README.md') as file:
++with open('README.md', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as file:
+ long_description = file.read()
+
+
Home |
Main Index |
Thread Index |
Old Index