# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-SDL2 version 0.5.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 e8c5be0e7ebc6fbb54f5ad9098687049f8230159 \ sha256 a31dc757cfd98bdbb795c6531b8693a9193c1863a145cac5bd77ddeccbe08d27 python.versions 27 32 33 if {$subport != $name} { 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} }