# -*- 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        snare scruffy 0.3.8.1 v
name                py-scruffington
revision            0

categories-append   devel
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Framework for boilerplate in apps
long_description    Scruffy is a framework for taking care of a bunch of \
                    boilerplate in Python apps. It handles the loading of \
                    configuration files, the loading and management of plugins, \
                    and the management of other filesystem resources such as \
                    temporary files and directories, log files, etc.

checksums           rmd160  d3c1d875313e9e240186b03b209c74bd21a180fe \
                    sha256  fa98c0722a314663952dc5853579dac8074a0f585b9981a31927a315f642a304 \
                    size    21633

python.versions     27 35 36 37 38

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

    depends_lib-append \
                    port:py${python.version}-six \
                    port:py${python.version}-yaml

    depends_test-append \
                    port:py${python.version}-nose

    test.run        yes
    test.cmd        nosetests-${python.branch}
    test.target
    test.env        PYTHONPATH=${worksrcpath}/build/lib


    livecheck.type      none
}
