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:           Tue Aug  7 08:29:40 UTC 2018

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-html-sanitizer/Makefile \
    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.2 pkgsrc/textproc/py-html-sanitizer/Makefile:1.3
--- pkgsrc/textproc/py-html-sanitizer/Makefile:1.2      Thu Apr  5 13:11:32 2018
+++ pkgsrc/textproc/py-html-sanitizer/Makefile  Tue Aug  7 08:29:39 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/04/05 13:11:32 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2018/08/07 08:29:39 adam Exp $
 
-DISTNAME=      html-sanitizer-1.4.0
+DISTNAME=      html-sanitizer-1.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/html-sanitizer/}
@@ -10,10 +10,10 @@ HOMEPAGE=   https://github.com/matthiask/h
 COMMENT=       White-list based HTML sanitizer
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         # none
-
-DEPENDS+=      ${PYPKGPREFIX}-lxml>3:../../textproc/py-lxml
 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"
Index: pkgsrc/textproc/py-html-sanitizer/distinfo
diff -u pkgsrc/textproc/py-html-sanitizer/distinfo:1.2 pkgsrc/textproc/py-html-sanitizer/distinfo:1.3
--- pkgsrc/textproc/py-html-sanitizer/distinfo:1.2      Thu Apr  5 13:11:32 2018
+++ pkgsrc/textproc/py-html-sanitizer/distinfo  Tue Aug  7 08:29:39 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/04/05 13:11:32 joerg Exp $
+$NetBSD: distinfo,v 1.3 2018/08/07 08:29:39 adam Exp $
 
-SHA1 (html-sanitizer-1.4.0.tar.gz) = 7ff269fa61525fb6594cd67cc7d38020fb3a41ed
-RMD160 (html-sanitizer-1.4.0.tar.gz) = e3de8eff839bf99da8f2baf4990cb33fec4de8f1
-SHA512 (html-sanitizer-1.4.0.tar.gz) = 5df33e1c0002e1fb06fe5a4593571ff9d7f7c82b30f62a813a2f12049514dcafe37cc6f06af0e8bc5adeb5ad7643a0cc4279a93799e50174892330d4e62eb954
-Size (html-sanitizer-1.4.0.tar.gz) = 12526 bytes
+SHA1 (html-sanitizer-1.6.1.tar.gz) = 6d9e7ad1aaea4133413a65f817496194c93688f7
+RMD160 (html-sanitizer-1.6.1.tar.gz) = f6a259bce6df2720e626deea5ce13a8f4c58b217
+SHA512 (html-sanitizer-1.6.1.tar.gz) = 42e3db0695460888e73dd7e2e657fe7e2cda3cc340253317ea1b6fce1cad27e425ca7d435feb1c1c9d3a74616f463351c185281ec2dd590b4f0e542b5829f777
+Size (html-sanitizer-1.6.1.tar.gz) = 13746 bytes



Home | Main Index | Thread Index | Old Index