# -*- 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-behave
version             1.3.3
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         behave is behavior-driven development, Python style.
long_description    Behavior-driven development (or BDD) is an agile\
                    software development technique that encourages\
                    collaboration between developers, QA and\
                    non-technical or business participants in a\
                    software project. behave uses tests written in a\
                    natural language style, backed up by\
                    Python code.

homepage            https://github.com/behave/behave

checksums           rmd160  51fdc224f0d0a6c1748f086f8baf086d79ea56c5 \
                    sha256  2b8f4b64ed2ea756a5a2a73e23defc1c4631e9e724c499e46661778453ebaf51 \
                    size    892639

python.versions      313

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

    depends_run-append \
                    port:py${python.version}-colorama \
                    port:py${python.version}-cucumber-tag-expressions \
                    port:py${python.version}-cucumber-expressions \
                    port:py${python.version}-parse \
                    port:py${python.version}-parse-type \
                    port:py${python.version}-six

    depends_test-append \
                    port:py${python.version}-pyhamcrest \
                    port:py${python.version}-mock \
                    port:py${python.version}-path \
                    port:py${python.version}-pytest-html

    test.run        yes

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