# -*- 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.2.1
checksums           rmd160  60650715322a8f302455f3028400281f23d850d2 \
                    sha256  ebcb59bd7c0e18a858c55d6c30eacee3fa949ee5d2c452a7aa80690e36ae2f77 \
                    size    597196

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/

master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

python.versions     37

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-bottle \
                    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

    livecheck.type  none
}