void-packages/srcpkgs/fava/template
Aluísio Augusto Silva Gonçalves 3b33ccd047 fava: update to 1.12.
2019-12-05 15:29:57 +01:00

27 lines
844 B
Bash

# Template file for 'fava'
pkgname=fava
version=1.12
revision=1
archs=noarch
build_style=python3-module
pycompile_module="fava"
hostmakedepends="python3-setuptools"
depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
python3-simplejson python3-Werkzeug"
checkdepends="$depends"
short_desc="Web interface for Beancount"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
license="MIT"
homepage="https://beancount.github.io/fava/"
distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
checksum=26562d57b71e70b07e6d1d1d089872ad303f848af2c244e39932aa438bf0090c
do_check() {
# CLI test expects fava on $PATH. Not sure why static_url fails.
python3 -m pytest tests -k 'not cli and not static_url'
}
post_install() {
vlicense LICENSE
}