Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id E5B691A9239 for ; Thu, 16 Dec 2021 13:23:39 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 03BFB84F56; Thu, 16 Dec 2021 13:23:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3DF2184E68 for ; Thu, 16 Dec 2021 13:23:38 +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 N2F54v_yJ_Ah for ; Thu, 16 Dec 2021 13:23:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A5A8984D27 for ; Thu, 16 Dec 2021 13:23:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 9F939FAEC; Thu, 16 Dec 2021 13:23:37 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_163966101734190" MIME-Version: 1.0 Date: Thu, 16 Dec 2021 13:23:37 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-gitinspector-devel To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20211216132337.9F939FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_163966101734190 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Thu Dec 16 13:23:37 UTC 2021 Modified Files: pkgsrc/devel/py-gitinspector-devel: distinfo Added Files: pkgsrc/devel/py-gitinspector-devel/patches: patch-gitinspector_localization.py Log Message: py-gitinspector-devel: fix build Using patch from py-gitinspector To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-gitinspector-devel/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/py-gitinspector-devel/patches/patch-gitinspector_localization.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_163966101734190 Content-Disposition: inline Content-Length: 2270 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-gitinspector-devel/distinfo diff -u pkgsrc/devel/py-gitinspector-devel/distinfo:1.3 pkgsrc/devel/py-gitinspector-devel/distinfo:1.4 --- pkgsrc/devel/py-gitinspector-devel/distinfo:1.3 Tue Oct 26 10:18:30 2021 +++ pkgsrc/devel/py-gitinspector-devel/distinfo Thu Dec 16 13:23:37 2021 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 10:18:30 nia Exp $ +$NetBSD: distinfo,v 1.4 2021/12/16 13:23:37 wiz Exp $ BLAKE2s (gitinspector-0.5.0.dev0-6d77989e341e043c9a7f09757000d75701b32d84.tar.gz) = 69c2c26f3efb7d6ddafcaca45d98100c6cc9cbd46ae33c8b031e6f919ec94905 SHA512 (gitinspector-0.5.0.dev0-6d77989e341e043c9a7f09757000d75701b32d84.tar.gz) = 827d9c9004fb39b05b3cb394175ac356f73536980a3c5c673b441619a251729bc826432e1e19d52d774269b203219d2df8d5ed0482e6744e3e584d36e97269a8 Size (gitinspector-0.5.0.dev0-6d77989e341e043c9a7f09757000d75701b32d84.tar.gz) = 320835 bytes +SHA1 (patch-gitinspector_localization.py) = 3eeeb543054e555d4c4111e041d91f7e6473de9f Added files: Index: pkgsrc/devel/py-gitinspector-devel/patches/patch-gitinspector_localization.py diff -u /dev/null pkgsrc/devel/py-gitinspector-devel/patches/patch-gitinspector_localization.py:1.1 --- /dev/null Thu Dec 16 13:23:37 2021 +++ pkgsrc/devel/py-gitinspector-devel/patches/patch-gitinspector_localization.py Thu Dec 16 13:23:37 2021 @@ -0,0 +1,31 @@ +$NetBSD: patch-gitinspector_localization.py,v 1.1 2021/12/16 13:23:37 wiz Exp $ + +Build fix for python >=3.8 +https://github.com/ejwa/gitinspector/issues/216 + +--- gitinspector/localization.py.orig 2016-02-03 13:25:05.000000000 +0000 ++++ gitinspector/localization.py +@@ -73,7 +73,7 @@ def init(): + + __enabled__ = True + __installed__ = True +- __translation__.install(True) ++ __translation__.install() + + def check_compatibility(version): + if isinstance(__translation__, gettext.GNUTranslations): +@@ -98,7 +98,7 @@ def get_date(): + + def enable(): + if isinstance(__translation__, gettext.GNUTranslations): +- __translation__.install(True) ++ __translation__.install() + + global __enabled__ + __enabled__ = True +@@ -108,4 +108,4 @@ def disable(): + __enabled__ = False + + if __installed__: +- gettext.NullTranslations().install(True) ++ gettext.NullTranslations().install() --_----------=_163966101734190--