source: trunk/dports/python/py-clientform/Portfile

Last change on this file was 130321, checked in by larryv@…, 3 years ago

py{24,25}-clientform: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 130321 2014-12-30 02:27:06Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-clientform
8version             0.2.9
9categories-append   www
10license             {BSD ZPL-2.1}
11platforms           darwin
12supported_archs     noarch
13maintainers         krischik openmaintainer
14description         python module for handling HTML forms
15long_description    ClientForm is a Python module for handling HTML forms \
16                    on the client side, useful for parsing HTML forms, \
17                    filling them in and returning the completed forms to \
18                    the server.
19
20homepage            http://wwwsearch.sourceforge.net/ClientForm/
21master_sites        ${homepage}/src/
22distname            ClientForm-${version}
23checksums           md5 21e68d52cc5939ab3345b97e09f0a25a \
24                    sha1 ab07cf5bc293ffa1676bb7f4c5c756cb2907d782 \
25                    rmd160 f82975f171ef3c673d78fa08f7ade3205a0cc87a
26
27python.versions     26 27
28
29if {${name} ne ${subport}} {
30    depends_build       port:py${python.version}-setuptools
31
32    test.run            yes
33    test.cmd            ${python.bin}
34    test.target         test.py
35
36    post-destroot {
37        foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
38            copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
39        }
40        foreach f [glob -directory ${worksrcpath}/examples *] {
41            copy $f ${destroot}${prefix}/share/doc/${subport}/examples/[file tail $f]
42        }
43    }
44}
Note: See TracBrowser for help on using the repository browser.