New package: gnome-pass-search-provider-1.0.0

This commit is contained in:
Michal Vasilek 2021-09-30 07:59:55 +02:00
parent 5f6d26fba7
commit 70754b602b
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- a/gnome-pass-search-provider.py
+++ b/gnome-pass-search-provider.py
@@ -31,7 +31,10 @@ import re
import subprocess
from dbus.mainloop.glib import DBusGMainLoop
-from fuzzywuzzy import process, fuzz
+try:
+ from thefuzz import fuzz, process
+except ModuleNotFoundError:
+ from fuzzywuzzy import fuzz, process
from gi.repository import GLib
from os import getenv, walk
from os.path import expanduser, join as path_join

View File

@ -0,0 +1,19 @@
# Template file for 'gnome-pass-search-provider'
pkgname=gnome-pass-search-provider
version=1.0.0
revision=1
depends="python3-gobject python3-dbus python3-thefuzz pass GPaste"
short_desc="Pass password manager search provider for gnome-shell"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="GPL-3.0-or-later"
homepage="https://github.com/jle64/gnome-pass-search-provider"
distfiles="https://github.com/jle64/gnome-pass-search-provider/archive/refs/tags/$version.tar.gz"
checksum=cb6eb6bf1626a8bbc1b5dca71776e1ea855e14066c4fe07f8fe612334b7a59ea
do_build() {
:
}
do_install() {
DATADIR="$DESTDIR/usr/share" LIBDIR="$DESTDIR/usr/lib/" ./install.sh
}