python-json-schema-validator: new package
authorLudovic Desroches <ludovic.desroches@atmel.com>
Wed, 11 Dec 2013 20:27:05 +0000 (21:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 15 Dec 2013 13:00:43 +0000 (14:00 +0100)
[Thomas: convert to the Python package infrastructure, fix license
informations.]
[Peter: there is no LICENSE.txt]
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-json-schema-validator/Config.in [new file with mode: 0644]
package/python-json-schema-validator/python-json-schema-validator.mk [new file with mode: 0644]

index 097ae79a262542371846c313b4a25c770e19e271..4d5ae7a7534902bb04bc6038f6ca0fcdcb89d733 100644 (file)
@@ -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 (file)
index 0000000..6ae1eb1
--- /dev/null
@@ -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 (file)
index 0000000..472b1c0
--- /dev/null
@@ -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))