Files
2023-01-16 16:04:22 +11:00

48 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup deprecated 1.0
name py-mpdclient2
version 0.48
revision 1
categories-append audio
platforms {darwin any}
supported_archs noarch
license GPL-2+
maintainers nomaintainer
description Python MPD client library
long_description Python library interfacing with MPD. Taken from Pygmy.
homepage http://pygmy.berlios.de/
distname pygmy-${version}
master_sites ${homepage}files http://distfiles.macports.org/python/
use_bzip2 yes
checksums rmd160 064690b1d3ed52349d352d598e6fbdf89a4ced69 \
sha256 c5eba5b51f9007e36eb1892b5b153143da1bac81d4fc73d8ce60bdf23a58b776 \
size 41044
python.versions 27
deprecated.upstream_support no
livecheck.type no
if {${name} ne ${subport}} {
build {
# force bytecode compilation of mpdclient2.py => mpdclient2.pyc
system -W ${worksrcpath} "${python.bin} -c 'import mpdclient2'"
}
destroot {
xinstall -d ${destroot}${python.pkgd}
xinstall -m 0644 ${worksrcpath}/mpdclient2.py \
${destroot}${python.pkgd}
xinstall -m 0644 ${worksrcpath}/mpdclient2.pyc \
${destroot}${python.pkgd}
}
}