pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-bleach
Module Name: pkgsrc
Committed By: adam
Date: Thu Oct 5 12:58:48 UTC 2017
Modified Files:
pkgsrc/www/py-bleach: Makefile PLIST distinfo
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-bleach/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-bleach/PLIST \
pkgsrc/www/py-bleach/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-bleach/Makefile
diff -u pkgsrc/www/py-bleach/Makefile:1.6 pkgsrc/www/py-bleach/Makefile:1.7
--- pkgsrc/www/py-bleach/Makefile:1.6 Sun Apr 23 04:09:15 2017
+++ pkgsrc/www/py-bleach/Makefile Thu Oct 5 12:58:48 2017
@@ -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@localhost
@@ -10,8 +10,10 @@ HOMEPAGE= https://github.com/mozilla/ble
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
Index: pkgsrc/www/py-bleach/PLIST
diff -u pkgsrc/www/py-bleach/PLIST:1.5 pkgsrc/www/py-bleach/PLIST:1.6
--- pkgsrc/www/py-bleach/PLIST:1.5 Sun Apr 23 04:09:15 2017
+++ pkgsrc/www/py-bleach/PLIST Thu Oct 5 12:58:48 2017
@@ -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
Index: pkgsrc/www/py-bleach/distinfo
diff -u pkgsrc/www/py-bleach/distinfo:1.5 pkgsrc/www/py-bleach/distinfo:1.6
--- pkgsrc/www/py-bleach/distinfo:1.5 Sun Apr 23 04:09:15 2017
+++ pkgsrc/www/py-bleach/distinfo Thu Oct 5 12:58:48 2017
@@ -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
Home |
Main Index |
Thread Index |
Old Index