# -*- 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             2.3.6
revision            1
checksums           rmd160  924c2b27ffd3aa9f105ff6ff4eccfbc22f839145 \
                    sha256  801f93bed6b57d2e22436688c489d5a1bf1f76e210f3ced18680757e60d3475a \
                    size    642352

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     39 310 311 312

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-bottle \
                    port:py${python.version}-chardet \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-google-api \
                    port:py${python.version}-httplib2 \
                    port:py${python.version}-lxml \
                    port:py${python.version}-magic \
                    port:py${python.version}-ply \
                    port:py${python.version}-pytest \
                    port:py${python.version}-requests
}
