void-packages/srcpkgs/fava/template

28 lines
827 B
Bash
Raw Normal View History

2018-05-08 21:11:02 +00:00
# Template file for 'fava'
pkgname=fava
2019-08-20 20:45:30 +00:00
version=1.11
2018-05-08 21:11:02 +00:00
revision=1
archs=noarch
2018-05-08 21:11:02 +00:00
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"
2019-08-20 20:45:30 +00:00
checkdepends="$depends"
2018-05-08 21:11:02 +00:00
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"
2019-08-20 20:45:30 +00:00
checksum=0cfeb20e2082a64aae1cda76538a9cca9f5027a19ad174ad742fa2ec2aeed93f
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'
}
2018-05-08 21:11:02 +00:00
post_install() {
vlicense LICENSE
}