diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-bleach/Makefile | 25 | ||||
-rw-r--r-- | www/py-bleach/distinfo | 2 | ||||
-rw-r--r-- | www/py-bleach/pkg-descr | 5 | ||||
-rw-r--r-- | www/py-bleach/pkg-plist | 40 |
5 files changed, 73 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 81a8348b13f2..9a7f06f9c2cb 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1433,6 +1433,7 @@ SUBDIR += py-beautifulsoup SUBDIR += py-beautifulsoup30 SUBDIR += py-bjoern + SUBDIR += py-bleach SUBDIR += py-blogofile SUBDIR += py-bottle SUBDIR += py-cherrypy diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile new file mode 100644 index 000000000000..6b527d9a1fea --- /dev/null +++ b/www/py-bleach/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-bleach +# Date created: 2012-05-28 +# Whom: koobs <koobs.freebsd@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= bleach +PORTVERSION= 1.1.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs.freebsd@gmail.com +COMMENT= An easy whitelist-based HTML-sanitizing tool for Python + +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib + +USE_PYTHON= yes +USE_PYDISTUTILS=easy_install + +.include <bsd.port.mk> diff --git a/www/py-bleach/distinfo b/www/py-bleach/distinfo new file mode 100644 index 000000000000..2dff273d252f --- /dev/null +++ b/www/py-bleach/distinfo @@ -0,0 +1,2 @@ +SHA256 (bleach-1.1.1.tar.gz) = bb6c652bf5cc5cd7c2c695f958b4d5eacee1b8162e64ea0e9d39e21f9e060ddf +SIZE (bleach-1.1.1.tar.gz) = 17185 diff --git a/www/py-bleach/pkg-descr b/www/py-bleach/pkg-descr new file mode 100644 index 000000000000..fd9bc118b8f7 --- /dev/null +++ b/www/py-bleach/pkg-descr @@ -0,0 +1,5 @@ +Bleach is a Python HTML sanitizing library that escapes or strips markup and +attributes based on a white list. Bleach is intended for sanitizing text from +untrusted sources. + +WWW: https://github.com/jsocol/bleach diff --git a/www/py-bleach/pkg-plist b/www/py-bleach/pkg-plist new file mode 100644 index 000000000000..90ee5ccbcce5 --- /dev/null +++ b/www/py-bleach/pkg-plist @@ -0,0 +1,40 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/sanitizer.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/sanitizer.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/sanitizer.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_basics.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_basics.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_basics.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_security.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_security.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_security.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_unicode.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_unicode.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_unicode.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |