aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-11-13 14:32:24 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-11-14 12:38:27 -0500
commit8ba6f1dbbcbbde2f6b64e11ec16833cc71be6148 (patch)
tree3375e762d0ca0d63d288f79fc8c06ae1ad22e7f6 /meta-openstack
parent40116bf038970b47f386a01714e499fc54a155b6 (diff)
downloadmeta-cloud-services-8ba6f1dbbcbbde2f6b64e11ec16833cc71be6148.tar.gz
meta-cloud-services-8ba6f1dbbcbbde2f6b64e11ec16833cc71be6148.tar.bz2
meta-cloud-services-8ba6f1dbbcbbde2f6b64e11ec16833cc71be6148.zip
python-warlock: add v1.2.0 required by python-glanceclient
Keep the newer v1.3.0 around but we need to ensure this version is in use so set a PREF version. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/conf/layer.conf1
-rw-r--r--meta-openstack/recipes-devtools/python/python-warlock_1.2.0.bb21
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-openstack/conf/layer.conf b/meta-openstack/conf/layer.conf
index 6859085..f2aa64e 100644
--- a/meta-openstack/conf/layer.conf
+++ b/meta-openstack/conf/layer.conf
@@ -20,4 +20,5 @@ PREFERRED_VERSION_python-netaddr = "0.7.19"
PREFERRED_VERSION_python-sqlalchemy = "1.0.16"
PREFERRED_VERSION_python-requests = "2.13.0"
PREFERRED_VERSION_python-eventlet = "0.20.0"
+PREFERRED_VERSION_python-warlock = "1.2.0"
LICENSE_PATH += "${LAYERDIR}/licenses"
diff --git a/meta-openstack/recipes-devtools/python/python-warlock_1.2.0.bb b/meta-openstack/recipes-devtools/python/python-warlock_1.2.0.bb
new file mode 100644
index 0000000..0839983
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-warlock_1.2.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Build self-validating python objects using JSON schemas"
+HOMEPAGE = "http://github.com/bcwaldon/warlock"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS += " \
+ python-jsonschema \
+ python-jsonpatch \
+ "
+
+SRC_URI[md5sum] = "8389225c589ada11a9094abc5d9053df"
+SRC_URI[sha256sum] = "7c0d17891e14cf77e13a598edecc9f4682a5bc8a219dc84c139c5ba02789ef5a"
+
+inherit setuptools pypi
+
+RDEPENDS_${PN} += " \
+ python-jsonschema \
+ python-jsonpatch \
+ python-six \
+ "