pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-fasteners
Module Name: pkgsrc
Committed By: mef
Date: Mon Feb 15 14:18:35 UTC 2021
Modified Files:
pkgsrc/devel/py-fasteners: distinfo
Added Files:
pkgsrc/devel/py-fasteners/patches: patch-setup.py
Log Message:
(devel/py-fasteners) Build fix for py36
Silence following error (only for py36)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 429: ordinal not in range(128)
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-fasteners/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-fasteners/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-fasteners/distinfo
diff -u pkgsrc/devel/py-fasteners/distinfo:1.3 pkgsrc/devel/py-fasteners/distinfo:1.4
--- pkgsrc/devel/py-fasteners/distinfo:1.3 Sat Feb 13 21:42:51 2021
+++ pkgsrc/devel/py-fasteners/distinfo Mon Feb 15 14:18:35 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/02/13 21:42:51 adam Exp $
+$NetBSD: distinfo,v 1.4 2021/02/15 14:18:35 mef Exp $
SHA1 (fasteners-0.16.tar.gz) = 0215ae39130d3b6d2c27a0539e440fb455dfb9f5
RMD160 (fasteners-0.16.tar.gz) = b82b88a005e9a628b40664f2c3c3df0a62a0cb61
SHA512 (fasteners-0.16.tar.gz) = aac91be8f732bcda238c40317359c7faaad632b26473eff940fef0c6c2c227cd83942122c0ec26da236ca8c19d3024798590244ec761c2d2700ffdc7142533da
Size (fasteners-0.16.tar.gz) = 24824 bytes
+SHA1 (patch-setup.py) = 51d2b614b571194c8c695cb64960aa5900bf08a8
Added files:
Index: pkgsrc/devel/py-fasteners/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-fasteners/patches/patch-setup.py:1.1
--- /dev/null Mon Feb 15 14:18:35 2021
+++ pkgsrc/devel/py-fasteners/patches/patch-setup.py Mon Feb 15 14:18:35 2021
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2021/02/15 14:18:35 mef Exp $
+
+py36 gives following flag:
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 429: ordinal not in range(128)
+
+--- setup.py.orig 2020-12-17 03:03:32.000000000 +0900
++++ setup.py 2021-02-15 23:09:28.515008318 +0900
+@@ -18,10 +18,11 @@
+ # License for the specific language governing permissions and limitations
+ # under the License.
+
++import sys
+ from setuptools import find_packages
+ from setuptools import setup
+
+-with open("README.md", "r") as readme:
++with open("README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as readme:
+ long_description = readme.read()
+
+ install_requires = [
Home |
Main Index |
Thread Index |
Old Index