# -*- 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-expressions
version             0.2.3
revision            0
categories-append   devel math
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     35 36

maintainers         stromnov openmaintainer

description         Extensible arithmetic expression parser and compiler
long_description    ${description}

homepage            http://databrewery.org/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  857f87779c7b0b559c174d7920246448c57a824c \
                    sha256  5d0138e916ca1e73e0ffca583e5405790ba5f7b9a3d68150bde111533fc7890e

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

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