# -*- 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-genshi
version             0.7.10
revision            0
categories-append   textproc www
platforms           {darwin any}
supported_archs     noarch
license             BSD

python.versions     27 310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Python toolkit for generation of output for the web

long_description \
   Genshi is a Python library that provides an integrated set of components \
   for parsing, generating, and processing HTML, XML or other textual \
   content for output generation on the web.

homepage            https://genshi.edgewall.org

checksums           rmd160  dc1d1965361c08147711a4f3fbf1d13e60df521c \
                    sha256  85b0db113625314f0f44f3fe6ef0eb2564d6c34dd2ee5677b495d15142bb4973 \
                    size    237292

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