forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added python-bleach for user input sanitazing
- Loading branch information
Showing
4 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
config BR2_PACKAGE_PYTHON_BLEACH | ||
bool "python-bleach" | ||
select BR2_PACKAGE_PYTHON_PACKAGING # runtime | ||
select BR2_PACKAGE_PYTHON_SIX # runtime | ||
select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime | ||
help | ||
An easy safelist-based HTML-sanitizing tool. | ||
|
||
https://github.com/mozilla/bleach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# md5, sha256 from https://pypi.org/pypi/bleach/json | ||
md5 0a9d302444b252e7adb2fda175be22d6 bleach-3.3.0.tar.gz | ||
sha256 98b3170739e5e83dd9dc19633f074727ad848cbedb6026708c8ac2d3b697a433 bleach-3.3.0.tar.gz | ||
# Locally computed sha256 checksums | ||
sha256 bec2238c149a632b8fb26813f687aceabab80327f3270769c2c16157883d3130 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
################################################################################ | ||
# | ||
# python-bleach | ||
# | ||
################################################################################ | ||
|
||
PYTHON_BLEACH_VERSION = 3.3.0 | ||
PYTHON_BLEACH_SOURCE = bleach-$(PYTHON_BLEACH_VERSION).tar.gz | ||
PYTHON_BLEACH_SITE = https://files.pythonhosted.org/packages/70/84/2783f734240fab7815a00b419c4281d2d0984971de30b08176aae2acff10 | ||
PYTHON_BLEACH_SETUP_TYPE = setuptools | ||
PYTHON_BLEACH_LICENSE = Apache-2.0 | ||
PYTHON_BLEACH_LICENSE_FILES = LICENSE | ||
|
||
$(eval $(python-package)) |