# -*- 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
# $Id: Portfile 89452 2012-01-29 22:23:49Z dports@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-webhelpers
version                 1.3
python.versions         24 25 26 27
epoch                   2
maintainers             perry openmaintainer
platforms               darwin

description             Web Helpers is a library of helper functions intended \
                        to make writing web applications easier.
long_description        ${description} It's the standard function library for \
                        Pylons and TurboGears 2, but can be used with any web \
                        framework.
license                 BSD
homepage                http://pypi.python.org/pypi/WebHelpers/

livecheck.regex         {WebHelpers/(.+)"}
livecheck.type          regex
livecheck.url           ${homepage}


distname                WebHelpers-${version}
master_sites            http://pypi.python.org/packages/source/W/WebHelpers/
checksums               rmd160  9df2b54f2fefba26aaf668a92ee9c8a94ebe87ac \
                        sha256  ea86f284e929366b77424ba9a89341f43ae8dee3cbeb8702f73bcf86058aa583

if {$name != $subport} {
    depends_build-append    port:py${python.version}-distribute
    depends_lib-append      port:py${python.version}-markupsafe
}
