# -*- 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                docker-compose
version             1.27.4
revision            0
categories-append   devel

platforms           darwin
license             Apache-2
maintainers         {emcrisostomo @emcrisostomo} \
                    openmaintainer

description         Define and run multi-container applications with Docker
long_description    Compose is a tool for defining and running multi-container \
                    applications with Docker. With Compose, you define a multi-\
                    container application in a single file, then spin your \
                    application up in a single command which does everything \
                    that needs to be done to get it running.

homepage            https://github.com/docker/compose

checksums           rmd160  ee98368c4473029102d573539b8d13f92d3f307a \
                    sha256  5a5690f24c27d4b43dcbe6b3fae91ba680713208e99ee863352b3bae37bcaa83 \
                    size    277613

python.default_version 38

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

depends_lib-append  port:py${python.version}-cached-property \
                    port:py${python.version}-distro \
                    port:py${python.version}-docker \
                    port:py${python.version}-dockerpty \
                    port:py${python.version}-docopt \
                    port:py${python.version}-jsonschema \
                    port:py${python.version}-python-dotenv \
                    port:py${python.version}-requests \
                    port:py${python.version}-six \
                    port:py${python.version}-socks \
                    port:py${python.version}-texttable \
                    port:py${python.version}-websocket-client \
                    port:py${python.version}-yaml

if {${python.version} < 32} {
    depends_lib-append    port:py${python.version}-subprocess32
}

if {${python.version} < 33} {
    depends_lib-append    port:py${python.version}-backports-shutil_get_terminal_size
    depends_lib-append    port:py${python.version}-ipaddress
}

if {${python.version} < 34} {
    depends_lib-append    port:py${python.version}-enum34
}

if {${python.version} < 35} {
    depends_lib-append    port:py${python.version}-backports-ssl_match_hostname
}
