summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Feldman <NP-Hardass@gentoo.org>2020-03-26 11:17:46 -0400
committerAdam Feldman <NP-Hardass@gentoo.org>2020-04-06 13:48:59 -0400
commit69e608b634f2672f847f9a9058094fddc138643b (patch)
tree463a522a13d67a9e892258de7b730687d225cf15 /mate-extra/caja-hide/files
parentmate-extra/caja-admin: Add new package, caja-extension (diff)
downloadgentoo-69e608b634f2672f847f9a9058094fddc138643b.tar.gz
gentoo-69e608b634f2672f847f9a9058094fddc138643b.tar.bz2
gentoo-69e608b634f2672f847f9a9058094fddc138643b.zip
mate-extra/caja-hide: Add new package, caja-extension
Package-Manager: Portage-2.3.82, Repoman-2.3.18 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
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