Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-markovify Fix Python 3.6 build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4003f25554f2
branches:  trunk
changeset: 436906:4003f25554f2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Aug 11 18:43:20 2020 +0000

description:
Fix Python 3.6 build.

diffstat:

 textproc/py-markovify/distinfo               |   3 ++-
 textproc/py-markovify/patches/patch-setup.py |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 7897d876421e -r 4003f25554f2 textproc/py-markovify/distinfo
--- a/textproc/py-markovify/distinfo    Tue Aug 11 18:42:49 2020 +0000
+++ b/textproc/py-markovify/distinfo    Tue Aug 11 18:43:20 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2020/06/18 12:26:24 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/08/11 18:43:20 joerg Exp $
 
 SHA1 (markovify-0.8.2.tar.gz) = ed1f3f9cc7cf3e5058e9c0f32a36161285b4edc9
 RMD160 (markovify-0.8.2.tar.gz) = d5259e4c9899afe7d6cb8d92fa0b54620042c19c
 SHA512 (markovify-0.8.2.tar.gz) = b424db9392edcee06df21238d737871be963fad733823934b7eef0aa47c35a8d29939dfc9c111d591ab0b7fd0999d7f9ac5a6d78d8272b870e3f50e0bb80c6fb
 Size (markovify-0.8.2.tar.gz) = 27461 bytes
+SHA1 (patch-setup.py) = 47a72e6ed6f86274862341dc342f4beab93cf50c
diff -r 7897d876421e -r 4003f25554f2 textproc/py-markovify/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-markovify/patches/patch-setup.py      Tue Aug 11 18:43:20 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2020/08/11 18:43:20 joerg Exp $
+
+--- setup.py.orig      2020-06-17 13:28:07.000000000 +0000
++++ setup.py
+@@ -8,7 +8,7 @@ version_ns = {}
+ with open(os.path.join(HERE, NAME, '__version__.py')) as f:
+     exec(f.read(), {}, version_ns)
+ 
+-with open(os.path.join(HERE, 'README.md')) as f:
++with open(os.path.join(HERE, 'README.md'), **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
+     long_description = f.read()
+ 
+ setup(



Home | Main Index | Thread Index | Old Index