You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
d19845a6e4
- switch to PyPI
47 lines
1.7 KiB
Tcl
47 lines
1.7 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-clientform
|
|
python.rootname ClientForm
|
|
version 0.2.10
|
|
revision 0
|
|
categories-append www
|
|
license {BSD ZPL-2.1}
|
|
platforms darwin
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
description python module for handling HTML forms
|
|
long_description ClientForm is a Python module for handling HTML forms \
|
|
on the client side, useful for parsing HTML forms, \
|
|
filling them in and returning the completed forms to \
|
|
the server.
|
|
|
|
homepage http://wwwsearch.sourceforge.net/ClientForm/
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 85b2c0174b0bc1377f71cb13586f28c79554a6e3 \
|
|
sha256 9507e7cf6464f30a0daf5153294fdd315e397939433ed08cccf9741de280cd37 \
|
|
size 104094
|
|
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
test.run yes
|
|
test.cmd ${python.bin}
|
|
test.target test.py
|
|
|
|
post-destroot {
|
|
foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
|
|
copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
|
|
}
|
|
foreach f [glob -directory ${worksrcpath}/examples *] {
|
|
copy $f ${destroot}${prefix}/share/doc/${subport}/examples/[file tail $f]
|
|
}
|
|
}
|
|
}
|