# $Id: Portfile 126585 2014-10-12 06:36:41Z larryv@macports.org $

PortSystem 1.0
PortGroup  python 1.0

name                py-simpletal
version             4.1
license             BSD
maintainers         nomaintainer
platforms           darwin freebsd
supported_archs     noarch
description         A standalone Python HTML & XML template library
long_description \
    SimpleTAL is a stand alone Python implementation of the TAL, TALES and METAL \
    specifications used in Zope to power HTML and XML templates. \
    SimpleTAL is an independent implementation of TAL\; there are no dependencies \
    on Zope nor is any of the Zope work re-used.

homepage            http://www.owlfish.com/software/simpleTAL
master_sites        ${homepage}/downloads
distname            SimpleTAL-${version}
checksums           md5     16c5673382967310b336c68591ae6786 \
                    sha1    d64ad70708cb07850d705d50ae7363504fea60d7 \
                    rmd160  b627e4599a9b2988efde70b3119fb24f3253bb6a

python.versions     27

if {${name} eq ${subport}} {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     SimpleTAL-(\\d+(?:\\.\\d+)*)
} else {
    livecheck.type  none
}
