pkgsrc/textproc/py-html-sanitizer/Makefile
adam 79303001e6 py-html-sanitizer: updated to 1.6.1
1.6:
Fixed another edge case where a tag which is allowed to be empty was erroneously removed if it contained not only whitespace but also a <br> tag.

1.5:
Fixed a few edge whitespace normalization edge cases and a bug where removing an empty tag removed all whitespace.
Added black for automatically formatting the Python code.
By default, links with target="_blank" get an additional rel="noopener" attribute (Article by Mathias Bynens). If you're overriding the list of allowed attributes for anchor tags you must add rel to your list.
2018-08-07 08:29:39 +00:00

19 lines
592 B
Makefile

# $NetBSD: Makefile,v 1.3 2018/08/07 08:29:39 adam Exp $
DISTNAME= html-sanitizer-1.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html-sanitizer/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://github.com/matthiask/html-sanitizer/
COMMENT= White-list based HTML sanitizer
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
DEPENDS+= ${PYPKGPREFIX}-lxml>=3.6.1:../../textproc/py-lxml
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"