# -*- 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-pymunk
version             5.6.0
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     i386 x86_64

python.versions     27 35 36 37 38

maintainers         {stromnov @stromnov} openmaintainer

description         Python wrapper around the 2d physics library Chipmunk
long_description    ${description}

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

distname            pymunk-${version}

use_zip             yes

checksums           rmd160  bcc7ac3126df50b8aa741e6404b795a73d50bfe3 \
                    sha256  dba89d3e4eac40cca31468366b371459021ff1f433359297a8c96b1ede11c20b \
                    size    5498226

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

    patchfiles-append   patch-setup.py.diff

    livecheck.type      none
}