diff options
author | adam <adam@pkgsrc.org> | 2017-10-05 12:58:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-10-05 12:58:48 +0000 |
commit | d7f41ca79b9e8cf27b1b38327167323b1d111fa2 (patch) | |
tree | 05797ba35897844341119190a8125708dd9fa5d6 /www | |
parent | b92ac091aa8743ce559664c3744ff5a8ef92b8da (diff) | |
download | pkgsrc-d7f41ca79b9e8cf27b1b38327167323b1d111fa2.tar.gz |
py-bleach: update to 2.1.1
Version 2.1.1:
**Bug fixes**
* Fix ``setup.py`` opening files when ``LANG=``.
Version 2.1:
**Security fixes**
* Convert control characters (backspace particularly) to "?" preventing
malicious copy-and-paste situations.
See `<https://github.com/mozilla/bleach/issues/298>`_ for more details.
This affects all previous versions of Bleach. Check the comments on that
issue for ways to alleviate the issue if you can't upgrade to Bleach 2.1.
**Backwards incompatible changes**
* Redid versioning. ``bleach.VERSION`` is no longer available. Use the string
version at ``bleach.__version__`` and parse it with
``pkg_resources.parse_version``.
* clean, linkify: linkify and clean should only accept text types
* clean, linkify: accept only unicode or utf-8-encoded str
**Bug fixes**
* ``bleach.clean()`` no longer unescapes entities including ones that are missing
a ``;`` at the end which can happen in urls and other places.
* linkify: fix http links inside of mailto links
* clarify security policy in docs
* fix dependency specification for html5lib 1.0b8, 1.0b9, and 1.0b10
* add Bleach vs. html5lib comparison to README
* fix KeyError exceptions on tags without href attr
* add test website and scripts to test ``bleach.clean()`` output in browser
Diffstat (limited to 'www')
-rw-r--r-- | www/py-bleach/Makefile | 10 | ||||
-rw-r--r-- | www/py-bleach/PLIST | 8 | ||||
-rw-r--r-- | www/py-bleach/distinfo | 10 |
3 files changed, 12 insertions, 16 deletions
diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile index 65550c3c7d4..93487581653 100644 --- a/www/py-bleach/Makefile +++ b/www/py-bleach/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2017/04/23 04:09:15 markd Exp $ +# $NetBSD: Makefile,v 1.7 2017/10/05 12:58:48 adam Exp $ -DISTNAME= bleach-2.0.0 +DISTNAME= bleach-2.1.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -CATEGORIES= www +CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=b/bleach/} MAINTAINER= ryoon@NetBSD.org @@ -10,8 +10,10 @@ HOMEPAGE= https://github.com/mozilla/bleach COMMENT= Easy whitelist-based HTML-sanitizing tool LICENSE= apache-2.0 -DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.99999999:../../textproc/py-html5lib +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner>=2.0:../../devel/py-test-runner USE_LANGUAGES= # none diff --git a/www/py-bleach/PLIST b/www/py-bleach/PLIST index 00a6ec7bfce..cbbee16927c 100644 --- a/www/py-bleach/PLIST +++ b/www/py-bleach/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2017/04/23 04:09:15 markd Exp $ +@comment $NetBSD: PLIST,v 1.6 2017/10/05 12:58:48 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -11,9 +11,6 @@ ${PYSITELIB}/bleach/__init__.pyo ${PYSITELIB}/bleach/callbacks.py ${PYSITELIB}/bleach/callbacks.pyc ${PYSITELIB}/bleach/callbacks.pyo -${PYSITELIB}/bleach/encoding.py -${PYSITELIB}/bleach/encoding.pyc -${PYSITELIB}/bleach/encoding.pyo ${PYSITELIB}/bleach/linkifier.py ${PYSITELIB}/bleach/linkifier.pyc ${PYSITELIB}/bleach/linkifier.pyo @@ -23,6 +20,3 @@ ${PYSITELIB}/bleach/sanitizer.pyo ${PYSITELIB}/bleach/utils.py ${PYSITELIB}/bleach/utils.pyc ${PYSITELIB}/bleach/utils.pyo -${PYSITELIB}/bleach/version.py -${PYSITELIB}/bleach/version.pyc -${PYSITELIB}/bleach/version.pyo diff --git a/www/py-bleach/distinfo b/www/py-bleach/distinfo index 42182570936..cfe3613ddf4 100644 --- a/www/py-bleach/distinfo +++ b/www/py-bleach/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2017/04/23 04:09:15 markd Exp $ +$NetBSD: distinfo,v 1.6 2017/10/05 12:58:48 adam Exp $ -SHA1 (bleach-2.0.0.tar.gz) = 86345b980bdf4261a49de4c98075599709daf96f -RMD160 (bleach-2.0.0.tar.gz) = 19650ecd5a2f6135488ca0aedf29ee06055e08cd -SHA512 (bleach-2.0.0.tar.gz) = 78237c72224fc8facd0c247671c0e2deb66dc8dc46c446cfa7e8b83cce5ca99a52fec320ef59ae0ece47c54a48120de16e4393e269db9c74542c8165eeb96d2e -Size (bleach-2.0.0.tar.gz) = 46083 bytes +SHA1 (bleach-2.1.1.tar.gz) = ab534deaea22c159104ecef44f25e2b7efff8b93 +RMD160 (bleach-2.1.1.tar.gz) = 0a278ad553942e0b5dc05bdc299f4405fe830bde +SHA512 (bleach-2.1.1.tar.gz) = dc8ef7b678966bfebddb2d27c78abf50e71f2d90c5807cf788a08b852a085a4d990368da5dfb5f61a49e0f2f1e7d9ac73c2b6967fdacb55663ae2c339016d4c2 +Size (bleach-2.1.1.tar.gz) = 58491 bytes |