# $Id: Portfile 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-pastescript version 1.7.5 revision 1 python.versions 27 categories-append www license MIT maintainers nomaintainer description Paste Script is a pluggable command-line \ frontend, to the Paste system. long_description ${description} platforms darwin supported_archs noarch homepage http://pythonpaste.org/paste/ master_sites pypi:P/PasteScript/ distname PasteScript-${version} checksums rmd160 58f48f8bd85f8c708503235cd5dad6df002b55e2 \ sha256 2b685be69d6ac8bc0fe6f558f119660259db26a15e16a4943c515fbee8093539 if {${name} ne ${subport}} { depends_lib-append \ port:py${python.version}-paste \ 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] } } }