[105445] trunk/dports/python/py-eyed3
elelay at macports.org
elelay at macports.org
Sat Apr 20 08:35:44 PDT 2013
Revision: 105445
https://trac.macports.org/changeset/105445
Author: elelay at macports.org
Date: 2013-04-20 08:35:44 -0700 (Sat, 20 Apr 2013)
Log Message:
-----------
py-eyed3: upgrade to 0.7.1
--Cette ligne, et les suivantes ci-dessous, seront ignorées--
D py-eyed3/files
M py-eyed3/Portfile
Modified Paths:
--------------
trunk/dports/python/py-eyed3/Portfile
Removed Paths:
-------------
trunk/dports/python/py-eyed3/files/
Modified: trunk/dports/python/py-eyed3/Portfile
===================================================================
--- trunk/dports/python/py-eyed3/Portfile 2013-04-20 15:02:54 UTC (rev 105444)
+++ trunk/dports/python/py-eyed3/Portfile 2013-04-20 15:35:44 UTC (rev 105445)
@@ -4,7 +4,7 @@
PortGroup python 1.0
name py-eyed3
-version 0.6.18
+version 0.7.1
categories-append audio
license GPL-2+
platforms darwin
@@ -18,34 +18,28 @@
v1.0/v1.1 and v2.3/v2.4.
homepage http://eyed3.nicfit.net/
-master_sites ${homepage}/releases/
+master_sites ${homepage}releases/
distname eyeD3-${version}
-checksums sha1 d8887f7b75306bd293e0b0d46a977e73225ae7b5
+extract.suffix .tgz
+checksums sha1 6f67346845af42c03448f25e8b524449f1170b51
python.versions 25 26 27
if {$subport != $name} {
- patchfiles patch-bin-eyeD3.diff
-
- use_configure yes
- post-configure {
- reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
- }
-
+ # override commands because they add --no-user-cfg which is not supported
+ build.cmd "${python.bin} setup.py"
+ destroot.cmd "${python.bin} setup.py"
+
pre-destroot {
- xinstall -d ${destroot}${python.prefix}/bin
- xinstall -m 755 ${worksrcpath}/bin/eyeD3 ${destroot}${python.prefix}/bin
+ reinplace "s|python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
}
post-destroot {
- xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
- README README.html TODO \
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README.rst \
${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+)"
+ livecheck.regex "eyeD3 v(\\d+\\.\\d+\\.\\d+)"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130420/e69d3ffe/attachment.html>
More information about the macports-changes
mailing list