You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
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]
|
|
}
|
|
}
|
|
|
|
}
|