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

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


Branch: CURRENT, Version: 1.1.3, Package name: py37-mako-1.1.3, 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: 098f90baefe938434e426b8682cdfb89fa223eba
RMD160: 69b6d7462a127223c9ad60bcec03423ce348ced5
Filesize: 466.25 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-03 19:01:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.1.3

1.1.3:
The default template encoding is now utf-8.  Previously, the encoding
"ascii", which was standard throughout Python 2.   This allows that
"magic encoding comment" for utf-8 templates is no longer required.
   2020-03-02 11:34:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.1.2

1.1.2
[feature] [commands]
Added –output-file argument to the Mako command line runner, which allows a \ 
specific output file to be selected. Pull request courtesy Björn Dahlgren.

1.1.1

[bug] [py3k]
Replaced usage of the long-superseded “parser.suite” module in the mako.util \ 
package for parsing the python magic encoding comment with the “ast.parse” \ 
function introduced many years ago in Python 2.5, as “parser.suite” is \ 
emitting deprecation warnings in Python 3.9.

[bug] [ext]
Added “babel” and “lingua” dependency entries to the setuptools \ 
entrypoints for the babel and lingua extensions, so that pkg_resources can check \ 
that these extra dependencies are available, raising an informative exception if \ 
not. Pull request courtesy sinoroc.
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   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.