[89310] trunk/dports/python/py-pastescript/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Jan 24 09:02:55 PST 2012


Revision: 89310
          http://trac.macports.org/changeset/89310
Author:   singingwolfboy at macports.org
Date:     2012-01-24 09:02:55 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
py-pastescript: don't install unit tests

Modified Paths:
--------------
    trunk/dports/python/py-pastescript/Portfile

Modified: trunk/dports/python/py-pastescript/Portfile
===================================================================
--- trunk/dports/python/py-pastescript/Portfile	2012-01-24 16:53:47 UTC (rev 89309)
+++ trunk/dports/python/py-pastescript/Portfile	2012-01-24 17:02:55 UTC (rev 89310)
@@ -5,6 +5,7 @@
 
 name				py-pastescript
 version				1.7.5
+revision            1
 python.versions     24 25 26 27
 categories-append		www
 maintainers			akitada openmaintainer
@@ -26,6 +27,9 @@
                     port:py${python.version}-pastedeploy
 
 post-destroot {
+	if {[file exists ${destroot}${python.pkgd}/tests]} {
+		delete ${destroot}${python.pkgd}/tests
+	}
 	foreach f [glob -directory ${worksrcpath}/docs *] {
 		copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120124/c6f0856f/attachment.html>


More information about the macports-changes mailing list