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:   markd
Date:           Sun Apr 23 04:09:15 UTC 2017

Modified Files:
        pkgsrc/www/py-bleach: Makefile PLIST distinfo

Log Message:
Update py-bleach to 2.0.0

* Supports Python 3.6.

* Supports html5lib >= 0.99999999 (8 9s).

* There's a ``bleach.sanitizer.Cleaner`` class that you can instantiate with your
  favorite clean settings for easy reuse.

* There's a ``bleach.linkifier.Linker`` class that you can instantiate with your
  favorite linkify settings for easy reuse.

* There's a ``bleach.linkifier.LinkifyFilter`` which is an htm5lib filter that
  you can pass as a filter to ``bleach.sanitizer.Cleaner`` allowing you to clean
  and linkify in one pass.

* ``bleach.clean`` and friends can now take a callable as an attributes arg value.

* Tons of bug fixes.

* Cleaned up tests.

* Documentation fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-bleach/Makefile
cvs rdiff -u -r1.4 -r1.5 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.5 pkgsrc/www/py-bleach/Makefile:1.6
--- pkgsrc/www/py-bleach/Makefile:1.5   Thu Dec 15 11:21:18 2016
+++ pkgsrc/www/py-bleach/Makefile       Sun Apr 23 04:09:15 2017
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.5 2016/12/15 11:21:18 adam Exp $
+# $NetBSD: Makefile,v 1.6 2017/04/23 04:09:15 markd Exp $
 
-DISTNAME=      bleach-1.5.0
+DISTNAME=      bleach-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bleach/}
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
-HOMEPAGE=      http://pypi.python.org/pypi/bleach
+HOMEPAGE=      https://github.com/mozilla/bleach
 COMMENT=       Easy whitelist-based HTML-sanitizing tool
-LICENSE=       modified-bsd
+LICENSE=       apache-2.0
 
-#DEPENDS+=     ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-DEPENDS+=      ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-html5lib>=0.99999999:../../textproc/py-html5lib
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-bleach/PLIST
diff -u pkgsrc/www/py-bleach/PLIST:1.4 pkgsrc/www/py-bleach/PLIST:1.5
--- pkgsrc/www/py-bleach/PLIST:1.4      Thu Dec 15 11:21:18 2016
+++ pkgsrc/www/py-bleach/PLIST  Sun Apr 23 04:09:15 2017
@@ -1,10 +1,10 @@
-@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
-${PYSITELIB}/${EGG_FILE}/not-zip-safe
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2017/04/23 04:09:15 markd Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/bleach/__init__.py
 ${PYSITELIB}/bleach/__init__.pyc
 ${PYSITELIB}/bleach/__init__.pyo
@@ -14,9 +14,15 @@ ${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
 ${PYSITELIB}/bleach/sanitizer.py
 ${PYSITELIB}/bleach/sanitizer.pyc
 ${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.4 pkgsrc/www/py-bleach/distinfo:1.5
--- pkgsrc/www/py-bleach/distinfo:1.4   Thu Dec 15 11:21:18 2016
+++ pkgsrc/www/py-bleach/distinfo       Sun Apr 23 04:09:15 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/12/15 11:21:18 adam Exp $
+$NetBSD: distinfo,v 1.5 2017/04/23 04:09:15 markd Exp $
 
-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
+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



Home | Main Index | Thread Index | Old Index