[meta-virtualization] [meta-cloud-services][fido-kilo][PATCH 03/42] python-nova: add missing dependency on sqlparse
Josep Puigdemont
josep.puigdemont at enea.com
Tue Dec 8 09:33:15 PST 2015
From: Mark Asselstine <mark.asselstine at windriver.com>
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 at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Signed-off-by: Josep Puigdemont <josep.puigdemont at enea.com>
Conflicts:
meta-openstack/recipes-devtools/python/python-nova_git.bb
---
.../recipes-devtools/python/python-nova_git.bb | 1 +
.../python/python-sqlparse_0.1.16.bb | 27 ++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 meta-openstack/recipes-devtools/python/python-sqlparse_0.1.16.bb
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 79fad92..8bfcbea 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 0000000..8ea99d7
--- /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} += " \
+ "
--
2.5.0
More information about the meta-virtualization
mailing list