# -*- 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-pytest-shutil
version             1.8.0
revision            0

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

description         A goodie-bag of unix shell and environment tools for \
                    py.test

long_description    This library is a goodie-bag of Unix shell and \
                    environment management tools for automated \
                    tests. A summary of the available functions is \
                    below, look at the source for the full listing.

homepage            https://github.com/man-group/pytest-plugins

checksums           rmd160  8341da2160052fbcaedcd2d5462337c745a750f4 \
                    sha256  aad006ef7b6efcbace1e6bdf90ea7870c4367ab917b85fbdbac1fca1df1f48a0 \
                    size    37608

python.versions     310 311 312 313

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

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

    depends_run-append \
                    port:py${python.version}-contextlib2 \
                    port:py${python.version}-execnet \
                    port:py${python.version}-mock \
                    port:py${python.version}-path \
                    port:py${python.version}-pytest \
                    port:py${python.version}-six \
                    port:py${python.version}-termcolor

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

    test.run        yes
}
