summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-05-31 20:50:18 +0000
committerjoerg <joerg@pkgsrc.org>2020-05-31 20:50:18 +0000
commitf492be8629a19ef9445f5568486fbb434e8a1015 (patch)
tree7947a1ca0e11ebf61dde6711075f1ee442875cd9 /net
parent3a12f273afbd3bb33cb31b8be3a0fd7ede82c05e (diff)
downloadpkgsrc-f492be8629a19ef9445f5568486fbb434e8a1015.tar.gz
Explicitly read file as UTF-8
Diffstat (limited to 'net')
-rw-r--r--net/py-gandi.cli/distinfo3
-rw-r--r--net/py-gandi.cli/patches/patch-setup.py13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/py-gandi.cli/distinfo b/net/py-gandi.cli/distinfo
index 87d373619e5..2de3a1c4022 100644
--- a/net/py-gandi.cli/distinfo
+++ b/net/py-gandi.cli/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/03/25 16:19:48 riastradh Exp $
+$NetBSD: distinfo,v 1.3 2020/05/31 20:50:18 joerg Exp $
SHA1 (gandi.cli/1.5.tar.gz) = 16f19aacb49945777a41a8fced0e8e05b3b50da4
RMD160 (gandi.cli/1.5.tar.gz) = c64618f7f248d0b296bbb8f0d2092412218f6d1f
SHA512 (gandi.cli/1.5.tar.gz) = cdcaf4441c253a465e73e6b108ea2e348d5943308263f3d190ef82279aa340378e9c576d71c5d03cf60e4d7586b0282a5a804078129ec96af34e80d5919d6a89
Size (gandi.cli/1.5.tar.gz) = 167825 bytes
+SHA1 (patch-setup.py) = fe5bbd736b48b2620f33f8dba083015ad0f17a32
diff --git a/net/py-gandi.cli/patches/patch-setup.py b/net/py-gandi.cli/patches/patch-setup.py
new file mode 100644
index 00000000000..9dac5dd1f57
--- /dev/null
+++ b/net/py-gandi.cli/patches/patch-setup.py
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2020/05/31 20:50:18 joerg Exp $
+
+--- setup.py.orig 2020-05-31 18:04:01.913694430 +0000
++++ setup.py
+@@ -9,7 +9,7 @@ from setuptools import setup, find_packa
+ from setuptools.command.test import test as TestCommand
+
+ here = os.path.abspath(os.path.dirname(__file__))
+-README = open(os.path.join(here, 'README.md')).read()
++README = open(os.path.join(here, 'README.md'), **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read()
+ CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
+
+