aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-12-08 18:33:40 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-12-11 12:11:29 -0500
commite109801d4d8471e1e07c6eeac63bc1acddb914ca (patch)
tree5251498fe534b99f38b7c9e63ac1c3c342bc6dec
parent803612dc629adc977e89a6502b6b052b60928f60 (diff)
downloadmeta-cloud-services-e109801d4d8471e1e07c6eeac63bc1acddb914ca.tar.gz
meta-cloud-services-e109801d4d8471e1e07c6eeac63bc1acddb914ca.tar.bz2
meta-cloud-services-e109801d4d8471e1e07c6eeac63bc1acddb914ca.zip
keystone: add missing functools32 module
Keystone fails to install due to functools32 missing. Add a new recipe for functools32 and include the dependency in keystone. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb29
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone_git.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb b/meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb
new file mode 100644
index 00000000..937e9339
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Python higher-order functions and operations on callable objects"
+HOMEPAGE = "https://pypi.python.org/pypi/functools32"
+SECTION = "devel/python"
+LICENSE = "PSFv2"
+
+SRCNAME = "functools32"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10"
+SRC_URI = "http://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2"
+SRC_URI[sha256sum] = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+ --prefix=${prefix} \
+ --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+ --install-data=${datadir}"
+
+DEPENDS += " \
+ python-pbr \
+ "
+
+RDEPENDS_${PN} += "python-testtools \
+ python-pbr \
+ "
+
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
index ed0d7b8a..21318d65 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
@@ -287,6 +287,7 @@ RDEPENDS_${PN} += " \
python-fixtures \
python-oslotest \
python-cryptography \
+ python-functools32 \
"
RDEPENDS_${SRCNAME}-tests += " bash"