vp-build/srcpkgs/buku/template

28 lines
799 B
Bash

# Template file for 'buku'
pkgname=buku
version=3.7
revision=1
wrksrc=Buku-${version}
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.0-or-later"
homepage="https://github.com/jarun/Buku"
distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz"
checksum=0d39a86c6c319378af20c568a282a13c963655f60fc68f512eb83fce6a1435df
noarch=yes
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
}