Simple data validation library.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
F: package/python-psutil/
F: package/python-request-id/
F: package/python-texttable/
+F: package/python-validators/
F: package/python-webob/
F: package/python-websocket-client/
F: package/triggerhappy/
source "package/python-ujson/Config.in"
source "package/python-urllib3/Config.in"
source "package/python-urwid/Config.in"
+ source "package/python-validators/Config.in"
source "package/python-versiontools/Config.in"
source "package/python-visitor/Config.in"
source "package/python-watchdog/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_VALIDATORS
+ bool "python-validators"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_DECORATOR # runtime
+ help
+ Python Data Validation for Humans.
+
+ https://github.com/kvesteri/validators
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/validators/json
+md5 9c9583f91972163b3b736033bb929d8a validators-0.12.2.tar.gz
+sha256 172ac45f7d1944ce4beca3c5c53ca7c83e9759e39fd3fedc1cf28e2130268706 validators-0.12.2.tar.gz
+# Locally computed sha256 checksums
+sha256 a7fd9d761c7ca1c6508b9baf030f6e21f5752d1caea3e49a270634aa9ef01e6f LICENSE
--- /dev/null
+################################################################################
+#
+# python-validators
+#
+################################################################################
+
+PYTHON_VALIDATORS_VERSION = 0.12.2
+PYTHON_VALIDATORS_SOURCE = validators-$(PYTHON_VALIDATORS_VERSION).tar.gz
+PYTHON_VALIDATORS_SITE = https://files.pythonhosted.org/packages/45/7b/5b7b74208a3e0744d1a0efbfb1935fa46fa4cfe58d3d63f17c49c58c429c
+PYTHON_VALIDATORS_SETUP_TYPE = setuptools
+PYTHON_VALIDATORS_LICENSE = BSD
+PYTHON_VALIDATORS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))