[102029] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Jan 24 20:00:11 PST 2013
Revision: 102029
https://trac.macports.org/changeset/102029
Author: jmr at macports.org
Date: 2013-01-24 20:00:11 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
py*-eyed3:
* unify (removing non-working py24 version; r89318 was clearly not tested and should not have updated it beyond 0.6.15)
* license
* noarch
Revision Links:
--------------
https://trac.macports.org/changeset/89318
Modified Paths:
--------------
trunk/dports/python/py-eyed3/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-eyed3/
trunk/dports/python/py26-eyed3/
trunk/dports/python/py27-eyed3/
Modified: trunk/dports/python/py-eyed3/Portfile
===================================================================
--- trunk/dports/python/py-eyed3/Portfile 2013-01-24 22:24:14 UTC (rev 102028)
+++ trunk/dports/python/py-eyed3/Portfile 2013-01-25 04:00:11 UTC (rev 102029)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-eyed3
version 0.6.18
categories python audio
+license GPL-2+
platforms darwin
-maintainers nomaintainer
+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 \
@@ -19,20 +21,31 @@
master_sites ${homepage}/releases/
distname eyeD3-${version}
checksums sha1 d8887f7b75306bd293e0b0d46a977e73225ae7b5
-patchfiles patch-bin-eyeD3.diff
-depends_lib-append port:py-optik
+python.versions 25 26 27
-use_configure yes
-post-configure {
- reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
-}
+if {$subport != $name} {
+ patchfiles patch-bin-eyeD3.diff
-post-destroot {
- xinstall -m 755 ${worksrcpath}/bin/eyeD3 ${destroot}${prefix}/bin
- xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
- README README.html TODO \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/doc/eyeD3.1 ${destroot}${prefix}/share/man/man1
+ use_configure yes
+ post-configure {
+ reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
+ }
+
+ pre-destroot {
+ xinstall -d ${destroot}${python.prefix}/bin
+ xinstall -m 755 ${worksrcpath}/bin/eyeD3 ${destroot}${python.prefix}/bin
+ }
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
+ README README.html TODO \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${python.prefix}/share/man/man1
+ xinstall -m 644 ${worksrcpath}/doc/eyeD3.1 ${destroot}${python.prefix}/share/man/man1
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex "The current stable version is (\\d+\\.\\d+\\.\\d+)"
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/cbbaad43/attachment-0001.html>
More information about the macports-changes
mailing list