pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-appdirs
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jul 21 10:15:40 UTC 2020
Modified Files:
pkgsrc/devel/py-appdirs: distinfo
Added Files:
pkgsrc/devel/py-appdirs/patches: patch-appdirs.py
Log Message:
py-appdirs: fix build with python 3.6.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-appdirs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-appdirs/patches/patch-appdirs.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-appdirs/distinfo
diff -u pkgsrc/devel/py-appdirs/distinfo:1.4 pkgsrc/devel/py-appdirs/distinfo:1.5
--- pkgsrc/devel/py-appdirs/distinfo:1.4 Wed Jul 8 14:45:48 2020
+++ pkgsrc/devel/py-appdirs/distinfo Tue Jul 21 10:15:39 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2020/07/08 14:45:48 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/07/21 10:15:39 wiz Exp $
SHA1 (appdirs-1.4.4.tar.gz) = 1fa04e44b1084338cb7b21e9cf44fce5efb81840
RMD160 (appdirs-1.4.4.tar.gz) = 9cb319eaad2555f163855a2d14bc8104f741496e
SHA512 (appdirs-1.4.4.tar.gz) = 8b0cdd9fd471d45b186aa47607691cf378dabd3edc7b7026a57bd6d6f57698e86f440818a5e23ba4288b35d6bb8cb6eb0106eae8aab09d8863ee15025d300883
Size (appdirs-1.4.4.tar.gz) = 13470 bytes
+SHA1 (patch-appdirs.py) = 1e46bd11ddfed14db104659d8463d14f09db9eaf
Added files:
Index: pkgsrc/devel/py-appdirs/patches/patch-appdirs.py
diff -u /dev/null pkgsrc/devel/py-appdirs/patches/patch-appdirs.py:1.1
--- /dev/null Tue Jul 21 10:15:40 2020
+++ pkgsrc/devel/py-appdirs/patches/patch-appdirs.py Tue Jul 21 10:15:39 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-appdirs.py,v 1.1 2020/07/21 10:15:39 wiz Exp $
+
+Only use ASCII, to avoid with python36:
+
+Traceback (most recent call last):
+ File "setup.py", line 25, in <module>
+ for line in read("appdirs.py").splitlines():
+ File "setup.py", line 19, in read
+ out = "\n" + inf.read().replace("\r\n", "\n")
+ File "/usr/pkg/lib/python3.6/encodings/ascii.py", line 26, in decode
+ return codecs.ascii_decode(input, self.errors)[0]
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 129: ordinal not in range(128)
+
+--- appdirs.py.orig 2020-05-10 23:54:42.000000000 +0000
++++ appdirs.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ # -*- coding: utf-8 -*-
+ # Copyright (c) 2005-2010 ActiveState Software Inc.
+-# Copyright (c) 2013 Eddy Petrișor
++# Copyright (c) 2013 Eddy Petrisor
+
+ """Utilities for determining application-specific dirs.
+
Home |
Main Index |
Thread Index |
Old Index