25 lines
835 B
Bash
25 lines
835 B
Bash
# Template file for 'fava'
|
|
pkgname=fava
|
|
version=1.15
|
|
revision=2
|
|
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=ff691c328cc524fb752c20b5c4ad2f23817caa2e0d9ec791f00a47e96a84ee0c
|
|
|
|
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
|
|
}
|