# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-Mako VERSION= 1.1.3 KEYWORDS= python VARIANTS= py38 py37 py27 SDESC[py37]= Super-fast template library (PY37) SDESC[py38]= Super-fast template library (PY38) SDESC[py27]= Super-fast template library (PY27) HOMEPAGE= https://www.makotemplates.org/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/M/Mako DISTFILE[1]= Mako-1.1.3.tar.gz:main DF_INDEX= 1 SPKGS[py37]= single SPKGS[py38]= single SPKGS[py27]= single OPTIONS_AVAILABLE= PY38 PY37 PY27 OPTIONS_STANDARD= none VOPTS[py37]= PY38=OFF PY37=ON PY27=OFF VOPTS[py38]= PY38=ON PY37=OFF PY27=OFF VOPTS[py27]= PY38=OFF PY37=OFF PY27=ON DISTNAME= Mako-1.1.3 GENERATED= yes [PY37].BUILDRUN_DEPENDS_ON= python-MarkupSafe:single:py37 [PY37].USES_ON= python:py37 [PY38].BUILDRUN_DEPENDS_ON= python-MarkupSafe:single:py38 [PY38].USES_ON= python:py38 [PY27].BUILDRUN_DEPENDS_ON= python-MarkupSafe:single:py27 [PY27].USES_ON= python:py27 [FILE:1459:descriptions/desc.single] ========================= Mako Templates for Python ========================= Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics. Nutshell ======== :: <%inherit file="base.html"/> <% rows = [[v for v in range(0,10)] for row in range(0,10)] %> % for row in rows: ${makerow(row)} % endfor
<%def name="makerow(row)"> % for name in row: ${name}\ % endfor Philosophy =========== Python is a great scripting language. Don't reinvent the wheel...your templates can handle it ! Documentation ============== See documentation for Mako at https://docs.makotemplates.org/en/latest/ License ======== Mako is licensed under an MIT-style license (see LICENSE). Other incorporated projects may be licensed under different licenses. All licenses allow for non-commercial and commercial use. [FILE:96:distinfo] 8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27 477440 Mako-1.1.3.tar.gz