source: trunk/dports/python/py-pymunk/Portfile

Last change on this file was 130706, checked in by larryv@…, 3 years ago

py32-pymunk: Replace with py34

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 130706 2015-01-02 08:48:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pymunk
8version             4.0.0
9revision            0
10categories-append   devel
11platforms           darwin
12license             MIT
13supported_archs     i386 x86_64
14
15python.versions     26 27 33 34
16
17maintainers         stromnov openmaintainer
18
19description         Python wrapper around the 2d physics library Chipmunk
20
21long_description    ${description}
22
23homepage            http://www.pymunk.org/
24master_sites        googlecode:pymunk
25
26distname            pymunk-${version}
27use_zip             yes
28
29checksums           rmd160  2c96284897bdc0f9ca58f4484732fb4a8924888c \
30                    sha256  7102b1a63d4eeb9eb459d4733663bc0af4ea59f664e3fac2228c704ec6768937
31
32patchfiles          patch-setup.py.diff \
33                    patch-pymunkoptions-__init__.py.diff
34
35variant debug description {Build with debug messages} {
36    patchfiles-delete   patch-pymunkoptions-__init__.py.diff
37}
38
39if {${name} ne ${subport}} {
40    depends_build-append    port:py${python.version}-setuptools
41
42    post-build {
43        if {![variant_isset debug]} {
44            system -W ${worksrcpath} "${python.bin} setup.py build_chipmunk --release"
45        } else {
46            system -W ${worksrcpath} "${python.bin} setup.py build_chipmunk"
47        }
48    }
49
50    livecheck.type      none
51}
Note: See TracBrowser for help on using the repository browser.