pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-html5lib py-html5lib: update to 1.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ac8b7b44a6d
branches: trunk
changeset: 769221:5ac8b7b44a6d
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 09 20:10:28 2021 +0000
description:
py-html5lib: update to 1.1.
Add some missing dependencies and test dependencies.
1.1
~~~
Breaking changes:
* Drop support for Python 3.3. (#358)
* Drop support for Python 3.4. (#421)
Deprecations:
* Deprecate the ``html5lib`` sanitizer (``html5lib.serialize(sanitize=True)`` and
``html5lib.filters.sanitizer``). We recommend users migrate to `Bleach
<https://github.com/mozilla/bleach>`. Please let us know if Bleach doesn't suffice for your
use. (#443)
Other changes:
* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure
``html5lib`` keeps working in future Python versions. (#403)
* Drop optional ``datrie`` dependency. (#442)
diffstat:
textproc/py-html5lib/Makefile | 8 ++++++--
textproc/py-html5lib/PLIST | 5 +----
textproc/py-html5lib/distinfo | 8 ++++----
3 files changed, 11 insertions(+), 10 deletions(-)
diffs (57 lines):
diff -r 01cd732f8e00 -r 5ac8b7b44a6d textproc/py-html5lib/Makefile
--- a/textproc/py-html5lib/Makefile Tue Nov 09 18:54:27 2021 +0000
+++ b/textproc/py-html5lib/Makefile Tue Nov 09 20:10:28 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2018/02/26 08:24:42 adam Exp $
+# $NetBSD: Makefile,v 1.13 2021/11/09 20:10:28 wiz Exp $
-DISTNAME= html5lib-1.0.1
+DISTNAME= html5lib-1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html5lib/}
@@ -10,8 +10,12 @@
COMMENT= HTML5 parser and tokenizer
LICENSE= mit
+DEPENDS+= ${PYPKGPREFIX}-genshi-[0-9]*:../../www/py-genshi
+DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-webencodings-[0-9]*:../../textproc/py-webencodings
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
USE_LANGUAGES= # none
diff -r 01cd732f8e00 -r 5ac8b7b44a6d textproc/py-html5lib/PLIST
--- a/textproc/py-html5lib/PLIST Tue Nov 09 18:54:27 2021 +0000
+++ b/textproc/py-html5lib/PLIST Tue Nov 09 20:10:28 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2018/02/26 08:24:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/11/09 20:10:28 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,9 +22,6 @@
${PYSITELIB}/html5lib/_trie/_base.py
${PYSITELIB}/html5lib/_trie/_base.pyc
${PYSITELIB}/html5lib/_trie/_base.pyo
-${PYSITELIB}/html5lib/_trie/datrie.py
-${PYSITELIB}/html5lib/_trie/datrie.pyc
-${PYSITELIB}/html5lib/_trie/datrie.pyo
${PYSITELIB}/html5lib/_trie/py.py
${PYSITELIB}/html5lib/_trie/py.pyc
${PYSITELIB}/html5lib/_trie/py.pyo
diff -r 01cd732f8e00 -r 5ac8b7b44a6d textproc/py-html5lib/distinfo
--- a/textproc/py-html5lib/distinfo Tue Nov 09 18:54:27 2021 +0000
+++ b/textproc/py-html5lib/distinfo Tue Nov 09 20:10:28 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 11:23:04 nia Exp $
+$NetBSD: distinfo,v 1.12 2021/11/09 20:10:28 wiz Exp $
-BLAKE2s (html5lib-1.0.1.tar.gz) = 5e8bb01c0afda522a38cfa885472ff8f75d727b6e89d47b53db1b321c52a0fda
-SHA512 (html5lib-1.0.1.tar.gz) = 35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2
-Size (html5lib-1.0.1.tar.gz) = 252959 bytes
+BLAKE2s (html5lib-1.1.tar.gz) = de98dc78f784829b373e37ad38851c062983d16b91322a32a2a77113e34b3240
+SHA512 (html5lib-1.1.tar.gz) = af7c29591007fded99be6c38e3d0ae5a4ac32d71d26046a615918ae732cb1c1ecbf754f47ceca1a53726c3843f3ecea7af87a7362281b45ff3af495815818626
+Size (html5lib-1.1.tar.gz) = 272215 bytes
Home |
Main Index |
Thread Index |
Old Index