26 lines
851 B
Bash
26 lines
851 B
Bash
# Template file for 'fava'
|
|
pkgname=fava
|
|
version=1.17
|
|
revision=1
|
|
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 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=efad3a4b5697b9d7ee29eff5dc0c8367fc1df37b1abacc8d0b2071602e94a6cd
|
|
|
|
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
|
|
}
|