[meta-virtualization] [m-c-s][PATCH 2/3] glance: add new dependencies

Mark Asselstine mark.asselstine at windriver.com
Wed Aug 12 12:47:58 PDT 2015


Attempting to run glance-api several python traces are
encountered. The following packages were identified in the traces and
as such are added as dependencies which allows glance-api to launch
successfully.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 .../recipes-devtools/python/python-glance_git.bb   |  5 +++-
 .../python/python-oslo.vmware_1.19.0.bb            | 24 +++++++++++++++++++
 .../python/python-semantic-version_2.4.2.bb        | 27 ++++++++++++++++++++++
 3 files changed, 55 insertions(+), 1 deletion(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.vmware_1.19.0.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb

diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb
index ea189ef..79235af 100644
--- a/meta-openstack/recipes-devtools/python/python-glance_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb
@@ -197,7 +197,10 @@ RDEPENDS_${PN} += "python-greenlet \
 	python-oslo.i18n \
 	python-osprofiler \
 	python-retrying \
-        python-glancestore \
+	python-glancestore \
+	python-enum34 \
+	python-semantic-version \
+	python-oslo.vmware \
 	"
 
 RDEPENDS_${SRCNAME} = "${PN} \
diff --git a/meta-openstack/recipes-devtools/python/python-oslo.vmware_1.19.0.bb b/meta-openstack/recipes-devtools/python/python-oslo.vmware_1.19.0.bb
new file mode 100644
index 0000000..ace65ba
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-oslo.vmware_1.19.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "oslo.vmware library"
+HOMEPAGE = "http://launchpad.net/oslo"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+
+SRCNAME = "oslo.vmware"
+SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "3115d6922ed7119cf3737af708a7984d"
+SRC_URI[sha256sum] = "d342420fa272bd80ac9c39e876ee1a518b975d21cff1c179a91da48305c9b3b4"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+        python-pbr \
+        "
+
+RDEPENDS_${PN} += " \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb b/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb
new file mode 100644
index 0000000..746d646
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A library which provides a few tools to handle SemVer in Python."
+HOMEPAGE = "http://pypi.python.org/pypi/semantic_version"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a7dcaa0740d59f8f13ef05a3d0ed7313"
+
+SRCNAME = "semantic_version"
+SRC_URI = "http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "fd7d5ade76e78d8540b9a4044496a57c"
+SRC_URI[sha256sum] = "7e8b7fa74a3bc9b6e90b15b83b9bc2377c78eaeae3447516425f475d5d6932d2"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+#export BUILD_SYS
+#export HOST_SYS
+
+inherit setuptools
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+        "
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        "
-- 
2.1.4



More information about the meta-virtualization mailing list