source: trunk/dports/python/py-eyed3/Portfile

Last change on this file was 148720, checked in by elelay@…, 17 months ago

py-eyed3 update to 0.7.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 148720 2016-05-15 13:59:56Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-eyed3
7version                 0.7.9
8categories-append       audio
9license                 GPL-2+
10platforms               darwin
11supported_archs noarch
12maintainers             elelay openmaintainer
13description             python module and program for processing ID3 tags
14long_description        eyeD3 is a Python program/module for processing \
15                                (reading and writing) ID3 tags. Information about mp3 \
16                                files (i.e bit rate, sample frequency, play time, \
17                                etc.) is also available. The formats supported are ID3 \
18                                v1.0/v1.1 and v2.3/v2.4.
19
20homepage                http://eyed3.nicfit.net/
21master_sites    ${homepage}releases/
22distname                eyeD3-${version}
23
24# setyp.py is not compatible with python 2.5 as of 0.7.1
25python.versions 26 27
26
27if {${name} ne ${subport}} {
28    # override commands because they add --no-user-cfg which is not supported
29    build.cmd       "${python.bin} setup.py"
30    destroot.cmd       "${python.bin} setup.py"
31
32    checksums           rmd160  ad3b6bc8bb59da3378bd3cb403f634dbb5b87f8b \
33                        sha256  f7e7973b27b47b6eefd47efa9496a9a9a3957bf0a0f1c708116d98391e86bf22
34
35    depends_build-append port:py${python.version}-setuptools
36
37    pre-destroot        {
38        reinplace "s|python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
39    }
40    post-destroot {
41        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README.rst \
42            ${destroot}${prefix}/share/doc/${subport}
43    }
44    livecheck.type  none
45} else {
46    livecheck.type      regex
47    livecheck.url       ${homepage}
48    livecheck.regex     "eyeD3 v(\\d+\\.\\d+\\.\\d+)"
49}
Note: See TracBrowser for help on using the repository browser.