# -*- 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-datrie
version             0.7.1
revision            0
categories-append   devel
platforms           darwin
license             LGPL

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Super-fast, efficiently stored Trie for Python.
long_description    ${description}

homepage            https://github.com/kmike/datrie/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  50ecfafbba66094394ab8491391e5f64fa5dab7a \
                    sha256  7a11371cc2dbbad71d6dfef57ced6e8b384bb377eeb847c63d58f8dc8e8b2023

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

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}