void-packages/srcpkgs/fava/template

27 lines
820 B
Bash

# Template file for 'fava'
pkgname=fava
version=1.13
revision=1
archs=noarch
build_style=python3-module
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=a92854f282e65b69e1c58f2edf83b4d9a6bbc043f00c808f63b046b17a514ede
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
}