[54370] trunk/dports/python

billitch at macports.org billitch at macports.org
Sat Jul 25 10:41:43 PDT 2009


Revision: 54370
          http://trac.macports.org/changeset/54370
Author:   billitch at macports.org
Date:     2009-07-25 10:41:42 -0700 (Sat, 25 Jul 2009)
Log Message:
-----------
Removed tests from destroot (fixes #20379)

Modified Paths:
--------------
    trunk/dports/python/py25-cssutils/Portfile
    trunk/dports/python/py25-pylons/Portfile

Modified: trunk/dports/python/py25-cssutils/Portfile
===================================================================
--- trunk/dports/python/py25-cssutils/Portfile	2009-07-25 17:17:43 UTC (rev 54369)
+++ trunk/dports/python/py25-cssutils/Portfile	2009-07-25 17:41:42 UTC (rev 54370)
@@ -25,6 +25,9 @@
                         rmd160  104246a4a07861236644c010f734b5265fdd797f
 
 post-destroot {
+    # We should notify upstream not to install tests.
+    delete ${destroot}${prefix}/lib/python2.5/site-packages/tests
+
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} README.txt \
 		${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py25-pylons/Portfile
===================================================================
--- trunk/dports/python/py25-pylons/Portfile	2009-07-25 17:17:43 UTC (rev 54369)
+++ trunk/dports/python/py25-pylons/Portfile	2009-07-25 17:41:42 UTC (rev 54370)
@@ -42,6 +42,8 @@
                 port:py25-cheetah
 
 post-destroot {
+    # We should notify upstream not to install tests.
+    delete ${destroot}${prefix}/lib/python2.5/site-packages/tests
     # Dependencies are the packaging system's job, for crying out loud.
     # Cheetah doesn't use setuptools.
     reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.5/site-packages/Pylons-${version}-py2.5.egg-info/requires.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090725/fe508cac/attachment.html>


More information about the macports-changes mailing list