# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-textile
# verify compatibility with the "trac" port before updating
version             3.0.4
revision            0

categories-append   textproc
license             BSD
maintainers         katatechnen.net:francisga openmaintainer
description         Textile processing for python
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 any}
supported_archs     noarch

homepage            https://pypi.python.org/pypi/textile

python.versions     27

checksums           rmd160  72ea615bc87a17273a68b504a82990f45b757dbd \
                    sha256  acc43b6c543cca7627f9d9ba840bad1a6f049a043bdd16c69d7a17d4eb660e21 \
                    size    49890

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-pytest-runner \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-html5lib \
                    port:py${python.version}-six

    test.run        yes
}
