void-packages/srcpkgs/beancount/template

26 lines
1.1 KiB
Bash

# Template file for 'beancount'
pkgname=beancount
version=2.3.5
revision=3
build_style=python3-module
make_check_args="--pyargs beancount --ignore beancount/web/web_test.py
--deselect beancount/scripts/bake_test.py::TestScriptBake::test_bake_directory
--deselect beancount/ingest/extract_test.py::TestScriptExtract::test_extract_no_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-pytest python3-dateutil python3-ply python3-bottle python3-lxml
python3-magic python3-BeautifulSoup4 python3-requests python3-chardet
python3-google-api-python-client python3-oauth2client"
checkdepends="${depends} gnupg python3-google-auth-oauthlib python3-httplib2"
short_desc="Double-entry accounting system based on plain text files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://beancount.github.io/"
changelog="https://raw.githubusercontent.com/beancount/beancount/master/CHANGES"
distfiles="https://github.com/beancount/beancount/archive/refs/tags/${version}.tar.gz"
checksum=374e4e6a76684007b60aca95d76340cfe5bc46356150000b5f1df58db77fb90f
pre_check() {
python3 setup.py build_ext --inplace
}