mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
Add py-bleach 1.1.1, an easy whitelist-based HTML-sanitizing tool for
Python. PR: ports/168459 Submitted by: koobs <koobs.freebsd@gmail.com>
This commit is contained in:
parent
ebdc8740cb
commit
4eb83b0e0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297968
@ -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
|
||||
|
25
www/py-bleach/Makefile
Normal file
25
www/py-bleach/Makefile
Normal file
@ -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>
|
2
www/py-bleach/distinfo
Normal file
2
www/py-bleach/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (bleach-1.1.1.tar.gz) = bb6c652bf5cc5cd7c2c695f958b4d5eacee1b8162e64ea0e9d39e21f9e060ddf
|
||||
SIZE (bleach-1.1.1.tar.gz) = 17185
|
5
www/py-bleach/pkg-descr
Normal file
5
www/py-bleach/pkg-descr
Normal file
@ -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
|
40
www/py-bleach/pkg-plist
Normal file
40
www/py-bleach/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user