[31582] trunk/dports/python/py25-imdb/Portfile

mww at macports.org mww at macports.org
Wed Nov 28 11:19:32 PST 2007


Revision: 31582
          http://trac.macosforge.org/projects/macports/changeset/31582
Author:   mww at macports.org
Date:     2007-11-28 11:19:31 -0800 (Wed, 28 Nov 2007)

Log Message:
-----------
fix name, avoid conflicts with py-imdb

Modified Paths:
--------------
    trunk/dports/python/py25-imdb/Portfile

Modified: trunk/dports/python/py25-imdb/Portfile
===================================================================
--- trunk/dports/python/py25-imdb/Portfile	2007-11-28 18:52:59 UTC (rev 31581)
+++ trunk/dports/python/py25-imdb/Portfile	2007-11-28 19:19:31 UTC (rev 31582)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 PortGroup python25 1.0
 
-name			py-imdb
+name			py25-imdb
 version			3.3
 categories		python
 platforms		darwin
@@ -19,6 +19,9 @@
 checksums		sha1 be2f17b4f1578f722e4ffaf2b924a13ed8cd57ce
 
 post-destroot {
+	foreach f {get_first_movie get_first_person get_movie get_person imdbpy2sql search_movie search_person} {
+		file rename ${destroot}${prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.5.py
+	}
 	xinstall -m 644 -W ${worksrcpath}/docs AUTHOR.txt CREDITS.txt \
 		Changelog.txt DISCLAIMER.txt GPL.txt INSTALL.txt LICENSE.txt \
 		README.devel README.package README.txt README.users TODO.txt \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071128/68cf7a80/attachment.html


More information about the macports-changes mailing list