py-pastescript: don't install unit tests

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89310 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
David Baumgold
2012-01-24 17:02:55 +00:00
parent f77a46b0d3
commit ce4e92e12c
+4
View File
@@ -5,6 +5,7 @@ PortGroup python 1.0
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 @@ if {$name != $subport} {
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]
}