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

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

description         rapid multi-Python deployment
long_description    ${description}

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

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

checksums           rmd160  2fee2009d7a30282c2286a9c50b85f728f7a57bc \
                    sha256  b73c5565e517f24b62dea8a5ceac178c661c4309d3aa0c3e420856c072c411b4 \
                    size    173765

python.versions     27 35 36 37 38 39

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

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

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

    livecheck.type  none
}
