BSD Ports

print/py-preppy 5.2.1 FreeBSD

Preprocessor for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
print, python
Package size
50.1 KiB, 235.3 KiB installed

Description

Preppy is ReportLab's templating system. It has been in continuous production use since 2000.

It was released as open source code but never evangelized. We are putting it out on PyPI now because many of our solutions depend on it, and this makes it a lot easier to install (e.g. with a pip requirements file).

Preppy is a single Python module which should be placed directly on the path (i.e. you access it with 'import preppy'). The setup script does this, but it's just as effective to grab it from the repo and drop it into your project.

Preppy aims to be absolutely minimal. You embed Python expressions and control structures in your template. It compiles the template into a .pyc file. A preppy template is exactly equivalent to a Python function which accepts parameters and returns text output. We don't both with include functions, block nesting, filters or any other fancy stuff, because we already have a perfectly good language to do that in.

Preppy is just Python, so you get proper Python tracebacks, with the original line number in the .prep file; you can happily debug through calls to python, preppy, python and more preppy.

In the other systems

SystemPortVersion
FreeBSDprint/py-preppy5.2.1
DragonFlyprint/py-preppy2.4.1_1
MidnightBSDprint/py-preppy5.2.1

Install

Binary package:

pkg install py312-preppy

From the ports tree:

cd /usr/ports/print/py-preppy/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-preppy>0:print/py-preppy

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.2.15.2.12.4.12.4.1_15.2.1
FreeBSD:14:quarterly5.2.15.2.1n/a2.4.1_15.2.1
FreeBSD:15:latest5.2.15.2.1n/a2.4.1_12.4.1_1
FreeBSD:15:quarterly5.2.15.2.1n/an/an/a
FreeBSD:16:latest5.2.15.2.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
preppy-5.2.1.tar.gz58325a2c834d8864bbe3eef8d477cffac80559724507818ed21c9694107f1166743ae
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.