From 5724ea4ff6f33833044b40bfa62e577750024d36 Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Fri, 1 Jul 2022 17:38:31 +0100 Subject: [PATCH] rofi-rbw: update to 1.0.1. --- srcpkgs/rofi-rbw/patches/wofi.patch | 28 ---------------------------- srcpkgs/rofi-rbw/template | 6 +++--- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/rofi-rbw/patches/wofi.patch diff --git a/srcpkgs/rofi-rbw/patches/wofi.patch b/srcpkgs/rofi-rbw/patches/wofi.patch deleted file mode 100644 index 9627b6771b3c..000000000000 --- a/srcpkgs/rofi-rbw/patches/wofi.patch +++ /dev/null @@ -1,28 +0,0 @@ -From d059d0a4f352d295c116639798f8b5e110967e4f Mon Sep 17 00:00:00 2001 -From: Fabian Winter <5821180+fdw@users.noreply.github.com> -Date: Mon, 27 Jun 2022 20:55:21 +0200 -Subject: [PATCH] Return correct values from wofi - -Returning no targets might not be the best idea... - -Issue: #51 ---- - src/rofi_rbw/selector.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/rofi_rbw/selector.py b/src/rofi_rbw/selector.py -index d2c9844..e5d8696 100644 ---- a/src/rofi_rbw/selector.py -+++ b/src/rofi_rbw/selector.py -@@ -198,9 +198,9 @@ def show_selection( - encoding='utf-8' - ) - if wofi.returncode == 0: -- return [], DEFAULT(), wofi.stdout -+ return DEFAULT(), DEFAULT(), wofi.stdout - else: -- return [], CANCEL(), wofi.stdout -+ return CANCEL(), CANCEL(), wofi.stdout - - def select_target( - self, diff --git a/srcpkgs/rofi-rbw/template b/srcpkgs/rofi-rbw/template index 5a2ef1eedcec..d50f8ff13b21 100644 --- a/srcpkgs/rofi-rbw/template +++ b/srcpkgs/rofi-rbw/template @@ -1,7 +1,7 @@ # Template file for 'rofi-rbw' pkgname=rofi-rbw -version=1.0.0 -revision=2 +version=1.0.1 +revision=1 build_style=python3-pep517 make_install_target="rofi_rbw-${version}-py3-none-any.whl" hostmakedepends="python3-setuptools python3-wheel" @@ -12,7 +12,7 @@ license="MIT" homepage="https://github.com/fdw/rofi-rbw" changelog="https://raw.githubusercontent.com/fdw/rofi-rbw/HEAD/CHANGELOG.md" distfiles="https://github.com/fdw/rofi-rbw/archive/${version}.tar.gz" -checksum=25cebb7d0cbff19cd0dc54834455de0ae291c74c4d51d66a5c10a57093b49799 +checksum=37f14462a7a918df2ac9350db8e3822fc7bf9af490dddb60299ea73c976f6c97 post_install() { vman src/rofi_rbw/docs/rofi-rbw.1