[meta-virtualization] [meta-cloud-services][fido-kilo][PATCH 31/40] python-oslo.policy: add new recipe

Josep Puigdemont josep.puigdemont at enea.com
Wed Dec 2 08:32:37 PST 2015


A backport of commit ee0bfb3210d4fecd7d16e9b1c730b13dfd600914

Openstack Kilo requires oslo.policy>=0.3.1,<0.4.0, and that
commit introduced 0.4.0, so we had to downgrade the version.

Signed-off-by: Josep Puigdemont <josep.puigdemont at enea.com>
---
 .../python/python-oslo.policy_0.3.2.bb             | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.policy_0.3.2.bb

diff --git a/meta-openstack/recipes-devtools/python/python-oslo.policy_0.3.2.bb b/meta-openstack/recipes-devtools/python/python-oslo.policy_0.3.2.bb
new file mode 100644
index 0000000..18f2ed9
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-oslo.policy_0.3.2.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Oslo Policy library"
+DESCRIPTION = "The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services."
+HOMEPAGE = "https://pypi.python.org/pypi/oslo.policy"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+
+SRCNAME = "oslo.policy"
+SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "1612940bb7a6db558563fd5450b75f7e"
+SRC_URI[sha256sum] = "e69a5c559f95bcbf91eb0ea9f16aa65f0fe5fccc7fa03693d4cc991b76e969a6"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+        python-pbr \
+"
+
+RDEPENDS_${PN} += " \
+        python-oslo.config \
+        python-oslo.i18n \
+        python-oslo.serialization \
+        python-pbr \
+"
-- 
2.1.0



More information about the meta-virtualization mailing list