[Buildroot] [PATCH v3,2/3] python-jsonschema: new package
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sun Dec 18 22:48:19 UTC 2016
Signed-off-by: Fabrice Fontaine <fabrice.fontaine at orange.com>
---
Changes v2 -> v3 (after review of Thomas Petazzoni):
- Remove Config.in from python-vcversioner as this is not needed for a
host-package
- Remove target variant of python-jsonschema (including Config.in) as
this variant is not needed by soletta
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Add python-vcversioner in host-package version as
host-python-jsonschema depends on it
- Add python-jsonschema in host-package version
- Retrieve first soletta patch from upstream
- Add a soletta patch to remove multiple targets in the same rule as
this is not supported by old versions of make
package/python-jsonschema/python-jsonschema.hash | 3 +++
package/python-jsonschema/python-jsonschema.mk | 16 ++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 package/python-jsonschema/python-jsonschema.hash
create mode 100644 package/python-jsonschema/python-jsonschema.mk
diff --git a/package/python-jsonschema/python-jsonschema.hash b/package/python-jsonschema/python-jsonschema.hash
new file mode 100644
index 0000000..fc13630
--- /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 0000000..647385e
--- /dev/null
+++ b/package/python-jsonschema/python-jsonschema.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# 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
+HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = host-python-vcversioner
+
+$(eval $(host-python-package))
--
2.5.0
More information about the buildroot
mailing list