# -*- 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
PortGroup           github 1.0

github.setup        berdario pythonz 1.11.4 pythonz-
name                py-${github.project}

platforms           darwin
license             MIT
supported_archs     noarch

python.versions     35 36 37 38 39

maintainers         {gmail.com:rubendibattista @rubendibattista} openmaintainer
description         Python installation manager supporting CPython, Stackless, PyPy and Jython
long_description    $description
checksums           rmd160  2be09cdf315e01bd8ff1f418243d5becec498a47 \
                    sha256  6827909dfd4d52f5511bb2fe046d397d83e76812e9234228a84784d07ddf4cdc \
                    size    84023

if {${subport} ne ${name}} {
    depends_lib-append     port:py${python.version}-setuptools \
                           port:py${python.version}-resumable-urlretrieve

    # For the moment I'm not running the tests because one of them
    # is failing with the following output
    test.run               no
    test.cmd               py.test-${python.branch}
    test.target
    depends_test-append    port:py${python.version}-pytest


    livecheck.type         none
}
