Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-gandi.cli Explicitly read file as UTF-8
details: https://anonhg.NetBSD.org/pkgsrc/rev/fccf61a61a09
branches: trunk
changeset: 433239:fccf61a61a09
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun May 31 20:50:18 2020 +0000
description:
Explicitly read file as UTF-8
diffstat:
net/py-gandi.cli/distinfo | 3 ++-
net/py-gandi.cli/patches/patch-setup.py | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 2ced2d7ba73f -r fccf61a61a09 net/py-gandi.cli/distinfo
--- a/net/py-gandi.cli/distinfo Sun May 31 20:49:32 2020 +0000
+++ b/net/py-gandi.cli/distinfo Sun May 31 20:50:18 2020 +0000
@@ -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 -r 2ced2d7ba73f -r fccf61a61a09 net/py-gandi.cli/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-gandi.cli/patches/patch-setup.py Sun May 31 20:50:18 2020 +0000
@@ -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()
+
+
Home |
Main Index |
Thread Index |
Old Index