From 50872e2dbef90a1326430ae8702ca25baf35de8c Mon Sep 17 00:00:00 2001 From: Ludovic Desroches Date: Wed, 11 Dec 2013 21:27:05 +0100 Subject: [PATCH] python-json-schema-validator: new package [Thomas: convert to the Python package infrastructure, fix license informations.] [Peter: there is no LICENSE.txt] Signed-off-by: Ludovic Desroches Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/python-json-schema-validator/Config.in | 8 ++++++++ .../python-json-schema-validator.mk | 14 ++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/python-json-schema-validator/Config.in create mode 100644 package/python-json-schema-validator/python-json-schema-validator.mk diff --git a/package/Config.in b/package/Config.in index 097ae79a26..4d5ae7a753 100644 --- a/package/Config.in +++ b/package/Config.in @@ -392,6 +392,7 @@ source "package/python-dialog/Config.in" source "package/python-dpkt/Config.in" source "package/python-id3/Config.in" source "package/python-ipy/Config.in" +source "package/python-json-schema-validator/Config.in" source "package/python-keyring/Config.in" source "package/python-mad/Config.in" source "package/python-meld3/Config.in" diff --git a/package/python-json-schema-validator/Config.in b/package/python-json-schema-validator/Config.in new file mode 100644 index 0000000000..6ae1eb162a --- /dev/null +++ b/package/python-json-schema-validator/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR + bool "python-json-schema-validator" + depends on BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_VERSIONTOOLS + help + JSON Schema Validator + + https://pypi.python.org/pypi/json-schema-validator diff --git a/package/python-json-schema-validator/python-json-schema-validator.mk b/package/python-json-schema-validator/python-json-schema-validator.mk new file mode 100644 index 0000000000..472b1c063a --- /dev/null +++ b/package/python-json-schema-validator/python-json-schema-validator.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-json-schema-validator +# +################################################################################ + +PYTHON_JSON_SCHEMA_VALIDATOR_VERSION = 2.3 +PYTHON_JSON_SCHEMA_VALIDATOR_SOURCE = json-schema-validator-$(PYTHON_JSON_SCHEMA_VALIDATOR_VERSION).tar.gz +PYTHON_JSON_SCHEMA_VALIDATOR_SITE = http://pypi.python.org/packages/source/j/json-schema-validator/ +PYTHON_JSON_SCHEMA_VALIDATOR_LICENSE = LGPLv3 +PYTHON_JSON_SCHEMA_VALIDATOR_SETUP_TYPE = setuptools +PYTHON_JSON_SCHEMA_VALIDATOR_DEPENDENCIES = python-versiontools + +$(eval $(python-package)) -- 2.30.2