# -*- 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
PortGroup           github 1.0

github.setup        pybox2d pybox2d 2.3.2
name                py-pybox2d
license             zlib MIT
maintainers         {stromnov @stromnov} openmaintainer

description         Python Box2D Bindings - 2D Physics

long_description    ${description}

platforms           darwin

checksums           rmd160  f40390a1567754c6c26497b5d3d9f6ba9d0a626b \
                    sha256  988e7df38fc224144cdc13d4c6cecf9821ec0ecc2d041204c4b0535d3ab57327 \
                    size    1254852

python.versions     27 36 37

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

    test.run        yes
    test.cmd        ${python.bin} setup.py

    livecheck.type  none
}