summaryrefslogtreecommitdiff
path: root/mate-extra/caja-hide/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /mate-extra/caja-hide/files
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'mate-extra/caja-hide/files')
-rw-r--r--mate-extra/caja-hide/files/caja-hide-0.9.0-py3-support.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/mate-extra/caja-hide/files/caja-hide-0.9.0-py3-support.patch b/mate-extra/caja-hide/files/caja-hide-0.9.0-py3-support.patch
new file mode 100644
index 000000000000..1e8e9994456e
--- /dev/null
+++ b/mate-extra/caja-hide/files/caja-hide-0.9.0-py3-support.patch
@@ -0,0 +1,20 @@
+# futurized
+--- a/src/caja-hide.py
++++ b/src/caja-hide.py
+@@ -1,3 +1,6 @@
++from __future__ import absolute_import
++from __future__ import division
++from __future__ import unicode_literals
+ # Caja Hide - Extension for Caja to hide files without renaming them
+ # Copyright (C) 2015-2016 Caja Hide authors.
+ #
+@@ -14,6 +17,9 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
++from future import standard_library
++standard_library.install_aliases()
++from builtins import *
+ import os
+ from gi.repository import Caja, GObject
+ from gettext import ngettext, locale, bindtextdomain, textdomain