void-packages/srcpkgs/beancount/template

24 lines
1.1 KiB
Bash

# Template file for 'beancount'
pkgname=beancount
version=2.3.6
revision=1
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-click python3-dateutil python3-regex"
checkdepends="${depends} python3-pytest python3-chardet python3-dateutil python3-bottle python3-lxml python3-ply python3-requests python3-BeautifulSoup4 python3-magic gnupg"
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=d02819a18fcf2974287a8d2d0949a47b3d2bc4a1b27642cb0424e773207a03e5
pre_check() {
python3 setup.py build_ext --inplace
}