pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-bracex
Module Name: pkgsrc
Committed By: mef
Date: Sun Sep 26 15:21:30 UTC 2021
Modified Files:
pkgsrc/textproc/py-bracex: distinfo
Added Files:
pkgsrc/textproc/py-bracex/patches: patch-setup.py
Log Message:
(textproc/py-bracex) fix build with py36, can not decode..
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-bracex/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-bracex/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/textproc/py-bracex/distinfo
diff -u pkgsrc/textproc/py-bracex/distinfo:1.1 pkgsrc/textproc/py-bracex/distinfo:1.2
--- pkgsrc/textproc/py-bracex/distinfo:1.1 Fri May 28 04:22:58 2021
+++ pkgsrc/textproc/py-bracex/distinfo Sun Sep 26 15:21:30 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2021/05/28 04:22:58 adam Exp $
+$NetBSD: distinfo,v 1.2 2021/09/26 15:21:30 mef Exp $
SHA1 (bracex-2.1.1.tar.gz) = a592635ea4869161b39e62a3e34ac4c22648dfcd
RMD160 (bracex-2.1.1.tar.gz) = ecb8735123a512686b5b07fa243ecbe7111af276
SHA512 (bracex-2.1.1.tar.gz) = d34a50e6565e1ecdb1c645d047351d907f57ab73614743be18495eb873449a2604f7dfd528e1221f71f7e709e0651cdb5d19605d24cad578bee85543c4a79c9e
Size (bracex-2.1.1.tar.gz) = 26628 bytes
+SHA1 (patch-setup.py) = b10cfc0f074d9c61e96cb46c5b78ec05ddc21756
Added files:
Index: pkgsrc/textproc/py-bracex/patches/patch-setup.py
diff -u /dev/null pkgsrc/textproc/py-bracex/patches/patch-setup.py:1.1
--- /dev/null Sun Sep 26 15:21:30 2021
+++ pkgsrc/textproc/py-bracex/patches/patch-setup.py Sun Sep 26 15:21:30 2021
@@ -0,0 +1,24 @@
+$NetBSD: patch-setup.py,v 1.1 2021/09/26 15:21:30 mef Exp $
+
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 356: ordinal not in range(128)
+*** Error code 1
+
+--- setup.py.orig 2021-09-27 00:10:19.151518709 +0900
++++ setup.py 2021-09-27 00:16:39.319538592 +0900
+@@ -3,6 +3,7 @@
+ """Setup package."""
+ from setuptools import setup, find_packages
+ import os
++import sys
+ import importlib
+
+
+@@ -31,7 +32,7 @@ def get_requirements(req):
+ def get_description():
+ """Get long description."""
+
+- with open("README.md", 'r') as f:
++ with open("README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
+ desc = f.read()
+ return desc
+
Home |
Main Index |
Thread Index |
Old Index