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' # Template file for 'buku'
pkgname=buku pkgname=buku
version=3.7 version=3.7
revision=1 revision=2
wrksrc=Buku-${version} noarch=yes
python_version="3" wrksrc="Buku-${version}"
checkdepends="python3-pytest python3-BeautifulSoup4 python3-requests python3-cryptography checkdepends="python3-pytest python3-urllib3 python3-BeautifulSoup4
python3-hypothesis" python3-cryptography python3-hypothesis"
depends="python3 python3-requests" depends="python3-urllib3"
short_desc="A cmdline bookmark management utility" short_desc="Cmdline bookmark management utility"
maintainer="Diogo Leal <diogo@diogoleal.com>" maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/jarun/Buku" homepage="https://github.com/jarun/Buku"
distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz" distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz"
checksum=0d39a86c6c319378af20c568a282a13c963655f60fc68f512eb83fce6a1435df checksum=0d39a86c6c319378af20c568a282a13c963655f60fc68f512eb83fce6a1435df
noarch=yes
do_check() { do_check() {
# bukuDb requires unpackaged python-pytest-capturelog pytest3
# https://pypi.org/project/pytest-capturelog/ for the interested
pytest3 --ignore=tests/test_bukuDb.py
} }
do_install() { do_install() {