# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        tazzben csvToLedger 1.0
categories          office
platforms           {darwin any}
maintainers         {unomaha.edu:bosmith @tazzben}
license             MIT
supported_archs     noarch

description         Convert CSVs to Ledger format

long_description    This tool allows you to convert CSVs into a format appropriate for Ledger. It's particularly useful when you need to specify multipart transactions.

github.tarball_from downloads
extract.mkdir       yes

checksums           rmd160  1af663479284a7b0d2e5ee38f94614a358ac9137 \
                    sha256  9820bc99899075002f50bcd69f672a1e21c09234de714ec68414021358875412

python.default_version     27

depends_build       port:py${python.version}-setuptools
depends_lib-append  port:py${python.version}-dateutil

livecheck.type      regex
livecheck.url       ${github.homepage}/downloads
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
