./devel/py-mako, Hyperfast and lightweight templating for the Python platform

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.0, Package name: py37-mako-1.1.0, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 2b1158ba4e086257f23aa25f82f052644f316b7c
RMD160: 8cfac09fc9ca66cfff9954bf85d22ca24bc9406b
Filesize: 453.071 KB

Version history: (Expand)


CVS history: (Expand)


   2019-08-03 13:27:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.1.0

1.1.0

changed

[changed] [setup]
Removed the “python setup.py test” feature in favor of a straight run of \ 
“tox”. Per Pypa / pytest developers, “setup.py” commands are in general \ 
headed towards deprecation in favor of tox. The tox.ini script has been updated \ 
such that running “tox” with no arguments will perform a single run of the \ 
test suite against the default installed Python interpreter.

[changed] [installer] [py3k]
Mako 1.1 now supports Python versions:
- 2.7
- 3.4 and higher

This includes that setup.py no longer includes any conditionals, allowing for a \ 
pure Python wheel build, however this is not necessarily part of the Pypi \ 
release process as of yet. The test suite also raises for Python deprecation \ 
warnings.

bug

[bug] [py3k] [windows]
Replaced usage of time.clock() on windows as well as time.time() elsewhere for \ 
microsecond timestamps with timeit.default_timer(), as time.clock() is being \ 
removed in Python 3.8. Pull request courtesy Christoph Reiter.

[bug] [py3k]
Replaced usage of inspect.getfullargspec() with the vendored version used by \ 
SQLAlchemy, Alembic to avoid future deprecation warnings. Also cleans up an \ 
additional version of the same function that’s apparently been floating around \ 
for some time.
   2019-07-21 10:07:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.0.14

1.0.14

[feature] [template]

The n filter is now supported in the <%page> tag. This allows a template \ 
to omit the default expression filters throughout a whole template, for those \ 
cases where a template-wide filter needs to have default filtering disabled. \ 
Pull request courtesy Martin von Gagern.

[bug] [exceptions]

Fixed issue where the correct file URI would not be shown in the \ 
template-formatted exception traceback if the template filename were not known. \ 
Additionally fixes an issue where stale filenames would be displayed if a stack \ 
trace alternated between different templates. Pull request courtesy Martin von \ 
Gagern.
   2019-07-03 22:22:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.0.13

version: 1.0.13
Improved the line-number tracking for source lines inside of Python  <%
... %> blocks, such that text- and HTML-formatted exception traces such
as that of  :func:.html_error_template now report the correct source line
inside the block, rather than the first line of the block itself.
Exceptions in <%! ... %> blocks which get raised while loading the
module are still not reported correctly, as these are handled before the
Mako code is generated.
   2019-06-14 06:54:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.0.12

1.0.12
[bug] [py3k]
Fixed regression where import refactors in Mako 1.0.11 caused broken imports on \ 
Python 3.8.

1.0.11
[change]
Updated for additional project metadata in setup.py. Additionally, the code has \ 
been reformatted using Black and zimports.

1.0.10
[bug] [py3k]
Added a default encoding of “utf-8” when the RichTraceback object retrieves \ 
Python source lines from a Python traceback; as these are bytes in Python 3 they \ 
need to be decoded so that they can be formatted in the template.
   2019-04-16 09:18:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.0.9

1.0.9:
Further corrected the previous fix for 287 as it relied upon an attribute that \ 
is monkeypatched by Python’s ast module for some reason, which fails if ast \ 
hasn’t been imported; the correct attribute Constant.value is now used. Also \ 
note the issue was mis-numbered in the previous changelog note.
   2019-03-21 15:18:07 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-mako: updated to 1.0.8

1.0.8
[bug] Fixed an element in the AST Python generator which changed for Python 3.8, \ 
causing expression generation to fail.
[feature] Added --output-encoding flag to the mako-render script. Pull request \ 
courtesy lacsaP.
[bug] Removed unnecessary “usage” prefix from mako-render script. Pull \ 
request courtesy Hugo.
   2017-07-26 19:10:15 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
1.0.7
[bug] Changed the “print” in the mako-render command to \ 
sys.stdout.write(), avoiding the extra newline at the end of the template \ 
output.
   2016-08-21 12:53:17 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remove incorrect mastersite.