description Python MPD client library
Python library interfacing with MPD. Taken from Pygmy.
distname pygmy-${version}
homepage http://pygmy.berlios.de/
master_sites ${homepage}files http://distfiles.macports.org/python/
checksums md5 5cac04dbffff24a4b8f9ae0a77689a14 \
sha1 a7c39edd8018a3238611813de0f43ba4c6ad61d3 \
rmd160 064690b1d3ed52349d352d598e6fbdf89a4ced69
if {${name} ne ${subport}} {
# force bytecode compilation of mpdclient2.py => mpdclient2.pyc
system -W ${worksrcpath} "${python.bin} -c 'import mpdclient2'"
xinstall -m 755 -d ${destroot}${python.pkgd}
xinstall -m 644 ${worksrcpath}/mpdclient2.py \
${destroot}${python.pkgd}
xinstall -m 644 ${worksrcpath}/mpdclient2.pyc \
${destroot}${python.pkgd}