aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-12-08 18:33:15 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-12-11 12:11:28 -0500
commit5e4c6f860802e1b392305fe4d6bbf94170aba0e2 (patch)
treea5c154b2a7504404c204e159397fb763b1698165
parent9354507f0b8190ddb5091f786ab49c4747f5f960 (diff)
downloadmeta-cloud-services-5e4c6f860802e1b392305fe4d6bbf94170aba0e2.tar.gz
meta-cloud-services-5e4c6f860802e1b392305fe4d6bbf94170aba0e2.tar.bz2
meta-cloud-services-5e4c6f860802e1b392305fe4d6bbf94170aba0e2.zip
python-nova: add missing dependency on sqlparse
Attempting to use nova-manage, for example to perform 'service list', will result in a python trace indicating that the sqlparse module was not found. Add the python-sqlparse recipe and include it in the RDEPENDS list for nova. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Conflicts: meta-openstack/recipes-devtools/python/python-nova_git.bb Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_git.bb1
-rw-r--r--meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb27
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 79fad921..8bfcbeaa 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -323,6 +323,7 @@ RDEPENDS_${PN} = " libvirt \
python-rfc3986 \
python-oslo.i18n \
python-psutil \
+ python-sqlparse \
"
RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \
diff --git a/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb b/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb
new file mode 100644
index 00000000..8ea99d71
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Non-validating SQL parser module"
+HOMEPAGE = "http://pypi.python.org/pypi/sqlparse"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=13ec2f893997ca1f516b55496e019a81"
+
+SRCNAME = "sqlparse"
+SRC_URI = "http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "370962a307ebaaa70a28b6b0ccb53980"
+SRC_URI[sha256sum] = "678c6c36ca4b01405177da8b84eecf92ec92c9f6c762396c965bb5d305f20f81"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+export BUILD_SYS
+export HOST_SYS
+
+inherit setuptools
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+ "
+
+# RDEPENDS_default:
+RDEPENDS_${PN} += " \
+ "