# -*- 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-msgpack
version             0.6.2
revision            0
categories-append   devel
platforms           darwin
license             Apache

python.versions     27 35 36 37 38

maintainers         {stromnov @stromnov} openmaintainer

description         MessagePack (de)serializer for Python.
long_description    ${description}

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

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

checksums           rmd160  48cc4b2df2dad4b6f5b815f15aa262dcdc2db2d6 \
                    sha256  ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830 \
                    size    119062

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

    livecheck.type      none
}

subport py34-${python.rootname} {
    replaced_by py35-${python.rootname}
    PortGroup obsolete 1.0
}