Port details on branch 2023Q3 |
- py-bleach Easy safelist-based HTML-sanitizing tool
- 6.2.0 www =3 6.2.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2012-06-01 18:04:09
- Last Update: 2024-10-31 09:22:54
- Commit Hash: 194c17c
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- Also Listed In: python
- License: APACHE20
- WWW:
- https://bleach.readthedocs.io/en/latest/
- https://github.com/mozilla/bleach
- Description:
- Bleach is an allowed-list-based HTML sanitizing library that escapes or strips
markup and attributes.
Bleach can also linkify text safely, applying filters that Django's urlize
filter cannot, and optionally setting rel attributes, even on links already in
the text.
Bleach is intended for sanitizing text from untrusted sources. If you find
yourself jumping through hoops to allow your site administrators to do lots of
things, you're probably outside the use cases. Either trust those users, or
don't.
Because it relies on html5lib, Bleach is as good as modern browsers at dealing
with weird, quirky HTML fragments. And any of Bleach's methods will fix
unbalanced or mis-nested tags.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-bleach/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-bleach
- pkg install py311-bleach
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-bleach listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-bleach
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1730301026
SHA256 (bleach-6.2.0.tar.gz) = 123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
SIZE (bleach-6.2.0.tar.gz) = 203083
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-webencodings>=0 : converters/py-webencodings@py311
- py311-tinycss2>=1.1.0<1.5 : textproc/py-tinycss2@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- deskutils/py-paperless-ngx
- devel/py-protobuf-compiler
-
Deleted ports which required this port:
- for Run
-
- deskutils/py-paperless-ngx
- devel/py-nbconvert
- devel/py-protobuf-compiler
- net-im/py-matrix-synapse
- www/py-calibreweb
- www/py-django-bleach
- www/py-django-post_office
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for py311-bleach-6.2.0:
CSS=on: CSS support
===> Use 'make config' to modify these settings
- Options name:
- www_py-bleach
- USES:
- cpe python shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|