Jose Alonso Cardenas Marquez fa73c670c2
devel/py-lxml-html-clean: New port: HTML cleaner from lxml project
This project was initially a part of lxml. Because HTML cleaner is designed as
blocklist-based, many reports about possible security vulnerabilities were
filed for lxml and that make the project problematic for security-sensitive
environments. Therefore we decided to extract the problematic part to a
separate project.

Important: the HTML Cleaner in lxml_html_clean is not considered appropriate
for security sensitive environments. See e.g. bleach for an alternative.
2025-01-01 14:07:30 -08:00

19 lines
426 B
Makefile

PORTNAME= lxml-html-clean
PORTVERSION= 0.4.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= HTML cleaner from lxml project
WWW= https://github.com/fedora-python/lxml_html_clean/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>