# -*- 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-runner
version             5.2
revision            0
categories-append   devel
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         {petr @petrrr} openmaintainer

description         pytest-runner adds test support to setup.py scripts
long_description    \
    ${description}. Setup scripts can use pytest-runner to invoke py.test as distutils \
    command and provices dependency resolution.

homepage            https://github.com/pytest-dev/pytest-runner
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  57cee5045f0b8d5add73e80736b30da6ab095e20 \
                    sha256  96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b \
                    size    15534

python.versions     27 35 36 37 38

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

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

    livecheck.type  none
}
