Control: tags 989596 + pending
Dear maintainer, I've prepared an NMU for nautilus-admin (versioned as 1.1.9-3.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Cheers -- Sebastian Ramacher
diff -Nru nautilus-admin-1.1.9/debian/changelog nautilus-admin-1.1.9/debian/changelog --- nautilus-admin-1.1.9/debian/changelog 2019-11-04 21:11:13.000000000 +0100 +++ nautilus-admin-1.1.9/debian/changelog 2021-06-23 23:12:42.000000000 +0200 @@ -1,3 +1,12 @@ +nautilus-admin (1.1.9-3.1) unstable; urgency=medium + + [ Sebastien Bacher ] + * debian/patches/new-python-compat.patch: + - fix the locale import to be compatible with python 3.9, + thanks Kesantielu (Closes: #989596) (LP: #1924573) + + -- Sebastian Ramacher <sramac...@debian.org> Wed, 23 Jun 2021 23:12:42 +0200 + nautilus-admin (1.1.9-3) unstable; urgency=medium [ Carlos Maddela ] diff -Nru nautilus-admin-1.1.9/debian/patches/new-python-compat.patch nautilus-admin-1.1.9/debian/patches/new-python-compat.patch --- nautilus-admin-1.1.9/debian/patches/new-python-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ nautilus-admin-1.1.9/debian/patches/new-python-compat.patch 2021-06-23 23:12:37.000000000 +0200 @@ -0,0 +1,29 @@ +From a51885e75338a9d45f8873d47db067bb81c8071a Mon Sep 17 00:00:00 2001 +From: Vitor Lopes <vmn...@gmail.com> +Date: Thu, 3 Dec 2020 16:49:07 +0000 +Subject: [PATCH] fix for python9 +https://github.com/TomaszGasior/mushrooms-rpms/issues/41 +--- + extension/nautilus-admin.py | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/extension/nautilus-admin.py b/extension/nautilus-admin.py +index 683a484..4719bbc 100644 +--- a/extension/nautilus-admin.py ++++ b/extension/nautilus-admin.py +@@ -22,7 +22,13 @@ + require_version('Nautilus', '3.0') + + from gi.repository import Nautilus, GObject +-from gettext import gettext, locale, bindtextdomain, textdomain ++from gettext import gettext, bindtextdomain, textdomain ++try: ++ # python 8 ++ from gettext import locale ++except ImportError: ++ # python 9 ++ import locale + + ROOT_UID = 0 + NAUTILUS_PATH="@NAUTILUS_PATH@" + diff -Nru nautilus-admin-1.1.9/debian/patches/series nautilus-admin-1.1.9/debian/patches/series --- nautilus-admin-1.1.9/debian/patches/series 2019-11-04 21:11:13.000000000 +0100 +++ nautilus-admin-1.1.9/debian/patches/series 2021-06-23 23:12:37.000000000 +0200 @@ -1,2 +1,3 @@ out-of-place-build.patch update-german-translation.patch +new-python-compat.patch
signature.asc
Description: PGP signature