# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-SDL2 version 0.7.0 categories-append devel multimedia license public-domain platforms darwin supported_archs noarch maintainers jmr openmaintainer description a python wrapper around the SDL2 library long_description \ PySDL2 is a wrapper around the SDL2 library and as such similar to the \ discontinued PySDL project. In contrast to PySDL, it has no licensing \ restrictions, nor does it rely on C code, but uses ctypes instead. homepage https://bitbucket.org/marcusva/py-sdl2 master_sites ${homepage}/downloads/ distname PySDL2-${version} checksums rmd160 e5b4169349757ad6b0305e164f2ac7611d5b2666 \ sha256 4983640a0c0fd36dca0c38f10f586bcba0fe4ae599b4404c796c2a86adcabec3 python.versions 27 32 33 if {${name} ne ${subport}} { depends_lib-append port:libsdl2 \ port:libsdl2_image \ port:libsdl2_mixer \ port:libsdl2_ttf livecheck.type none } else { livecheck.type regex livecheck.url [lindex $master_sites 0] livecheck.regex PySDL2-(\[0-9.\]+)${extract.suffix} }