Update to ranger-1.9.2

Fixes some crashes due to python 3.6/3.7.
Introducing native Kitty image previews and a dired-filter inspired
filter stack.

Replace post-install with setup.py patch, massage test suite.

OK rsadowski sthen
This commit is contained in:
kn 2018-10-02 10:32:01 +00:00
parent 569f1c6ea4
commit fdee599c4c
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-setup_py,v 1.5 2018/10/02 10:32:01 kn Exp $
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -106,7 +106,7 @@ def main():
('share/applications', [
'doc/ranger.desktop',
]),
- ('share/man/man1', [
+ ('man/man1', [
'doc/ranger.1',
'doc/rifle.1',
]),
@@ -118,7 +118,7 @@ def main():
]),
('share/doc/ranger/config', findall('doc/config')),
('share/doc/ranger/config/colorschemes', findall('doc/config/colorschemes')),
- ('share/doc/ranger/examples', findall('examples')),
+ ('share/examples/ranger', findall('examples')),
('share/doc/ranger/tools', findall('doc/tools')),
],
package_data={

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2018/02/22 16:51:50 kn Exp $
@comment $OpenBSD: PLIST,v 1.5 2018/10/02 10:32:01 kn Exp $
bin/ranger
bin/rifle
lib/python${MODPY_VERSION}/site-packages/ranger/
@ -56,6 +56,7 @@ lib/python${MODPY_VERSION}/site-packages/ranger/core/__init__.py
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}actions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}filter_stack.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}fm.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}linemode.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}loader.${MODPY_PYC_MAGIC_TAG}pyc
@ -65,6 +66,7 @@ lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}runner.${MO
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}shared.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/${MODPY_PYCACHE}tab.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/ranger/core/actions.py
lib/python${MODPY_VERSION}/site-packages/ranger/core/filter_stack.py
lib/python${MODPY_VERSION}/site-packages/ranger/core/fm.py
lib/python${MODPY_VERSION}/site-packages/ranger/core/linemode.py
lib/python${MODPY_VERSION}/site-packages/ranger/core/loader.py
@ -191,7 +193,7 @@ share/doc/ranger/
share/doc/ranger/CHANGELOG.md
share/doc/ranger/HACKING.md
share/doc/ranger/README.md
share/doc/ranger/colorschemes.txt
share/doc/ranger/colorschemes.md
share/doc/ranger/config/
share/doc/ranger/config/colorschemes/
share/doc/ranger/config/colorschemes/default.py
@ -210,6 +212,7 @@ share/examples/ranger/
share/examples/ranger/README
share/examples/ranger/bash_automatic_cd.sh
share/examples/ranger/bash_subshell_notice.sh
share/examples/ranger/plugin_avfs.py
share/examples/ranger/plugin_chmod_keybindings.py
share/examples/ranger/plugin_fasd_add.py
share/examples/ranger/plugin_file_filter.py
@ -219,7 +222,9 @@ share/examples/ranger/plugin_linemode.py
share/examples/ranger/plugin_new_macro.py
share/examples/ranger/plugin_new_sorting_method.py
share/examples/ranger/plugin_pmount.py
share/examples/ranger/plugin_pmount_dynamic.py
share/examples/ranger/rc_emacs.conf
share/examples/ranger/rifle_different_file_opener.conf
share/examples/ranger/rifle_sxiv.sh
share/examples/ranger/vim_file_chooser.vim
@tag update-desktop-database