# -*- 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-xdist
version             1.14
categories-append   devel
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         ${python.rootname} adds extends pytest with some unique test execution modes
long_description    ${description}

homepage            https://pypi.python.org/pypi/${python.rootname}/${version}
master_sites        https://pypi.io/packages/source/[string index ${python.rootname} 0]/${python.rootname}

use_zip             yes

distname            ${python.rootname}-${version}

checksums           rmd160  adabee9f8df156188837348ab042f246daedbbf3 \
                    sha256  4a5e1199122fa29e3017d8d189f59ccc5d82e841474ba2a1eec0e89606153623

python.versions     27 34 35 36

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

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

    livecheck.type  none
} else {
    livecheck.type  pypi
}