[20810] trunk/dports/python/py-sip/Portfile
Revision: 20810 http://trac.macosforge.org/projects/macports/changeset/20810 Author: blair@macports.org Date: 2006-11-29 16:08:05 -0800 (Wed, 29 Nov 2006) Log Message: ----------- Generate .pyc and .pyo files for all installed *.py files. This prevents stray *.pyc and *.pyc files from being left in $prefix/lib/python2.4/site-packages that are not owned by the port. Modified Paths: -------------- trunk/dports/python/py-sip/Portfile Modified: trunk/dports/python/py-sip/Portfile =================================================================== --- trunk/dports/python/py-sip/Portfile 2006-11-29 20:35:12 UTC (rev 20809) +++ trunk/dports/python/py-sip/Portfile 2006-11-30 00:08:05 UTC (rev 20810) @@ -4,6 +4,7 @@ name py-sip version 4.5 +revision 1 categories python devel maintainers mww@opendarwin.org description create Python bindings for C and C++ libraries @@ -44,4 +45,6 @@ file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README THANKS TODO \ ${destroot}${prefix}/share/doc/${name} + system "${prefix}/bin/python2.4 ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}" + system "${prefix}/bin/python2.4 -O ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}" }
participants (1)
-
source_changes@macosforge.org