Modified: trunk/dports/python/py-eyed3/Portfile (105444 => 105445)
--- 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+)"
}