From owner-svn-ports-all@freebsd.org Tue Mar 30 19:16:58 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9C5745AA8C9; Tue, 30 Mar 2021 19:16:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8zhn5RNcz3DGP; Tue, 30 Mar 2021 19:16:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 149EC3F16; Tue, 30 Mar 2021 19:16:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UJGuKT004295; Tue, 30 Mar 2021 19:16:56 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12UJGuxt004293; Tue, 30 Mar 2021 19:16:56 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202103301916.12UJGuxt004293@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 30 Mar 2021 19:16:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569587 - in head/devel/gitinspector: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/gitinspector: . files X-SVN-Commit-Revision: 569587 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 19:16:59 -0000 Author: sunpoet Date: Tue Mar 30 19:16:56 2021 New Revision: 569587 URL: https://svnweb.freebsd.org/changeset/ports/569587 Log: Fix build with Python 3.8+ - Bump PORTREVISION for package change PR: 254504 Submitted by: kai Obtained from: https://sources.debian.org/data/main/g/gitinspector/0.4.4+dfsg-9/debian/patches/Drop-superfluous-argument-to-NullTranslations.install.patch Reference: https://github.com/ejwa/gitinspector/issues/213#issuecomment-722732702 Added: head/devel/gitinspector/files/ head/devel/gitinspector/files/patch-gitinspector-localization.py (contents, props changed) Modified: head/devel/gitinspector/Makefile Modified: head/devel/gitinspector/Makefile ============================================================================== --- head/devel/gitinspector/Makefile Tue Mar 30 19:16:51 2021 (r569586) +++ head/devel/gitinspector/Makefile Tue Mar 30 19:16:56 2021 (r569587) @@ -3,7 +3,7 @@ PORTNAME= gitinspector PORTVERSION= 0.4.4 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} Added: head/devel/gitinspector/files/patch-gitinspector-localization.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitinspector/files/patch-gitinspector-localization.py Tue Mar 30 19:16:56 2021 (r569587) @@ -0,0 +1,29 @@ +Obtained from: https://sources.debian.org/data/main/g/gitinspector/0.4.4+dfsg-9/debian/patches/Drop-superfluous-argument-to-NullTranslations.install.patch +Reference: https://github.com/ejwa/gitinspector/issues/213#issuecomment-722732702 + +--- gitinspector/localization.py.orig 2016-02-03 13:25:05 UTC ++++ 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()