# -*- 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-cycler
version             0.11.0
revision            0

categories-append   math
platforms           {darwin any}
supported_archs     noarch
license             {PSF BSD}
maintainers         {reneeotten @reneeotten} openmaintainer

description         cycler: composable cycles
long_description    ${description}

homepage            https://github.com/matplotlib/cycler

checksums           rmd160  8a4654f4791d88bcb3ad066c0d365acd7ee23db8 \
                    sha256  9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f \
                    size    18784

python.versions     27 35 36 37 38 39 310 311

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

    if {${python.version} < 36} {
        version     0.10.0
        revision    0
        epoch       1
        dist_subdir   ${name}/${version}_1
        checksums   rmd160  f19ee3f9164e3b0a8c4ee42b0d604ee42724c6c4 \
                    sha256  cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8 \
                    size    16553

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

    test.run        yes

    livecheck.type  none
}
