summaryrefslogtreecommitdiffstats
path: root/package/python-jsonschema
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-01-17 11:17:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-24 22:55:41 +1300
commitb949eb5448ea5782911ad2c2e6d8467862c3bc3d (patch)
treeeaba75b4ac5b7e68e251650a25f19d2d0296a8bb /package/python-jsonschema
parent38a7c36c4d286610c1caa8df5e38e146f5db8051 (diff)
downloadbuildroot-b949eb5448ea5782911ad2c2e6d8467862c3bc3d.tar.gz
buildroot-b949eb5448ea5782911ad2c2e6d8467862c3bc3d.zip
python-jsonschema: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-jsonschema')
-rw-r--r--package/python-jsonschema/Config.in6
-rw-r--r--package/python-jsonschema/python-jsonschema.hash3
-rw-r--r--package/python-jsonschema/python-jsonschema.mk15
3 files changed, 24 insertions, 0 deletions
diff --git a/package/python-jsonschema/Config.in b/package/python-jsonschema/Config.in
new file mode 100644
index 0000000000..7002653722
--- /dev/null
+++ b/package/python-jsonschema/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_JSONSCHEMA
+ bool "python-jsonschema"
+ help
+ An implementation of JSON Schema validation for Python.
+
+ http://github.com/Julian/jsonschema
diff --git a/package/python-jsonschema/python-jsonschema.hash b/package/python-jsonschema/python-jsonschema.hash
new file mode 100644
index 0000000000..fc13630d66
--- /dev/null
+++ b/package/python-jsonschema/python-jsonschema.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/jsonschema/json, sha256 locally computed
+md5 374e848fdb69a3ce8b7e778b47c30640 jsonschema-2.5.1.tar.gz
+sha256 36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41 jsonschema-2.5.1.tar.gz
diff --git a/package/python-jsonschema/python-jsonschema.mk b/package/python-jsonschema/python-jsonschema.mk
new file mode 100644
index 0000000000..0fb2be869f
--- /dev/null
+++ b/package/python-jsonschema/python-jsonschema.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-jsonschema
+#
+################################################################################
+
+PYTHON_JSONSCHEMA_VERSION = 2.5.1
+PYTHON_JSONSCHEMA_SOURCE = jsonschema-$(PYTHON_JSONSCHEMA_VERSION).tar.gz
+PYTHON_JSONSCHEMA_SITE = https://pypi.python.org/packages/58/0d/c816f5ea5adaf1293a1d81d32e4cdfdaf8496973aa5049786d7fdb14e7e7
+PYTHON_JSONSCHEMA_SETUP_TYPE = setuptools
+PYTHON_JSONSCHEMA_LICENSE = MIT
+PYTHON_JSONSCHEMA_LICENSE_FILES = COPYING json/LICENSE
+PYTHON_JSONSCHEMA_DEPENDENCIES = host-python-vcversioner
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud