pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-gitinspector-devel
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.
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()
Home |
Main Index |
Thread Index |
Old Index