Received: by mail.netbsd.org (Postfix, from userid 605) id 397E784D7C; Tue, 21 Jul 2020 10:15:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B696B84D67 for ; Tue, 21 Jul 2020 10:15:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id UcyTbveo87QY for ; Tue, 21 Jul 2020 10:15:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3D9C784CEC for ; Tue, 21 Jul 2020 10:15:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 36E24FB28; Tue, 21 Jul 2020 10:15:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159532654012280" MIME-Version: 1.0 Date: Tue, 21 Jul 2020 10:15:40 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-appdirs To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20200721101540.36E24FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159532654012280 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_159532654012280 Content-Disposition: inline Content-Length: 1978 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=utf-8 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 + 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. + --_----------=_159532654012280--