diff options
-rw-r--r-- | debian/patches/debian/0001-disable-fzf.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/patches/debian/0001-disable-fzf.patch b/debian/patches/debian/0001-disable-fzf.patch index eaa7cee..5a9c943 100644 --- a/debian/patches/debian/0001-disable-fzf.patch +++ b/debian/patches/debian/0001-disable-fzf.patch @@ -36,7 +36,7 @@ diff -Naurp mycli.orig/mycli/packages/toolkit/fzf.py mycli/mycli/packages/toolki - formatted_history_items = [] - original_history_items = [] - for item, timestamp in history_items_with_timestamp: -- formatted_item = item.replace('\n', ' ') +- formatted_item = item.replace("\n", " ") - timestamp = timestamp.split(".")[0] if "." in timestamp else timestamp - formatted_history_items.append(f"{timestamp} {formatted_item}") - original_history_items.append(item) @@ -52,14 +52,14 @@ diff -Naurp mycli.orig/mycli/packages/toolkit/fzf.py mycli/mycli/packages/toolki - search.start_search(direction=search.SearchDirection.BACKWARD) + # Fallback to default reverse incremental search + search.start_search(direction=search.SearchDirection.BACKWARD) -diff -Naurp mycli.orig/setup.py mycli/setup.py ---- mycli.orig/setup.py 2024-11-15 07:48:27.438686616 +0100 -+++ mycli/setup.py 2024-11-21 07:25:19.265039508 +0100 -@@ -30,7 +30,6 @@ install_requirements = [ - 'cli_helpers[styles] >= 2.2.1', - 'pyperclip >= 1.8.1', - 'pyaes >= 1.6.1', -- 'pyfzf >= 0.3.1', +diff -Naurp mycli.orig/pyproject.toml mycli/pyproject.toml +--- mycli.orig/pyproject.toml ++++ mycli/pyproject.toml +@@ -20,7 +20,6 @@ dependencies = [ + "cli_helpers[styles] >= 2.2.1", + "pyperclip >= 1.8.1", + "pyaes >= 1.6.1", +- "pyfzf >= 0.3.1", + "importlib_resources >= 5.0.0; python_version<'3.9'", ] - if sys.version_info.minor < 9: |