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 Nov 27 20:21:00 UTC 2023
Modified Files:
pkgsrc/textproc/py-html-sanitizer: Makefile PLIST distinfo
Log Message:
py-html-sanitizer: updated to 2.2.0
2.2 (2023-07-03)
- Changed ``keep_normalized_whitespace`` to preserve whitespace at the tail of
tags, not just between tags.
- Changed the parameters of ``normalize_whitespace_in_text_or_tail`` to be
keyword-only.
2.1 (2023-06-29)
- Added a test for a type of misconfiguration.
- Changed the sanitizer configuration validation to not allow unexpected data
types in ``tags``, ``empty``, ``separate``, ``whitespace`` and
``attributes``.
2.0 (2023-06-28)
- Raised the minimum Python version to 3.7. Added Python 3.10, 3.11.
- Raised the minimum lxml version to the current 4.9.1.
- Switched from Travis CI to GitHub actions. Added Python 3.9 to the CI
matrix.
- Renamed the main branch to main.
- Switched to a declarative setup.
- Fixed a whitespace dependency in the testsuite.
- Switched to hatchling and ruff.
- Made behavior-altering arguments to ``normalize_overall_whitespace``
keyword-only.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-html-sanitizer/Makefile \
pkgsrc/textproc/py-html-sanitizer/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-html-sanitizer/PLIST
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.8 pkgsrc/textproc/py-html-sanitizer/Makefile:1.9
--- pkgsrc/textproc/py-html-sanitizer/Makefile:1.8 Wed Nov 30 16:43:32 2022
+++ pkgsrc/textproc/py-html-sanitizer/Makefile Mon Nov 27 20:21:00 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/11/30 16:43:32 adam Exp $
+# $NetBSD: Makefile,v 1.9 2023/11/27 20:21:00 adam Exp $
-DISTNAME= html_sanitizer-1.9.3
+DISTNAME= html_sanitizer-2.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= textproc converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html-sanitizer/}
@@ -10,12 +10,13 @@ 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
-DEPENDS+= ${PYPKGPREFIX}-lxml>=4.6.5:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-lxml>=4.9.1:../../textproc/py-lxml
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-html-sanitizer/distinfo
diff -u pkgsrc/textproc/py-html-sanitizer/distinfo:1.8 pkgsrc/textproc/py-html-sanitizer/distinfo:1.9
--- pkgsrc/textproc/py-html-sanitizer/distinfo:1.8 Wed Nov 30 16:43:32 2022
+++ pkgsrc/textproc/py-html-sanitizer/distinfo Mon Nov 27 20:21:00 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2022/11/30 16:43:32 adam Exp $
+$NetBSD: distinfo,v 1.9 2023/11/27 20:21:00 adam Exp $
-BLAKE2s (html_sanitizer-1.9.3.tar.gz) = 8bd5a2fe7257f3ecd506445a55464132dc857b10863c2c3de3ae8c00ddb5fa75
-SHA512 (html_sanitizer-1.9.3.tar.gz) = 14b6edf607dfd68934d3ea7075cedd31b37f27f72404e749a71cc3ec2b46bd01a18abbe2830faa4729793f777950be6d585684b0d604f801abb1f6a479ca1303
-Size (html_sanitizer-1.9.3.tar.gz) = 16401 bytes
+BLAKE2s (html_sanitizer-2.2.0.tar.gz) = d6b2b3f9e88780ef673fe6c244f918a4956b30bb5c960809462c5c8d6ff22493
+SHA512 (html_sanitizer-2.2.0.tar.gz) = db86744108bb7fa98891991732a8854ac8c2680e5c80c09ba1e1febc0d5cbc1494b6a039eee03b9e8849e77f8325a9e51ad81ac9870d5acca827c25995dafb30
+Size (html_sanitizer-2.2.0.tar.gz) = 16741 bytes
Index: pkgsrc/textproc/py-html-sanitizer/PLIST
diff -u pkgsrc/textproc/py-html-sanitizer/PLIST:1.1 pkgsrc/textproc/py-html-sanitizer/PLIST:1.2
--- pkgsrc/textproc/py-html-sanitizer/PLIST:1.1 Tue Feb 13 21:00:03 2018
+++ pkgsrc/textproc/py-html-sanitizer/PLIST Mon Nov 27 20:21:00 2023
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/13 21:00:03 joerg Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/11/27 20:21:00 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/html_sanitizer/__init__.py
${PYSITELIB}/html_sanitizer/__init__.pyc
${PYSITELIB}/html_sanitizer/__init__.pyo
Home |
Main Index |
Thread Index |
Old Index