# -*- 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.12.1
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  aad17f4e5051646b09b1a396ed25f7e8c1eb7dc4 \
                    sha256  88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c \
                    size    7615

python.versions     27 310 311 312 313 314

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

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

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

    test.run        yes

    livecheck.type  none
}
