# -*- 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                cartman
version             0.3.1
revision            1
checksums           rmd160  6d44f08299c8e69733f12636ee4892419f8709ec \
                    sha256  a4d9a5f1ec5c116a5bc47a25dd4cff121ffa74a34927029cd69302fa4191b6d8 \
                    size    23458

categories          devel python
platforms           {darwin any}
maintainers         {ryandesign @ryandesign} openmaintainer
license             ISC
supported_archs     noarch

description         command line access to a Trac installation

long_description    ${name} allows you to create and manage Trac tickets from the \
                    command-line, without the need to setup physical access to the \
                    Trac server or database. All you need is a Trac account.

python.default_version 312

homepage            https://tamentis.com/projects/cartman/
master_sites        pypi:c/cartman

depends_build-append \
                    port:py${python.version}-coverage \
                    port:py${python.version}-nose \
                    port:py${python.version}-setuptools

depends_lib-append  port:py${python.version}-requests

patchfiles          cm.patch

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 ${worksrcpath}/README.rst ${destroot}${docdir}
}
