28 lines
827 B
Bash
28 lines
827 B
Bash
# Template file for 'fava'
|
|
pkgname=fava
|
|
version=1.11
|
|
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"
|
|
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=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'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|