aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-11-23 11:08:57 +0100
committerSebastian Pipping <sping@gentoo.org>2020-11-23 11:08:57 +0100
commitf276f291dfdfb3c6f28814016b103542ccf8c2c7 (patch)
tree9804e581df4c390a7ba59f36ebc1aaba35a59ab7
parentMerge pull request #11 from fturco/readme (diff)
parentPrepare release 0.7.9 (diff)
downloadelogv-f276f291dfdfb3c6f28814016b103542ccf8c2c7.tar.gz
elogv-f276f291dfdfb3c6f28814016b103542ccf8c2c7.tar.bz2
elogv-f276f291dfdfb3c6f28814016b103542ccf8c2c7.zip
Merge branch 'fix-gentoo-bug-756019'0.7.9
Closes: https://bugs.gentoo.org/756019 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rw-r--r--ChangeLog3
-rwxr-xr-xelogv6
-rw-r--r--setup.py4
3 files changed, 6 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 2189bba..17bbb0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
# ChangeLog for elogv
+0.7.9
+ * Address deprecation warnings for Python >=3.8 (Gentoo bug #756019)
+
0.7.8
* Fix start-up for >32767 log files (issue #10)
diff --git a/elogv b/elogv
index 3b174c5..7e1e37f 100755
--- a/elogv
+++ b/elogv
@@ -99,12 +99,8 @@ if reported_bad_locales:
sys.exit(1)
-# Setup gettext. Note that lgettext() is used instead of gettext()
-# because it always returns strings encoded with the preferred system
-# encoding, not encoded with the same codeset used in the translation
-# file
+# Setup gettext.
gettext.textdomain('elogv')
-gettext.bind_textdomain_codeset('elogv', locale.getpreferredencoding())
_ = gettext.gettext
# This text is used on the in-line help
diff --git a/setup.py b/setup.py
index ba3d970..b3a24bd 100644
--- a/setup.py
+++ b/setup.py
@@ -244,12 +244,12 @@ class install_manpages(Command):
man_pages=glob("man/*")
setup(name="elogv",
- version="0.7.8",
+ version="0.7.9",
author="Luca Marturana",
author_email="lucamarturana@gmail.com",
license="GPL-2",
description="Curses based utility to view elogs created by Portage",
- url="https://github.com/gentoo/elogv",
+ url="https://gitweb.gentoo.org/proj/elogv.git/",
scripts=['elogv'],
cmdclass={'extract_messages': messages,
'merge': merge,