pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-bleach Version 1.5 (November 4th, 2016)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2838a66af9e
branches:  trunk
changeset: 355886:d2838a66af9e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 15 11:21:18 2016 +0000

description:
Version 1.5 (November 4th, 2016)

**Backwards incompatible changes**
- clean: The list of ``ALLOWED_PROTOCOLS`` now defaults to http, https and
  mailto. Previously it was a long list of protocols something like ed2k, ftp,
  http, https, irc, mailto, news, gopher, nntp, telnet, webcal, xmpp, callto,
  feed, urn, aim, rsync, tag, ssh, sftp, rtsp, afs, data.

**Changes**
- clean: Added ``protocols`` to arguments list to let you override the list of
  allowed protocols. Thank you, Andreas Malecki!
- linkify: Fix a bug involving periods at the end of an email address. Thank you,
  Lorenz Schori!
- linkify: Fix linkification of non-ascii ports. Thank you Alexandre, Macabies!
- linkify: Fix linkify inappropriately removing node tails when dropping nodes.
- Fixed a test that failed periodically.
- Switched from nose to py.test.
- Add test matrix for all supported Python and html5lib versions.
- Limit to html5lib ``>=0.999,!=0.9999,!=0.99999,<0.99999999`` because 0.9999
  and 0.99999 are busted.
- Add support for ``python setup.py test``.

diffstat:

 www/py-bleach/Makefile |   6 +++---
 www/py-bleach/PLIST    |  26 ++++----------------------
 www/py-bleach/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 30 deletions(-)

diffs (73 lines):

diff -r 2a9c6e64d6b1 -r d2838a66af9e www/py-bleach/Makefile
--- a/www/py-bleach/Makefile    Thu Dec 15 11:07:25 2016 +0000
+++ b/www/py-bleach/Makefile    Thu Dec 15 11:21:18 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/06/08 17:43:44 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/12/15 11:21:18 adam Exp $
 
-DISTNAME=      bleach-1.4
+DISTNAME=      bleach-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bleach/}
@@ -10,7 +10,7 @@
 COMMENT=       Easy whitelist-based HTML-sanitizing tool
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+#DEPENDS+=     ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 DEPENDS+=      ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
 
 USE_LANGUAGES= # none
diff -r 2a9c6e64d6b1 -r d2838a66af9e www/py-bleach/PLIST
--- a/www/py-bleach/PLIST       Thu Dec 15 11:07:25 2016 +0000
+++ b/www/py-bleach/PLIST       Thu Dec 15 11:21:18 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/01/19 18:51:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/12/15 11:21:18 adam Exp $
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
@@ -17,24 +17,6 @@
 ${PYSITELIB}/bleach/sanitizer.py
 ${PYSITELIB}/bleach/sanitizer.pyc
 ${PYSITELIB}/bleach/sanitizer.pyo
-${PYSITELIB}/bleach/tests/__init__.py
-${PYSITELIB}/bleach/tests/__init__.pyc
-${PYSITELIB}/bleach/tests/__init__.pyo
-${PYSITELIB}/bleach/tests/test_basics.py
-${PYSITELIB}/bleach/tests/test_basics.pyc
-${PYSITELIB}/bleach/tests/test_basics.pyo
-${PYSITELIB}/bleach/tests/test_css.py
-${PYSITELIB}/bleach/tests/test_css.pyc
-${PYSITELIB}/bleach/tests/test_css.pyo
-${PYSITELIB}/bleach/tests/test_links.py
-${PYSITELIB}/bleach/tests/test_links.pyc
-${PYSITELIB}/bleach/tests/test_links.pyo
-${PYSITELIB}/bleach/tests/test_security.py
-${PYSITELIB}/bleach/tests/test_security.pyc
-${PYSITELIB}/bleach/tests/test_security.pyo
-${PYSITELIB}/bleach/tests/test_unicode.py
-${PYSITELIB}/bleach/tests/test_unicode.pyc
-${PYSITELIB}/bleach/tests/test_unicode.pyo
-${PYSITELIB}/bleach/tests/tools.py
-${PYSITELIB}/bleach/tests/tools.pyc
-${PYSITELIB}/bleach/tests/tools.pyo
+${PYSITELIB}/bleach/version.py
+${PYSITELIB}/bleach/version.pyc
+${PYSITELIB}/bleach/version.pyo
diff -r 2a9c6e64d6b1 -r d2838a66af9e www/py-bleach/distinfo
--- a/www/py-bleach/distinfo    Thu Dec 15 11:07:25 2016 +0000
+++ b/www/py-bleach/distinfo    Thu Dec 15 11:21:18 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 02:47:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/12/15 11:21:18 adam Exp $
 
-SHA1 (bleach-1.4.tar.gz) = a53274c39f9fd8753e3d522f897ad17bb7cf74c9
-RMD160 (bleach-1.4.tar.gz) = 8b507825d337231537d140b13c9821da77c9d853
-SHA512 (bleach-1.4.tar.gz) = c6dc632068bf492ee68e81758671b3e207356bbe715e748b939f7b6c251b0f0df8adc02b40878c5c74b1289ed5c6caf23a203139b7920a9ffd411e2fe666343e
-Size (bleach-1.4.tar.gz) = 17454 bytes
+SHA1 (bleach-1.5.0.tar.gz) = e997b20664d6cf3b04940db19eb53b1aaa6fd29c
+RMD160 (bleach-1.5.0.tar.gz) = 55d61aa54722859e5cbe1e92e35522a651d52386
+SHA512 (bleach-1.5.0.tar.gz) = 572a089691af61f096716d96517a96755fe674cc471bdbcff80615ae903eaeff72c47b918ee28a1db60ee5c0253c0c52ba02544f8535ae4f283a3a87a3061124
+Size (bleach-1.5.0.tar.gz) = 36502 bytes



Home | Main Index | Thread Index | Old Index