# -*- 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-wheel
version             0.36.2
revision            0
platforms           darwin
license             MIT
maintainers         {mps @Schamschula} openmaintainer

description         A built package format for Python.
long_description    ${description}

homepage            https://github.com/pypa/wheel/

checksums           rmd160  8aef0f39508d9326e767115346e115b7fbf58c9b \
                    sha256  e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e \
                    size    65393

supported_archs     noarch

# leave the EOL PY34 subport here as it is an indirect dependency of py34-virtualenv
python.versions     27 34 35 36 37 38 39

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

    if {${python.version} == 34} {
        version     0.33.6
        revision    0
        checksums   rmd160  9c84bfce4d05e61aed7898a212f37eb9d7351543 \
                    sha256  10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646 \
                    size    48130

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

    livecheck.type  none
}
