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

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

py24-weblib: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 130921 2015-01-04 03:41:33Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-weblib
7version                 1.3.4
8categories-append       www
9license                 GPL-2
10platforms               darwin freebsd
11supported_archs noarch
12maintainers             nomaintainer
13description             Python web application library
14long_description        Python web application library handling FORM input, \
15                                sessions, SSL-related environment variables and some \
16                                basic HTTP functions.
17
18homepage                http://www.stroeder.com/pylib/PyWebLib
19master_sites    ${homepage}/download/ http://distfiles.macports.org/python
20distname                pyweblib-${version}
21checksums               md5 762492fb70db7d044e7dc2a420c4f075 \
22                sha1 c2839936cc272a5299a5e196bacf536d06b3d7a3 \
23                rmd160 4c219f7c5ecacb43324ff86ccd25f3712c685ec9
24
25python.versions 27
26
27if {${name} ne ${subport}} {
28    post-destroot       {
29        xinstall -m 644 ${worksrcpath}/CHANGES \
30            ${destroot}${prefix}/share/doc/${subport}
31        xinstall -m 644 -W ${worksrcpath}/htdocs/pydoc pyweblib.forms.html \
32            pyweblib.helper.html pyweblib.html pyweblib.httphelper.html \
33            pyweblib.session.html pyweblib.sslenv.html \
34            ${destroot}${prefix}/share/doc/${subport}
35        xinstall -m 644 -W ${worksrcpath}/cgi-bin test-forms.py \
36            test-session.py ${destroot}${prefix}/share/doc/${subport}/examples
37    }
38}
Note: See TracBrowser for help on using the repository browser.