pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-html5lib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Nov  9 20:10:28 UTC 2021

Modified Files:
        pkgsrc/textproc/py-html5lib: Makefile PLIST distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/py-html5lib/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-html5lib/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-html5lib/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-html5lib/Makefile
diff -u pkgsrc/textproc/py-html5lib/Makefile:1.12 pkgsrc/textproc/py-html5lib/Makefile:1.13
--- pkgsrc/textproc/py-html5lib/Makefile:1.12   Mon Feb 26 08:24:42 2018
+++ pkgsrc/textproc/py-html5lib/Makefile        Tue Nov  9 20:10:28 2021
@@ -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 @@ HOMEPAGE=    https://github.com/html5lib/ht
 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
 

Index: pkgsrc/textproc/py-html5lib/PLIST
diff -u pkgsrc/textproc/py-html5lib/PLIST:1.8 pkgsrc/textproc/py-html5lib/PLIST:1.9
--- pkgsrc/textproc/py-html5lib/PLIST:1.8       Mon Feb 26 08:24:42 2018
+++ pkgsrc/textproc/py-html5lib/PLIST   Tue Nov  9 20:10:28 2021
@@ -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/__init__.pyo
 ${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

Index: pkgsrc/textproc/py-html5lib/distinfo
diff -u pkgsrc/textproc/py-html5lib/distinfo:1.11 pkgsrc/textproc/py-html5lib/distinfo:1.12
--- pkgsrc/textproc/py-html5lib/distinfo:1.11   Tue Oct 26 11:23:04 2021
+++ pkgsrc/textproc/py-html5lib/distinfo        Tue Nov  9 20:10:28 2021
@@ -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