diff options
Diffstat (limited to 'devel/py-test-testmon/patches')
-rw-r--r-- | devel/py-test-testmon/patches/patch-setup.py | 16 | ||||
-rw-r--r-- | devel/py-test-testmon/patches/patch-setup.py.orig | 0 |
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/py-test-testmon/patches/patch-setup.py b/devel/py-test-testmon/patches/patch-setup.py new file mode 100644 index 00000000000..2e421bd4f27 --- /dev/null +++ b/devel/py-test-testmon/patches/patch-setup.py @@ -0,0 +1,16 @@ +$NetBSD: patch-setup.py,v 1.1 2020/05/31 20:49:33 joerg Exp $ + +--- setup.py.orig 2020-05-31 17:59:09.409031695 +0000 ++++ setup.py +@@ -1,9 +1,10 @@ ++import sys + from setuptools import setup + + setup( + name='pytest-testmon', + description='find bugs 10x faster', +- long_description=''.join(open('README.rst').readlines()), ++ long_description=''.join(open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).readlines()), + version='0.9.19', + license='MIT', + platforms=['linux', 'osx', 'win32'], diff --git a/devel/py-test-testmon/patches/patch-setup.py.orig b/devel/py-test-testmon/patches/patch-setup.py.orig new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/devel/py-test-testmon/patches/patch-setup.py.orig |