package: add python-validators
Simple data validation library. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
5f6f32968e
commit
5439d82271
|
@ -1534,6 +1534,7 @@ F: package/python-pam/
|
|||
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/
|
||||
|
|
|
@ -965,6 +965,7 @@ menu "External python modules"
|
|||
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"
|
||||
|
|
8
package/python-validators/Config.in
Normal file
8
package/python-validators/Config.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
|
5
package/python-validators/python-validators.hash
Normal file
5
package/python-validators/python-validators.hash
Normal file
|
@ -0,0 +1,5 @@
|
|||
# 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
|
14
package/python-validators/python-validators.mk
Normal file
14
package/python-validators/python-validators.mk
Normal file
|
@ -0,0 +1,14 @@
|
|||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in a new issue