From 1d0f650d4a71d45749985588513fa7ed687a50b4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 15 Sep 2018 21:57:23 +0200 Subject: [PATCH] ranger: Update from 1.9.1 to 1.9.2 --- packages/ranger/build.sh | 4 ++-- packages/ranger/ranger-core-actions.py.patch | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/ranger/build.sh b/packages/ranger/build.sh index ac50a0a12..257fe3cee 100644 --- a/packages/ranger/build.sh +++ b/packages/ranger/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://ranger.github.io/ TERMUX_PKG_DESCRIPTION="File manager with VI key bindings" -TERMUX_PKG_VERSION=1.9.1 -TERMUX_PKG_SHA256=7c32f96080030866b7b95740c40b17a37d6ee86055e054e9e0759e79e2bf6b9a +TERMUX_PKG_VERSION=1.9.2 +TERMUX_PKG_SHA256=49a2d8dc5fa7b1c0cac0fa72d4ad704fc7107dee36cb9feb325a42754774d363 TERMUX_PKG_SRCURL=https://github.com/ranger/ranger/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="python, file" TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/ranger/ranger-core-actions.py.patch b/packages/ranger/ranger-core-actions.py.patch index 83debc9f8..c0dd35a3c 100644 --- a/packages/ranger/ranger-core-actions.py.patch +++ b/packages/ranger/ranger-core-actions.py.patch @@ -1,25 +1,25 @@ -diff -u -r ../ranger-1.9.0/ranger/core/actions.py ./ranger/core/actions.py ---- ../ranger-1.9.0/ranger/core/actions.py 2018-01-28 19:02:32.000000000 +0000 -+++ ./ranger/core/actions.py 2018-01-29 09:26:24.869712282 +0000 +diff -u -r ../ranger-1.9.2/ranger/core/actions.py ./ranger/core/actions.py +--- ../ranger-1.9.2/ranger/core/actions.py 2018-09-09 19:51:55.000000000 +0000 ++++ ./ranger/core/actions.py 2018-09-15 19:52:46.949144012 +0000 @@ -7,7 +7,7 @@ import codecs import os --from os import link, symlink, getcwd, listdir, stat -+from os import symlink, getcwd, listdir, stat +-from os import link, symlink, listdir, stat ++from os import symlink, listdir, stat from os.path import join, isdir, realpath, exists import re import shlex -@@ -1383,7 +1383,7 @@ +@@ -1513,7 +1513,7 @@ for fobj in self.copy_buffer: new_name = next_available_filename(fobj.basename) try: -- link(fobj.path, join(getcwd(), new_name)) -+ symlink(fobj.path, join(getcwd(), new_name)) +- link(fobj.path, join(self.fm.thisdir.path, new_name)) ++ symlink(fobj.path, join(self.fm.thisdir.path, new_name)) except OSError as ex: self.notify('Failed to paste hardlink: View log for more info', bad=True, exception=ex) -@@ -1408,7 +1408,7 @@ +@@ -1538,7 +1538,7 @@ else: if not exists(target_path) \ or stat(source_path).st_ino != stat(target_path).st_ino: