BSD Ports

wip/py-expander 2.1.1 NetBSD

Powerful macro processing language

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
wip, devel

Description

pyexpander is a macro processor that allows to embed python code in text files.

Some of the features are:

Variables like $(VAR) are replaced.

Valid python expressions like $(2+3/2) are evaluated.

Arbitrary python code like in $py(import math; math.pi) can be executed.

The functionality is available as a script and a python library.

The program is availiable for python version 3.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-expander && make install clean

Dependencies

No port depends on this one.