# -*- 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-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-${github.project}

license             MIT
supported_archs     noarch
platforms           {darwin any}

python.versions     39

maintainers         {gmail.com:rubendibattista @rdbisme} 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
}
