# $Id: Portfile 107399 2013-06-27 04:39:34Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-textile
version             2.1.3
categories-append   textproc
license             BSD
maintainers         katatechnen.net:francisga openmaintainer
description         python implementation of Textile
long_description    Textile is a XHTML generator using a simple markup \
                    developed by Dean Allen. This is a Python port with \
                    support for code validation, itex to MathML translation, \
                    Python code coloring and much more.
                    
platforms           darwin
supported_archs     noarch

homepage            http://loopcore.com/python-textile/
master_sites        http://pypi.python.org/packages/source/t/textile/
distname            textile-${version}

checksums           md5    07ec3c6d5e47763376894dfe60466a18 \
                    sha1   c750ea67dfbcdfb55ceae1268c39917622c283a1 \
                    rmd160 c6eb4e2f3168c336b3a5beb0fcc9980792899e82

python.versions     24 25 26

if {$subport != $name} {
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       http://pypi.python.org/pypi/textile
    livecheck.regex     textile (2\.\[0-9\]+\.\[0-9\]+)
}
