buku: update to 4.6 + add shell completions

This commit is contained in:
FollieHiyuki 2021-06-17 02:07:40 +03:00 committed by Érico Nogueira Rolim
parent fc8659dd87
commit ae1f04bec5
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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 <diogo@diogoleal.com>"
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
}