# -*- 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           select 1.0

name                py-sortedcollections
version             2.1.0
revision            0
categories-append   devel
platforms           darwin
license             Apache-2
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         Python sorted collections.
long_description    ${description}

homepage            http://www.grantjenks.com/docs/sortedcollections/

checksums           rmd160  cd5f10f42d43b83eebe0bf5e8a2486e825b3b615 \
                    sha256  d8e9609d6c580a16a1224a3dc8965789e03ebc4c3e5ffd05ada54a2fed5dcacd \
                    size    9287

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

    if {${python.version} <= 35} {
        version             1.2.3
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  de3c2ad39b3d31df2a6869f39399c699ca745a5b \
                            sha256  34934caf3142268cd6792bd5af9c269e5b1dfdd27f815965b973c6473edf2c45 \
                            size    8399
    }

    livecheck.type      none
}
