# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-eyed3 version 0.7.9 categories-append audio license GPL-2+ platforms darwin supported_archs noarch maintainers elelay openmaintainer description python module and program for processing ID3 tags long_description eyeD3 is a Python program/module for processing \ (reading and writing) ID3 tags. Information about mp3 \ files (i.e bit rate, sample frequency, play time, \ etc.) is also available. The formats supported are ID3 \ v1.0/v1.1 and v2.3/v2.4. homepage http://eyed3.nicfit.net/ master_sites ${homepage}releases/ distname eyeD3-${version} # setyp.py is not compatible with python 2.5 as of 0.7.1 python.versions 26 27 if {${name} ne ${subport}} { # override commands because they add --no-user-cfg which is not supported build.cmd "${python.bin} setup.py" destroot.cmd "${python.bin} setup.py" checksums rmd160 ad3b6bc8bb59da3378bd3cb403f634dbb5b87f8b \ sha256 f7e7973b27b47b6eefd47efa9496a9a9a3957bf0a0f1c708116d98391e86bf22 depends_build-append port:py${python.version}-setuptools pre-destroot { reinplace "s|python|${python.bin}|g" ${worksrcpath}/bin/eyeD3 } post-destroot { xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README.rst \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex "eyeD3 v(\\d+\\.\\d+\\.\\d+)" }