# Template file for 'buku'
pkgname=buku
version=3.5
revision=1
wrksrc=Buku-${version}
noarch=yes
python_version="3"
checkdepends="python3-pytest python3-beautifulsoup4 python3-requests python3-cryptography
python3-hypothesis"
depends="python3 python3-requests"
short_desc="A cmdline bookmark management utility"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3"
homepage="https://github.com/jarun/Buku"
distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz"
checksum=b758924b78a45d39e6d8e16915f2df17a7e7d5e184a876819c6aa612cd73fc05

do_check() {
	# bukuDb requires unpackaged python-pytest-capturelog
	# https://pypi.python.org/pypi/pytest-capturelog for the interested
	pytest3 --ignore=tests/test_bukuDb.py
}

do_install() {
	vbin buku.py buku
	vman buku.1
}
