# -*- 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-multipledispatch
version             0.6.0
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         A relatively sane approach to multiple dispatch in Python.
long_description    ${description}

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

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

checksums           rmd160  6c2fdb13708c4e9ead65a7c0c8a8ccb66616d5ce \
                    sha256  a7ab1451fd0bf9b92cab3edbd7b205622fb767aeefb4fb536c2e3de9e0a38bea \
                    size    10294

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-six
    livecheck.type      none
}