pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-html-sanitizer



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 26 15:49:19 UTC 2026

Modified Files:
        pkgsrc/textproc/py-html-sanitizer: Makefile distinfo

Log Message:
py-html-sanitizer: updated to 2.7.0

2.7 (2026-10-25)

- Added the ``preserve_whitespace`` setting which keeps whitespace inside the
  listed tags as-is. Defaults to ``{"pre"}``, which only has an effect if
  ``pre`` is added to the allowed tags.
- Added the ``embedded_hosts`` setting which allows embedding content such as
  ``iframe`` elements from the listed hosts.
- Added the ``drop_disallowed_contents`` setting which removes disallowed tags
  including their contents.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/py-html-sanitizer/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/py-html-sanitizer/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-html-sanitizer/Makefile
diff -u pkgsrc/textproc/py-html-sanitizer/Makefile:1.18 pkgsrc/textproc/py-html-sanitizer/Makefile:1.19
--- pkgsrc/textproc/py-html-sanitizer/Makefile:1.18     Fri Oct 16 19:44:16 2026
+++ pkgsrc/textproc/py-html-sanitizer/Makefile  Mon Oct 26 15:49:19 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2026/10/16 19:44:16 adam Exp $
+# $NetBSD: Makefile,v 1.19 2026/10/26 15:49:19 adam Exp $
 
-DISTNAME=      html_sanitizer-2.6.0
+DISTNAME=      html_sanitizer-2.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/html-sanitizer/}
@@ -10,8 +10,8 @@ HOMEPAGE=     https://github.com/matthiask/h
 COMMENT=       White-list based HTML sanitizer
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
-DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
+DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=0:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=5.2:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-lxml-html-clean>=0.4:../../textproc/py-lxml-html-clean
 

Index: pkgsrc/textproc/py-html-sanitizer/distinfo
diff -u pkgsrc/textproc/py-html-sanitizer/distinfo:1.14 pkgsrc/textproc/py-html-sanitizer/distinfo:1.15
--- pkgsrc/textproc/py-html-sanitizer/distinfo:1.14     Tue Jul  1 10:29:08 2025
+++ pkgsrc/textproc/py-html-sanitizer/distinfo  Mon Oct 26 15:49:19 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2025/07/01 10:29:08 adam Exp $
+$NetBSD: distinfo,v 1.15 2026/10/26 15:49:19 adam Exp $
 
-BLAKE2s (html_sanitizer-2.6.0.tar.gz) = 9345f59a74faaed8bf403fe3cebfe3e3ad4990993c8c5ef7aecbdc230ae7dcfd
-SHA512 (html_sanitizer-2.6.0.tar.gz) = 74035d4d3d6bf8f6621ae07924d569e813954d39cd7113f1e39b3cdbcc1fa9c51a104857bd78ccd2edeb274aa43a093bfa4a5623fa729abbf93d390f2b73565b
-Size (html_sanitizer-2.6.0.tar.gz) = 17843 bytes
+BLAKE2s (html_sanitizer-2.7.0.tar.gz) = 87537fd968f5283f68df88ecb48ba8f94ff2fdd99efb483ee58bb6a86fa92003
+SHA512 (html_sanitizer-2.7.0.tar.gz) = 0e232f76d64985914a05033037b3abc42ac2da35d268cc1775786fd78ba68f2726f2dc8f00d6ce777264fa86eba8b680cfb1ea269c7ba99df8e10e7739561613
+Size (html_sanitizer-2.7.0.tar.gz) = 19391 bytes



Home | Main Index | Thread Index | Old Index