# -*- 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
supported_archs i386 x86_64
python.versions 26 27 33 34 35 36
maintainers stromnov openmaintainer
description Python wrapper around the 2d physics library Chipmunk
long_description ${description}
homepage http://www.pymunk.org/
master_sites googlecode:pymunk
distname pymunk-${version}
checksums rmd160 2c96284897bdc0f9ca58f4484732fb4a8924888c \
sha256 7102b1a63d4eeb9eb459d4733663bc0af4ea59f664e3fac2228c704ec6768937
patchfiles patch-setup.py.diff \
patch-pymunkoptions-__init__.py.diff
variant debug description {Build with debug messages} {
patchfiles-delete patch-pymunkoptions-__init__.py.diff
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
if {![variant_isset debug]} {
system -W ${worksrcpath} "${python.bin} setup.py build_chipmunk --release"
system -W ${worksrcpath} "${python.bin} setup.py build_chipmunk"