pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-html-sanitizer py-html-sanitizer: updated ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0096a49280d
branches:  trunk
changeset: 311265:b0096a49280d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 07 08:29:39 2018 +0000

description:
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.

diffstat:

 textproc/py-html-sanitizer/Makefile |  10 +++++-----
 textproc/py-html-sanitizer/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r e76f0be8e141 -r b0096a49280d textproc/py-html-sanitizer/Makefile
--- a/textproc/py-html-sanitizer/Makefile       Tue Aug 07 08:26:13 2018 +0000
+++ b/textproc/py-html-sanitizer/Makefile       Tue Aug 07 08:29:39 2018 +0000
@@ -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 @@
 COMMENT=       White-list based HTML sanitizer
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         # none
+DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+DEPENDS+=      ${PYPKGPREFIX}-lxml>=3.6.1:../../textproc/py-lxml
 
-DEPENDS+=      ${PYPKGPREFIX}-lxml>3:../../textproc/py-lxml
-DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e76f0be8e141 -r b0096a49280d textproc/py-html-sanitizer/distinfo
--- a/textproc/py-html-sanitizer/distinfo       Tue Aug 07 08:26:13 2018 +0000
+++ b/textproc/py-html-sanitizer/distinfo       Tue Aug 07 08:29:39 2018 +0000
@@ -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