BSD Ports

devel/py-mako 1.4.1 NetBSD

Hyperfast and lightweight templating for the Python platform

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
be4698bef9
License
mit
Categories
devel, python
Package size
165.1 KiB, 1039.7 KiB installed

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.

In the other systems

The newest version among them is 1.4.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/py-mako1.4.1 newestnone known-[email protected]2026-09-28
DragonFlytextproc/py-mako by name1.3.5_1none known-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install py311-mako

From pkgsrc:

cd /usr/pkgsrc/devel/py-mako && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.4.1
NetBSD 10.1 aarch641.3.12
SmartOS / illumos x86_641.4.3
macOS 15 arm641.4.3

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-mako-1.4.1, py313-mako-1.4.1, py314-mako-1.4.1

Commit history 2

DateCommitCreditsLog message
be4698bef9 wiz py-mako: update to 1.4.3.
1.4.3 bug [bug] [tests] Fixed regression caused in 1.4.2 where tests added to the suite were unable to run directly on Windows, due to posix mechanics: the tests force os.path to posixpath, whereas TemplateLookup.get_template() converts the configured directory using os.path.sep. These tests are now skipped on that platform, where the traversal check is instead exercised against ntpath natively. 1.4.2 bug [bug] [tests] Adjusted the test suite to accommodate for a change in Pygments 2.21.0 where the HtmlFormatter now renders " and ' characters literally rather than as HTML entities, which caused failures in tests that assert against the rendered output of html_error_template(). [bug] [template] …
d1dfb1ba73 wiz py-mako: update to 1.4.1.
1.4.1 bug Fixed issue in the 1.4.0 packaging where the repository’s internal tools/ directory was detected by setuptools package discovery and installed as a top-level tools package into site-packages, shadowing unrelated tools packages belonging to other applications. Package discovery is now limited to the mako package explicitly. 1.4.0 changed The examples/bench folder has been removed as it used mostly long-obsolete template engines. The examples/wsgi/run_wsgi.py example has been updated to remove the use of the removed-in-Python-3.13 cgi module, and to be runnable as a module from the project root. Minimum MarkupSafe dependency version bumped from 0.9.2 to 2.0. …