You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
2.4 KiB
Tcl
61 lines
2.4 KiB
Tcl
# -*- 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-mako
|
|
version 1.3.12
|
|
revision 0
|
|
categories-append www
|
|
license MIT
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description A super-fast templating language that borrows \
|
|
the best ideas from the existing templating \
|
|
languages.
|
|
|
|
long_description 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.
|
|
|
|
homepage https://www.makotemplates.org/
|
|
|
|
checksums rmd160 1254806a48d2bf59dca1d89238524668d25e1852 \
|
|
sha256 9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a \
|
|
size 400219
|
|
|
|
if {${name} ne ${subport}} {
|
|
|
|
if {${python.version} eq 27} {
|
|
version 1.1.6
|
|
revision 0
|
|
python.rootname Mako
|
|
checksums rmd160 542024ab96ad5443cc44210f927b25915f5ce70e \
|
|
sha256 4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2 \
|
|
size 495132
|
|
python.pep517 no
|
|
depends_lib-append port:py${python.version}-setuptools \
|
|
port:py${python.version}-beaker
|
|
} else {
|
|
patchfiles patch-wheel-pyproject.toml.diff
|
|
}
|
|
|
|
depends_lib-append port:py${python.version}-markupsafe
|
|
|
|
livecheck.type none
|
|
}
|