From 6af42fc625f1c1e57687a51292e406d298da0cf6 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 17 Jun 2021 02:07:40 +0300 Subject: [PATCH] buku: update to 4.6 + add shell completions --- srcpkgs/buku/patches/0001-Use-system-cacerts.patch | 13 +++++-------- srcpkgs/buku/template | 7 +++++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/srcpkgs/buku/patches/0001-Use-system-cacerts.patch b/srcpkgs/buku/patches/0001-Use-system-cacerts.patch index 7391985f4608..b72aa9d7cd25 100644 --- a/srcpkgs/buku/patches/0001-Use-system-cacerts.patch +++ b/srcpkgs/buku/patches/0001-Use-system-cacerts.patch @@ -11,7 +11,7 @@ diff --git buku buku index 936988a..079d3d2 100755 --- buku +++ buku -@@ -40,7 +40,6 @@ import threading +@@ -45,7 +45,6 @@ import threading import time from typing import Any, Dict, Iterable, List, Optional, Tuple import webbrowser @@ -19,7 +19,7 @@ index 936988a..079d3d2 100755 import urllib3 from urllib3.exceptions import LocationParseError from urllib3.util import parse_url, make_headers, Retry -@@ -98,6 +97,8 @@ LOGGER = logging.getLogger() +@@ -105,6 +104,8 @@ LOGGER = logging.getLogger() LOGDBG = LOGGER.debug LOGERR = LOGGER.error @@ -28,7 +28,7 @@ index 936988a..079d3d2 100755 class BukuCrypt: """Class to handle encryption and decryption of -@@ -2565,7 +2566,7 @@ class BukuDb: +@@ -2656,7 +2657,7 @@ class BukuDb: if MYPROXY is None: gen_headers() @@ -37,7 +37,7 @@ index 936988a..079d3d2 100755 if MYPROXY: manager = urllib3.ProxyManager( MYPROXY, -@@ -3540,7 +3541,7 @@ def get_PoolManager(): +@@ -3628,7 +3629,7 @@ def get_PoolManager(): ProxyManager or PoolManager ProxyManager if https_proxy is defined, PoolManager otherwise. """ @@ -46,7 +46,7 @@ index 936988a..079d3d2 100755 if MYPROXY: return urllib3.ProxyManager(MYPROXY, num_pools=1, headers=MYHEADERS, timeout=15, cert_reqs='CERT_REQUIRED', ca_certs=ca_certs) -@@ -4390,7 +4391,7 @@ def check_upstream_release(): +@@ -4523,7 +4524,7 @@ def check_upstream_release(): if MYPROXY is None: gen_headers() @@ -55,6 +55,3 @@ index 936988a..079d3d2 100755 if MYPROXY: manager = urllib3.ProxyManager( MYPROXY, --- -2.29.2 - diff --git a/srcpkgs/buku/template b/srcpkgs/buku/template index 6912f42091e4..b2c1962d9195 100644 --- a/srcpkgs/buku/template +++ b/srcpkgs/buku/template @@ -1,6 +1,6 @@ # Template file for 'buku' pkgname=buku -version=4.5 +version=4.6 revision=1 depends="python3-urllib3 python3-BeautifulSoup4 python3-cryptography python3-html5lib" @@ -9,9 +9,12 @@ maintainer="Diogo Leal " license="GPL-3.0-or-later" homepage="https://github.com/jarun/Buku" distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz" -checksum=68c7bb77ba579ce69543e17d7dacaa31164a6662bb183463e8f1ffec2f9d6785 +checksum=2e1968016d3856184db8ac49cdc92a6c70869f62846185f28c8c60ead0c42888 do_install() { vbin buku vman buku.1 + vcompletion auto-completion/bash/buku-completion.bash bash + vcompletion auto-completion/zsh/_buku zsh + vcompletion auto-completion/fish/buku.fish fish }