void-packages/srcpkgs/fava/template

25 lines
930 B
Bash

# Template file for 'fava'
pkgname=fava
version=1.24
revision=1
build_style=python3-pep517
make_check_args="--deselect tests/test_cli.py::test_cli"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
python3-simplejson python3-Werkzeug"
# pytest-xdist causes tests to fail due to race conditions
checkdepends="${depends} python3-pytest"
short_desc="Web interface for Beancount"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
license="MIT"
homepage="https://beancount.github.io/fava/"
changelog="https://raw.githubusercontent.com/beancount/fava/main/CHANGES"
distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
checksum=129fbc3bddcbfc21b8a9c045cc204c45ab0aff24a9f3e714e7d2dcc9945326d8
make_check_pre="env PYTHONPATH=./src"
post_install() {
vlicense LICENSE
}