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

Last change on this file was 130534, checked in by larryv@…, 3 years ago

py{24,25}-id3lib: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 717 bytes
Line 
1# $Id: Portfile 130534 2014-12-31 19:33:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-id3lib
7version                 0.5.1
8categories-append       audio
9license                 LGPL-2.1
10platforms               darwin
11maintainers             liqui.org:rjkroege maubi.net:waterson openmaintainer
12description             Python module for reading and writing id3v2 tags
13long_description        ${description}
14
15homepage                http://pyid3lib.sourceforge.net/
16master_sites            sourceforge:pyid3lib
17distname                pyid3lib-${version}
18checksums               md5 5fd37a7dda7c540f665ca5d428a28f5e
19
20python.versions 26 27
21
22if {${name} ne ${subport}} {
23    depends_lib-append  port:id3lib port:zlib
24
25    patchfiles          patch-setup.py.diff \
26                        patch-pyid3lib.py.diff
27    post-patch {
28        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
29    }
30}
Note: See TracBrowser for help on using the repository browser.