print/py-preppy 5.2.1 MidnightBSD
ReportLab's templating system
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
099f4dd9d7- License
- bsd3
- Categories
- print, python
Description
Preppy is ReportLab's templating system. It was developed in late 2000 and has been in continual production use since then. It is open source (BSD-license).
The key features are:
- *small*. Preppy is a single Python module. If you want a templating system 'in the box', it's easy to include it in your project
- *easy to learn*. It takes about one minute to scan all the features
- *just Python*. We have not invented another language, and if you want to do something - includes, quoting, filters - you just use Python
- *compiled to bytecode*: a .prep file gets compiled to a Python function in a .pyc file
- *easy to debug*: preppy generates proper Python exceptions, with the correct line numbers for the .prep file. You can follow tracebacks from Python script to Preppy template and back, through multiple includes
- *easy to type and read*. We've been using ```` syntax since well before Django was thought of
- *8-bit safe*: it makes no assumption that you are generating markup and does nothing unexpected with whitespace; you could use it to generate images or binary files if you wanted to.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | print/py-preppy | 5.2.1 |
| FreeBSD | print/py-preppy | 5.2.1 |
| DragonFly | print/py-preppy | 2.4.1_1 |
| HardenedBSD | print/py-preppy | 5.2.1 |
| GhostBSD | print/py-preppy | 5.2.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}preppy
From mports:
cd /usr/mports/print/py-preppy && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}preppy>0:print/py-preppy
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| preppy-5.2.1.tar.gz | 58325 | a2c834d8864bbe3eef8d477cffac80559724507818ed21c9694107f1166743ae |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
099f4dd9d7 |
Lucas Holt | print/py-preppy: update for Python 3.12 AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |