diff options
author | ryoon <ryoon> | 2013-01-03 14:04:46 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2013-01-03 14:04:46 +0000 |
commit | 542afb1d7ed1276b3ae2af66e13b01e95b1c8667 (patch) | |
tree | c2c623e36eef98c59bc3ea975ade4d627071999c | |
parent | 0f10aa874032f544bc32b501690081d236f9c913 (diff) | |
download | pkgsrc-542afb1d7ed1276b3ae2af66e13b01e95b1c8667.tar.gz |
Import py27-bleach-1.1.5 as www/py-bleach.
Bleach is an HTML sanitizing library that escapes or strips markup
and attributes based on a white list. Bleach can also linkify text
safely, applying filters that Django's ``urlize`` filter cannot,
and optionally setting ``rel`` attributes, even on links already
in the text.
-rw-r--r-- | www/py-bleach/DESCR | 5 | ||||
-rw-r--r-- | www/py-bleach/Makefile | 17 | ||||
-rw-r--r-- | www/py-bleach/PLIST | 37 | ||||
-rw-r--r-- | www/py-bleach/distinfo | 5 |
4 files changed, 64 insertions, 0 deletions
diff --git a/www/py-bleach/DESCR b/www/py-bleach/DESCR new file mode 100644 index 00000000000..862a810cc61 --- /dev/null +++ b/www/py-bleach/DESCR @@ -0,0 +1,5 @@ +Bleach is an HTML sanitizing library that escapes or strips markup +and attributes based on a white list. Bleach can also linkify text +safely, applying filters that Django's ``urlize`` filter cannot, +and optionally setting ``rel`` attributes, even on links already +in the text. diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile new file mode 100644 index 00000000000..855b9ca69e3 --- /dev/null +++ b/www/py-bleach/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2013/01/03 14:04:46 ryoon Exp $ +# + +DISTNAME= bleach-1.1.5 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www +MASTER_SITES= http://pypi.python.org/packages/source/b/bleach/ + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://pypi.python.org/pypi/bleach +COMMENT= Easy whitelist-based HTML-sanitizing tool +LICENSE= modified-bsd + +USE_LANGUAGES= # none + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-bleach/PLIST b/www/py-bleach/PLIST new file mode 100644 index 00000000000..c2ba5b5e760 --- /dev/null +++ b/www/py-bleach/PLIST @@ -0,0 +1,37 @@ +@comment $NetBSD: PLIST,v 1.1 2013/01/03 14:04:46 ryoon 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 +${PYSITELIB}/bleach/__init__.py +${PYSITELIB}/bleach/__init__.pyc +${PYSITELIB}/bleach/__init__.pyo +${PYSITELIB}/bleach/encoding.py +${PYSITELIB}/bleach/encoding.pyc +${PYSITELIB}/bleach/encoding.pyo +${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_delinkify.py +${PYSITELIB}/bleach/tests/test_delinkify.pyc +${PYSITELIB}/bleach/tests/test_delinkify.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 diff --git a/www/py-bleach/distinfo b/www/py-bleach/distinfo new file mode 100644 index 00000000000..52d3374ea12 --- /dev/null +++ b/www/py-bleach/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/01/03 14:04:46 ryoon Exp $ + +SHA1 (bleach-1.1.5.tar.gz) = c9c5ea22a1a2ef4c6804f9ed8138c2d9ad6a23d4 +RMD160 (bleach-1.1.5.tar.gz) = e04d88113f96f3612611d2919d1894f33ef10c3e +Size (bleach-1.1.5.tar.gz) = 18344 bytes |