BSD Ports

textproc/py-markupsafe 2.1.5_1 MidnightBSD

Implements XML/HTML/XHTML Markup safe string for Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
textproc, python

Description

MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML. Characters that have special meanings are replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.

In the other systems

SystemPortVersion
MidnightBSDtextproc/py-markupsafe2.1.5_1
FreeBSDtextproc/py-markupsafe3.0.3
NetBSDtextproc/py-markupsafe3.0.3
DragonFlytextproc/py-markupsafe2.1.5_1
HardenedBSDtextproc/py-markupsafe3.0.3
GhostBSDtextproc/py-markupsafe3.0.3
OPNsensetextproc/py-markupsafe3.0.3

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}markupsafe

From mports:

cd /usr/mports/textproc/py-markupsafe && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
MarkupSafe-2.1.5.tar.gz19384d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b
Master sites 1
  • PYPI