aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-06-20 09:30:53 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-23 15:55:46 -0400
commit81665f893dfd6af1a7b684713cac693d41c240c1 (patch)
tree29863484eea9328ee9b1f312c266fc70f1dd7933
parent086c7e200f44ddd08020f2e6a6af70ef075d11c1 (diff)
downloadmeta-cloud-services-81665f893dfd6af1a7b684713cac693d41c240c1.zip
meta-cloud-services-81665f893dfd6af1a7b684713cac693d41c240c1.tar.gz
meta-cloud-services-81665f893dfd6af1a7b684713cac693d41c240c1.tar.bz2
add python-pysnmp 4.2.5 bb file
Ceilometer ceilometer/hardware/inspector/snmp.py and some some ceilometer builtin tests require python pysnmp package. Signed-off-by: Vu Tran <vu.tran@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-ceilometer_git.bb1
-rw-r--r--meta-openstack/recipes-devtools/python/python-pysnmp_4.2.5.bb22
2 files changed, 23 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
index d76d0b2..c3354c0 100644
--- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb
@@ -196,6 +196,7 @@ RDEPENDS_${PN} += " \
python-pbr \
python-croniter \
python-ipaddr \
+ python-pysnmp \
"
RDEPENDS_${SRCNAME}-controller = "${PN} ${SRCNAME}-common ${SRCNAME}-alarm-notifier ${SRCNAME}-alarm-evaluator ${SRCNAME}-agent-notification \
diff --git a/meta-openstack/recipes-devtools/python/python-pysnmp_4.2.5.bb b/meta-openstack/recipes-devtools/python/python-pysnmp_4.2.5.bb
new file mode 100644
index 0000000..c02ec6c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-pysnmp_4.2.5.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "A pure-Python SNMPv1/v2c/v3 library"
+HOMEPAGE = "https://pypi.python.org/pypi/pysnmp"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ae098273b2cf8b4af164ac20e32bddf7"
+
+PR = "r0"
+SRCNAME = "pysnmp"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "1f75d3e392a050e84348904fc1be3212"
+SRC_URI[sha256sum] = "c46e65d99a604f690b3d5800e2f6e26e1ed9a3c7f7e17e7b4b4d897150f7077f"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} += "python-pycrypto \
+ python-pyasn1 \
+"