void-packages/srcpkgs/fava/template
2021-10-09 08:01:46 -04:00

25 lines
855 B
Bash

# Template file for 'fava'
pkgname=fava
version=1.18
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
python3-simplejson python3-Werkzeug python3-aiohttp"
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=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
do_check() {
# CLI test expects fava on $PATH. Not sure why static_url fails.
PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'
}
post_install() {
vlicense LICENSE
}