buku: fix template

- requests is no longer a dependency since version 3.6
- pytest-capturelog was never needed (was pytest-catchlog instead,
  also removed since version 3.7)
This commit is contained in:
Alessio Sergi 2018-05-25 17:41:31 +02:00
parent 965ec46f8a
commit 3a3518a52f

View file

@ -1,24 +1,21 @@
# 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"
revision=2
noarch=yes
wrksrc="Buku-${version}"
checkdepends="python3-pytest python3-urllib3 python3-BeautifulSoup4
python3-cryptography python3-hypothesis"
depends="python3-urllib3"
short_desc="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.org/project/pytest-capturelog/ for the interested
pytest3 --ignore=tests/test_bukuDb.py
pytest3
}
do_install() {