# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-beancount
categories-append   finance
version             3.2.0
revision            0
checksums           rmd160  cb35713df376f9cf2ffbc7558663d26d92d3f61c \
                    sha256  9f374bdcbae63328d8a0cf6d539490f81caa647f2d1cc92c9fa6117a9eb092ca \
                    size    549771

license             GPL-2
platforms           darwin
maintainers         {wholezero.org:macports @mrdomino} openmaintainer

description         Double-entry plain text accounting system
long_description    A double-entry bookkeeping computer language that lets \
                    you define financial transaction records in a text file, \
                    read them in memory, generate a variety of reports from  \
                    them, and provides a basic web interface.
homepage            http://furius.ca/beancount/

python.versions     310 311 312 313

python.pep517_backend meson

if {${name} ne ${subport}} {
    depends_build-append \
                        port:bison
    depends_lib-append \
                    port:py${python.version}-click \
                    port:py${python.version}-regex \
                    port:py${python.version}-dateutil
}
