# -*- 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           github 1.0
PortGroup           python 1.0

# warning: version 3 is not backward compatible
github.setup        chaimleib intervaltree 2.1.0
name                py-intervaltree
platforms           darwin
license             Apache-2
maintainers         nomaintainer

description         A mutable, self-balancing interval tree for Python 2 and 3
long_description    ${description}. Queries may be by point, by range overlap, \
                    or by range envelopment.

checksums           rmd160  1e90b48657b37f5e8577ba9fd58c21efa9d3df69 \
                    sha256  b2e0b08cb2a8e9ef928809465d93882a62dcfbd926dbaa3e85b1c1238e7df699 \
                    size    1237455

python.versions     27 36 37

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

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

    livecheck.type      none
}